[issue21910] [doc] File protocol should document if writelines must handle generators sensibly

2022-03-02 Thread miss-islington
miss-islington added the comment: New changeset cf8aff6319794807aa578215710e6caa4479516f by Miss Islington (bot) in branch '3.9': bpo-21910: Clarify docs for codecs writelines method (GH-31245) https://github.com/python/cpython/commit/cf8aff6319794807aa578215710e6caa4479516f --

[issue21910] [doc] File protocol should document if writelines must handle generators sensibly

2022-03-02 Thread miss-islington
miss-islington added the comment: New changeset 60b561c246da2073672a016340457e4534dfdf5b by Miss Islington (bot) in branch '3.10': bpo-21910: Clarify docs for codecs writelines method (GH-31245) https://github.com/python/cpython/commit/60b561c246da2073672a016340457e4534dfdf5b --

[issue21910] [doc] File protocol should document if writelines must handle generators sensibly

2022-03-02 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue21910] [doc] File protocol should document if writelines must handle generators sensibly

2022-03-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 13.0 -> 14.0 pull_requests: +29767 pull_request: https://github.com/python/cpython/pull/31647 ___ Python tracker

[issue21910] [doc] File protocol should document if writelines must handle generators sensibly

2022-03-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +29768 pull_request: https://github.com/python/cpython/pull/31648 ___ Python tracker ___

[issue21910] [doc] File protocol should document if writelines must handle generators sensibly

2022-03-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset a8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8 by slateny in branch 'main': bpo-21910: Clarify docs for codecs writelines method (GH-31245) https://github.com/python/cpython/commit/a8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8 -- nosy: +Jelle

[issue21910] [doc] File protocol should document if writelines must handle generators sensibly

2022-02-09 Thread Stanley
Change by Stanley : -- keywords: +patch pull_requests: +29414 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31245 ___ Python tracker

[issue21910] [doc] File protocol should document if writelines must handle generators sensibly

2021-12-27 Thread Stanley
Stanley added the comment: I'd be interested in taking a look at this - would these changes clarify things? Current (https://docs.python.org/3/library/codecs.html#codecs.StreamWriter): Writes the concatenated list of strings to the stream (possibly by reusing the write() method). The

[issue21910] [doc] File protocol should document if writelines must handle generators sensibly

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: File protocol should document if writelines must handle generators sensibly -> [doc] File protocol should document if writelines must handle generators sensibly versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4,