Skip to content

remove use of io.TextIOWrapper(write_through) #1526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

tharvik
Copy link
Contributor

@tharvik tharvik commented May 12, 2016

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
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
Copy link
Contributor Author

tharvik commented May 12, 2016

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

@gvanrossum
Copy link
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