Skip to content

Conversation

@mrocklin
Copy link
Member

Fixes #4625

  • Closes #xxxx
  • Tests added / passed
  • Passes black distributed / flake8 distributed


new = []
memoryviews = map(memoryview, buffers)
for writeable, mv in zip(header["writeable"], memoryviews):
Copy link
Member

@jakirkham jakirkham Mar 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be an issue if header["writeable"] is (), which came up in another issue ( #4645 (comment) )

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is focused on removing the list mutation. I recommend that we handle the not header["writeable"] issue separately if that's ok.

@bnaul
Copy link
Contributor

bnaul commented Mar 30, 2021

can confirm this fixes the specific regression affecting us (no idea about the broader impact though)

@mrocklin
Copy link
Member Author

Merging on passed tests.

@jrbourbeau can we schedule a bugfix release for this Friday at the latest? I'll resolve the writeable thing too.

@jakirkham
Copy link
Member

Yeah I was trying to prod CI last night, but I guess it still wasn't passing unfortunately (not that I think the failure is related)

@jrbourbeau
Copy link
Member

See dask/community#144 for the bugfix release

@mrocklin mrocklin merged commit faf0a70 into dask:main Mar 31, 2021
@mrocklin mrocklin deleted the avoid-mutation-pickle-loads branch March 31, 2021 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LocalCluster crashed with: distributed.core - ERROR - 'tuple' object does not support item assignment

4 participants