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 lebigot
Recipients lebigot, ned.deily, ronaldoussoren, vstinner
Date 2015-07-20.12:57:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1437397064.47.0.188369343764.issue24658@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you for looking into this, Ronald.

What does your patch do, exactly? does it only limit the returned byte count, or does it really limit the size of the data written by truncating it?

In any case, it would be very useful to have a warning from the Python interpreter. If the data is truncated, I would even prefer an explicit exception (e.g. "data too big for this platform (>= 2 GB)"), along with an explicit mention of it in the documentation. What do you think?
History
Date User Action Args
2015-07-20 12:57:44lebigotsetrecipients: + lebigot, ronaldoussoren, vstinner, ned.deily
2015-07-20 12:57:44lebigotsetmessageid: <1437397064.47.0.188369343764.issue24658@psf.upfronthosting.co.za>
2015-07-20 12:57:44lebigotlinkissue24658 messages
2015-07-20 12:57:44lebigotcreate