Author serhiy.storchaka
Recipients alexandre.vassalotti, loewis, pitrou, serhiy.storchaka
Date 2012-11-17.15:26:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1353166017.15.0.508332977056.issue12848@psf.upfronthosting.co.za>
In-reply-to
Content
The issue is not only in difference between Python and C implementations, but also between 32-bit and 64-bit.

pickle.py on 32-bit accepts data up to 2G.
pickle.py on 64-bit accepts data up to 2G.
_pickle.c on 32-bit accepts data up to 2G.
_pickle.c on 64-bit accepts data up to 4G.

3:1 for 2G.  Current _pickle.c behavior is just not portable.

Of course, I can rewrite the patch, expanding the limit to 4G on 64-bit if you insist.  But I doubt that this is the best variant.
History
Date User Action Args
2012-11-17 15:26:57serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, pitrou, alexandre.vassalotti
2012-11-17 15:26:57serhiy.storchakasetmessageid: <1353166017.15.0.508332977056.issue12848@psf.upfronthosting.co.za>
2012-11-17 15:26:57serhiy.storchakalinkissue12848 messages
2012-11-17 15:26:57serhiy.storchakacreate