Message142857
| 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 |
<1314125927.39.0.314009835487.issue11564@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> With data as (b"a" * _4G) the result is as expected:
>
> Traceback (most recent call last):
> File "pickle-bigmem-test.py", 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 "pickle-bigmem-test.py", line 7, in <module>
> result = loads(out)
> _pickle.UnpicklingError: BINUNICODE pickle has negative byte count
Correction: these should be ("a" * _4G) and ("a" * _2G). |
|