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 martin.panter
Recipients jstasiak, martin.panter, pitrou, vstinner
Date 2016-02-05.12:05:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454673950.71.0.473737065174.issue26292@psf.upfronthosting.co.za>
In-reply-to
Content
Is deprecating RawIOBase.writelines() an option, and only recommending BufferedIOBase.writelines() and TextIOBase.writelines()?

Otherwise, I think it would make most sense to keep retrying until all the data is written. This mirrors how I understand readline() and readall() work (keeps reading until it gets as much as necessary).

For non-blocking mode, readline() does not support that (see Issue 13858). It does not make much sense to me to have writelines() support non-blocking mode either.
History
Date User Action Args
2016-02-05 12:05:50martin.pantersetrecipients: + martin.panter, pitrou, vstinner, jstasiak
2016-02-05 12:05:50martin.pantersetmessageid: <1454673950.71.0.473737065174.issue26292@psf.upfronthosting.co.za>
2016-02-05 12:05:50martin.panterlinkissue26292 messages
2016-02-05 12:05:50martin.pantercreate