[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-13 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Andrei! ✨ 🍰 ✨ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-13 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 ___ Python tracker ___ _

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a3d20bfee38c71df88d69064d47fe98a1d59e624 by Miss Islington (bot) in branch '3.9': bpo-43126: Expand docs on io.IOBase.readlines() method (GH-27061) (#27114) https://github.com/python/cpython/commit/a3d20bfee38c71df88d69064d47fe98a1d59e624 ---

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9b369c952cbefb064dda6cb781e66cc1b793fffa by Miss Islington (bot) in branch '3.10': bpo-43126: Expand docs on io.IOBase.readlines() method (GH-27061) (GH-27113) https://github.com/python/cpython/commit/9b369c952cbefb064dda6cb781e66cc1b793fffa

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 3b5b99da4b256a31933112f4a2385386149c19e1 by andrei kulakov in branch 'main': bpo-43126: Expand docs on io.IOBase.readlines() method (#27061) https://github.com/python/cpython/commit/3b5b99da4b256a31933112f4a2385386149c19e1 -- nosy: +lukas

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +25661 pull_request: https://github.com/python/cpython/pull/27114 ___ Python tracker ___ __

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +25660 pull_request: https://github.com/python/cpython/pull/27113 ___ Python tracker _

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-07 Thread Andrei Kulakov
Andrei Kulakov added the comment: Thanks for the report! I agree docs could be improved. Note this method lives in `IOBase` so this behavior also applies to the file pointer returned from `open()` builtin. I've put up the PR here: https://github.com/python/cpython/pull/27061/files -

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-07 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch nosy: +andrei.avk nosy_count: 2.0 -> 3.0 pull_requests: +25615 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27061 ___ Python tracker

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-02-04 Thread Martin Larralde
New submission from Martin Larralde : The documentation for `IOBase.readlines` states that the `hint` optional argument should be used like so (https://docs.python.org/3/library/io.html#io.IOBase.readlines): > Read and return a list of lines from the stream. hint can be specified to > contro