Message 246987 - Python tracker (original) (raw)

Message246987

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:20 ronaldoussoren set recipients: + ronaldoussoren, vstinner, lebigot, ned.deily
2015-07-20 13:05:20 ronaldoussoren set messageid: 1437397520.67.0.873353429884.issue24658@psf.upfronthosting.co.za
2015-07-20 13:05:20 ronaldoussoren link issue24658 messages
2015-07-20 13:05:20 ronaldoussoren create