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 nadeem.vawda
Recipients alexandre.vassalotti, amaury.forgeotdarc, belopolsky, jorgsk, nadeem.vawda, nyevik, pitrou, santoso.wijaya
Date 2011-08-23.18:58:46
SpamBayes Score 1.3556495e-06
Marked as misclassified No
Message-id <>
> With data as (b"a" * _4G) the result is as expected:
>     Traceback (most recent call last):
>       File "", line 5, in <module>
>         out = dumps(data)
>     OverflowError: cannot serialize a string larger than 4GB
> But with (b"a" * _2G), I get this:
>     Traceback (most recent call last):
>       File "", line 7, in <module>
>         result = loads(out)
>     _pickle.UnpicklingError: BINUNICODE pickle has negative byte count

Correction: these should be ("a" * _4G) and ("a" * _2G).
Date User Action Args
2011-08-23 18:58:47nadeem.vawdasetrecipients: + nadeem.vawda, amaury.forgeotdarc, belopolsky, pitrou, alexandre.vassalotti, santoso.wijaya, nyevik, jorgsk
2011-08-23 18:58:47nadeem.vawdasetmessageid: <>
2011-08-23 18:58:46nadeem.vawdalinkissue11564 messages
2011-08-23 18:58:46nadeem.vawdacreate