Message138070
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 :-) |
|
Date |
User |
Action |
Args |
2011-06-10 09:59:39 | vinay.sajip | set | recipients:
+ vinay.sajip, georg.brandl, amaury.forgeotdarc, benjamin.peterson, Arfrever |
2011-06-10 09:59:37 | vinay.sajip | set | messageid: <1307699977.6.0.974850820019.issue12291@psf.upfronthosting.co.za> |
2011-06-10 09:59:37 | vinay.sajip | link | issue12291 messages |
2011-06-10 09:59:36 | vinay.sajip | create | |
|