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 ronaldoussoren
Recipients lebigot, ned.deily, ronaldoussoren, vstinner
Date 2015-07-20.13:05:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1437397520.67.0.873353429884.issue24658@psf.upfronthosting.co.za>
In-reply-to
Content
The patch limits os.write to writing at most INT_MAX bytes on OSX. Buffered I/O using open("/some/file", "wb") should still write all data (at least according to the limited tests I've done so far).

The same limitation is already present on Windows.

And as I wrote before: os.write may accoding to the manpage for write(2) already write less bytes than requested.

I'm -1 on using an explicit exception or printing a warning about this.
History
Date User Action Args
2015-07-20 13:05:20ronaldoussorensetrecipients: + ronaldoussoren, vstinner, lebigot, ned.deily
2015-07-20 13:05:20ronaldoussorensetmessageid: <1437397520.67.0.873353429884.issue24658@psf.upfronthosting.co.za>
2015-07-20 13:05:20ronaldoussorenlinkissue24658 messages
2015-07-20 13:05:20ronaldoussorencreate