commit | fc73c54dae46e6c47dcd4a535f7bc68a46b8e398 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Tue Nov 28 16:15:43 2017 -0800 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed Nov 29 02:15:43 2017 +0200 |
tree | 6831749d74ae6aaf177f34ff14cbef253abe8dc9 | |
parent | 180372c08a25332429f6175d6aa036c1ec643ca3 [diff] |
bpo-32110: codecs.StreamReader.read(n) now returns not more than n (GH-4499) (#4623) characters/bytes for non-negative n. This makes it compatible with read() methods of other file-like objects. (cherry picked from commit 219c2de5ad0fdac825298bed1bb251f16956c04a)