Skip to content

remove use of io.TextIOWrapper(write_through) - #1526

Closed
tharvik wants to merge 1 commit into
python:masterfrom
tharvik:remove_write_through
Closed

tharvik wants to merge 1 commit into
python:masterfrom
tharvik:remove_write_through

Conversation

@tharvik

@tharvik tharvik commented May 12, 2016

Copy link
Copy Markdown
Contributor

Based on the documentation The write_through argument to io.TextIOWrapper was only added in python 3.3, but it is used in stdlib-samples/3.2/subprocess.py which is python 3.2.

@gvanrossum

Copy link
Copy Markdown
Member

Then the docs must be wrong -- that line is literally from the CPython 3.2 repo.

@gvanrossum gvanrossum closed this May 12, 2016
@tharvik

tharvik commented May 12, 2016

Copy link
Copy Markdown
Contributor Author

It is seems to be delibarate based on this bug report.

@gvanrossum

Copy link
Copy Markdown
Member

Nevertheless I'd prefer not to have to make this change in mypy's tests (since it's supposed to be a mostly unchanged copy of some stdlib code).

@tharvik
tharvik deleted the remove_write_through branch July 11, 2016 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants