Fix bpo-30526: make TextIOWrapper.{line_buffering, write_through} writable #1887
Conversation
This simplifies the reconfiguration of standard streams as it can now be done in-place.
|
@pitrou, thanks for your PR! By analyzing the history of the files in this pull request, we identified @benjaminp, @serhiy-storchaka and @birkenfeld to be potential reviewers. |
|
The AppVeyor failure is unrelated. |
|
so what happens when I set |
| @@ -908,6 +908,16 @@ Text I/O | |||
|
|
|||
| Whether line buffering is enabled. | |||
benjaminp
Jun 1, 2017
Contributor
should also say that writing to it flushes the stream
should also say that writing to it flushes the stream
| .. attribute:: write_through | ||
|
|
||
| Whether writes are passed immediately to the underlying binary | ||
| buffer. This argument is writable. |
benjaminp
Jun 1, 2017
Contributor
ditto
ditto
|
#1922 is now preferred. |
Same as before: |
|
Superseded by #1922. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

This simplifies the reconfiguration of standard streams as it can now be done in-place.