Ronald Oussoren added the comment:
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.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24658>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com