[issue39745] BlockingIOError.characters_written represents number of bytes not characters

2020-02-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Antoine, Although the text may have preceded your OSError reorganization, you were the last to touch this entry. Is is correct, or does it need change? Revision: f55011f8b63d3b046c1ec580312bc52ca47d721b Author: Antoine Pitrou Date: 10/12/2011 12:57:23 PM

[issue39745] BlockingIOError.characters_written represents number of bytes not characters

2020-02-24 Thread Masahiro Sakai
Change by Masahiro Sakai : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39745] BlockingIOError.characters_written represents number of bytes not characters

2020-02-24 Thread Masahiro Sakai
New submission from Masahiro Sakai : According to https://docs.python.org/3/library/exceptions.html#BlockingIOError , 'characters_written' is "An integer containing the number of characters written to the stream before it blocked". But I observed that it represents number of *bytes* not