This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kayhayen
Recipients kayhayen, pitrou
Date 2012-01-08.18:46:58
SpamBayes Score 0.00054510316
Marked as misclassified No
Message-id <1326048419.41.0.519131718607.issue13735@psf.upfronthosting.co.za>
In-reply-to
Content
Sending my attached file "stream.py" through "2to3.py" it shows that CPython 3.2 doesn't exihibit the issue for either protocol, which may be because it's now "unicode" key, but as it's the only value I tried, I can't tell.

Hope this helps.

Regarding the "marshal", I presume, that somehow the dictionary when created via "marshal" (or compile, if no ".pyc" is involved?) first time is somehow less efficient to determine/stream that the one "cPickle" created.

My assumption is that somehow, when creating the dictionary from cPickle, it is different (has to be), and that's interesting. And of course the easier to stream dictionary may be the nicer one at runtime as well. But that is just my speculation.

Yours,
Kay
History
Date User Action Args
2012-01-08 18:46:59kayhayensetrecipients: + kayhayen, pitrou
2012-01-08 18:46:59kayhayensetmessageid: <1326048419.41.0.519131718607.issue13735@psf.upfronthosting.co.za>
2012-01-08 18:46:58kayhayenlinkissue13735 messages
2012-01-08 18:46:58kayhayencreate