Message141704
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. |
|
Date |
User |
Action |
Args |
2011-08-06 03:26:03 | axwalk | set | recipients:
+ axwalk, vinay.sajip, pitrou, alexandre.vassalotti |
2011-08-06 03:26:03 | axwalk | set | messageid: <1312601163.75.0.185160356006.issue12687@psf.upfronthosting.co.za> |
2011-08-06 03:26:03 | axwalk | link | issue12687 messages |
2011-08-06 03:26:03 | axwalk | create | |
|