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 axwalk
Recipients alexandre.vassalotti, axwalk, pitrou, vinay.sajip
Date 2011-08-06.03:26:02
SpamBayes Score 2.0091918e-05
Marked as misclassified No
Message-id <1312601163.75.0.185160356006.issue12687@psf.upfronthosting.co.za>
In-reply-to
Content
In _pickle.c, the load_put function calls _Unpickler_Readline, which may prefetch data and place it after the line read in with "readline". load_put then calls PyLong_FromString, which doesn't like the trailing data after the '\n'.

Maybe just use PyOS_strtol instead? Alternatively, replace the newline with a null byte.
History
Date User Action Args
2011-08-06 03:26:03axwalksetrecipients: + axwalk, vinay.sajip, pitrou, alexandre.vassalotti
2011-08-06 03:26:03axwalksetmessageid: <1312601163.75.0.185160356006.issue12687@psf.upfronthosting.co.za>
2011-08-06 03:26:03axwalklinkissue12687 messages
2011-08-06 03:26:03axwalkcreate