Skip to content

fixes for binary state#231

Merged
jdfreder merged 1 commit into
jupyter-widgets:masterfrom
minrk:binary-state
Nov 6, 2015
Merged

fixes for binary state#231
jdfreder merged 1 commit into
jupyter-widgets:masterfrom
minrk:binary-state

Conversation

@minrk

@minrk minrk commented Nov 6, 2015

Copy link
Copy Markdown
Contributor

There appears to be a test for this, but I cannot see how it would ever pass, since sending binary state can never work with master due to mutating the state dict while iterating through it.

- avoid changing dict in-place when pulling out buffers
- workaround inability to send buffers in open message on Comm init
@minrk minrk force-pushed the binary-state branch 2 times, most recently from 5d08616 to dba908b Compare November 6, 2015 12:21
@minrk

minrk commented Nov 6, 2015

Copy link
Copy Markdown
Contributor Author

I'll make a separate PR that always serializes Bytes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Eventually we will need to add support for binary messages in open on init, because sending state on comm open fixed a state race condition (of course, I failed to link to any issues in the original PR, sigh #84)

@jdfreder jdfreder added this to the 5.0 milestone Nov 6, 2015
jdfreder added a commit that referenced this pull request Nov 6, 2015
@jdfreder jdfreder merged commit 62f708f into jupyter-widgets:master Nov 6, 2015
@jdfreder

jdfreder commented Nov 6, 2015

Copy link
Copy Markdown
Contributor

Thanks!

@minrk minrk deleted the binary-state branch November 9, 2015 09:16
@github-actions github-actions Bot added the resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Feb 27, 2021
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants