Skip to content

Conversation

@jasongrout
Copy link
Member

This reverts part of 91c61ac (from #126), which introduced a logic bug which broke handling comm messages, widgets, etc. The logic in the refactoring was complicated enough that the invalid-checking function returned the opposite of what it should have returned.

Since the original code in each function was only about 10 lines, I think it’s more complicated to introduce three new undocumented functions instead of just repeating similar logic twice.

This reverts part of 91c61ac (from ipython#126), which introduced a logic bug which broke handling comm messages, widgets, etc. The logic in the refactoring was complicated enough that the invalid-checking function returned the opposite of what it should have returned.

Since the original code in each function was only about 10 lines, I think it’s more complicated to introduce three new undocumented functions instead of just repeating similar logic twice.

Fixes ipython#137.
@minrk minrk merged commit 8e4d49f into ipython:master May 31, 2016
@minrk minrk added this to the 4.4 milestone May 31, 2016
@minrk
Copy link
Member

minrk commented May 31, 2016

Thanks, @jasongrout!

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.

2 participants