[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: Do you mean to mention stdin as well as stdout/stderr? It will be nice. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15561 ___

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: Yes, that too. :) I am working on it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15561 ___ ___

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: For 3.2 to mention write_through, issue 15638 should probably be fixed first. I can create a patch for that first. -- dependencies: +incorrect version info for TextIOWrapper write_through docs ___ Python tracker

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: As I can see in subprocess.py TextIOWrapper is applied to stdin also in non-buffered (write_through=True) mode. In 3.2, I will not mention the write_through argument based on Antoine's response to issue 15638. --

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: Andrew, here is the new patch for 3.2. 3.3 will come shortly after. -- Added file: http://bugs.python.org/file26783/issue-15561-3-branch-32.patch ___ Python tracker rep...@bugs.python.org

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: Here is the patch for the default/3.3 branch, which for convenience is a diff for the branch *after the 3.2 patch has been forward-ported to 3.3*. I did not think it was necessary to mention write_through specifically since it seems more like an

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 381aaf79c254 by Andrew Svetlov in branch '3.2': Issue #15561: Update subprocess docs to reference io.TextIOWrapper. http://hg.python.org/cpython/rev/381aaf79c254 New changeset 0cd9423770fa by Andrew Svetlov in branch 'default': Issue #15561: Update

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. BTW I prefer to use «stream» as alias to file object it subprocess context. «file» can clash with «the real file in filesystem» for documentation reader. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: Fixed. BTW I prefer to use «stream» as alias to file object Thanks a lot, Andrew. Yes, I agree and actually contemplated doing that myself. -- ___ Python tracker rep...@bugs.python.org

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: Hmm. As I can see in subprocess.py TextIOWrapper is applied to stdin also in non-buffered (write_through=True) mode. So input will be converted to use '\n' as well. Can you reflect this fact in your patches? --

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-11 Thread Chris Jerdonek
Chris Jerdonek added the comment: Can you reflect this fact in your patches? Sure. (Though for stdin '\n' is converted to os.linesep and no more.) Would you mind if I also updated the following part of the subprocess documentation to reference the part we are updating, so that the

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-09 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15561 ___ ___

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: In the process of working on issue 15595, I noticed that the documentation change will need to be slightly different for Python 3.2 than for 3.3. In 3.2, it is locale.getpreferredencoding() (which defaults to do_setlocale=True) instead of

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-09 Thread Andrew Svetlov
Andrew Svetlov added the comment: Please do. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15561 ___ ___ Python-bugs-list mailing list

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-09 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: Added file: http://bugs.python.org/file26747/issue-15561-2-branch-32.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15561 ___

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: I have uploaded updated patches for both 3.2 and the default branch. Thanks, Andrew. -- Added file: http://bugs.python.org/file26748/issue-15561-2-branch-default.patch ___ Python tracker rep...@bugs.python.org

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: io module experts: Can one of you review this minor change to the subprocess documentation to make it reference the newly added io.TextIOWrapper documentation changes? For background purposes, digging back, it looks like the original change to subprocess was

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-06 Thread Chris Jerdonek
Chris Jerdonek added the comment: Victor, would you be able to take a look at this minor documentation patch? It incorporates the change that you suggested we make on python-dev. -- ___ Python tracker rep...@bugs.python.org

[issue15561] update subprocess docs to reference io.TextIOWrapper

2012-08-05 Thread Chris Jerdonek
New submission from Chris Jerdonek: This is an issue to update the subprocess module documentation after updates to io.TextIOWrapper's documentation here: http://hg.python.org/cpython/rev/f17a1410ebe5 This issue was discussed briefly on python-dev: