This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Better description in "python -h" for -u
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: jafo, loewis
Priority: normal Keywords: patch

Created on 2002-05-06 09:42 by jafo, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-u-buffer.patch jafo, 2002-05-06 09:42 Patch to "python -h" and "python.man" describing internal buffering that overrides "-u" command-line option.
python-u-buffer-new.patch jafo, 2002-05-08 10:26 This version contains a single line referencing the man page.
Messages (4)
msg39900 - (view) Author: Sean Reifschneider (jafo) * (Python committer) Date: 2002-05-06 09:42
A new user was confused by the fact that "python -u"
in combination with "sys.stdin.xreadlines()" was not
doing what he expects.  I believe that this
modification makes it a bit more clear that there is
internal buffering which "-u" does not influence.

Also included is a man-page modification of similar
nature (though more detailed).
msg39901 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-05-08 09:17
Logged In: YES 
user_id=21627

I dislike the change to add many new lines to the -h output.
Can you squeeze this into one less line, e.g. by referring
to the documentation?
msg39902 - (view) Author: Sean Reifschneider (jafo) * (Python committer) Date: 2002-05-08 10:26
Logged In: YES 
user_id=81797

Ok, I've converted it to a single line note referencing the
man-page.
msg39903 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-07-28 10:34
Logged In: YES 
user_id=21627

Thanks for the patch, committed as

python.man 1.25
main.c 1.65

History
Date User Action Args
2022-04-10 16:05:18adminsetgithub: 36561
2002-05-06 09:42:20jafocreate