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 vinay.sajip
Recipients Arfrever, amaury.forgeotdarc, benjamin.peterson, georg.brandl, vinay.sajip
Date 2011-06-10.09:59:34
SpamBayes Score 4.7444162e-05
Marked as misclassified No
Message-id <1307699977.6.0.974850820019.issue12291@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is an improved patch:

1. It's against the 3.2 branch, rather than default.
2. It has an added multiple load test in test_marshal.py.
3. There's more error checking for an EOF condition.
4. I've removed tab chars and used /* C89 comments */.

Of course it's not as fast as the 2.x version, since that had a limitation on only being able to load from file objects, and a fast path for PyFile using stdio calls directly. Hard to compete with that!

Suggestions for improvements gratefully received :-)
History
Date User Action Args
2011-06-10 09:59:39vinay.sajipsetrecipients: + vinay.sajip, georg.brandl, amaury.forgeotdarc, benjamin.peterson, Arfrever
2011-06-10 09:59:37vinay.sajipsetmessageid: <1307699977.6.0.974850820019.issue12291@psf.upfronthosting.co.za>
2011-06-10 09:59:37vinay.sajiplinkissue12291 messages
2011-06-10 09:59:36vinay.sajipcreate