New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sessionwork #579
Sessionwork #579
Conversation
One thing you might do, since now you are doing many nested dict requests that weren't there before, is add a few |
OK, I have done this in all of the cases where it helps. On Thu, Jul 14, 2011 at 1:54 PM, minrk
Brian E. Granger |
* I have gone through and looked for instances of ['msg_type'] and ['msg_id'] and tried to make sure that I added ['header'] so pull the values out of the header. * But there are many cases where I can't tell if the dict is the full message or the header already. This is especially true of the msg_id in the parallel db parts of the code. * Tests pass, but this is scary.
This branch should not be merged until after the 0.11 release. |
@minrk: with 0.11 out, can you review this to make sure it is ready to go into master. The htmlnotebook branch is based on this and I would to have this merged so I can follow master again. |
It hasn't changed since I last looked it over, and I just read it over again, so I think it should be fine. Merging this should probably trigger creating the 0.11 maintenance branch. |
This refactors and adds tests to
IPython.zmq.session.Session
. The tests can be run withnosetests IPython.zmq.tests.test_session
.unpack_message
method tounserialize
.msg_id
andmsg_type
from the top-level message dict (put into headers) throughout the code base.Session
.