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
io doc improvements #53924
Comments
This is an improvement patch for the :mod:`io` documentation. |
Ok, committed in r84357 (py3k) and r84358 (3.1). Backporting to 2.7 would be too much work. |
A couple wording comments: "All streams are careful about the type of data you give to them" "The default mode is Finally, not specific to this change, but I wonder if rather than |
2010/8/30 Skip Montanaro report@bugs.python.org:
Feel free to change it; it's been committed.
What advantage would that have? |
Well, people use "r" in practice, and "rt" is a somewhat rarer |
File I/O and memory I/O would have more uniform in their APIs and thus be If someone wanted to select between file and memory I/O at runtime it Skip |
That's wrong. Various classes are used for file I/O: FileIO,
Why would you swap the class since the constructor arguments would be |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: