[Bug 503121] New: python readline woes
http://bugzilla.novell.com/show_bug.cgi?id=503121 Summary: python readline woes Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de Found By: --- to my surprise, "import readline" produces some output on stdout, even if stdout is not a terminal (e.g. a pipe, or written to file). example: atuin > TERM=xterm python -c "import readline" | hexdump -C 00000000 1b 5b 3f 31 30 33 34 68 |.[?1034h| 00000008 this is related to TERM=xterm (does not happen for vt100/linux/). this esc sequence comes from the following terminfo value atuin readline-5.1 > infocmp -1 | grep smm smm=\E[?1034h, which is available since SUSE 10.3. python in 10.2 and older does not output anything, python in 10.3 and newer does output. now I'm using something like if sys.stdout.isatty(): import readline in sitecustomize.py but IMHO that's a bug in python (or even readline ?). if output does not go to a terminal, there should be not esc sequences in output... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=503121 Zheng Chen <zchen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zchen@novell.com AssignedTo|bnc-team-screening@forge.pr |jmatejek@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=503121 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=503121 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=503121 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=503121#c1 --- Comment #1 from Jan Matejek <jmatejek@novell.com> 2009-10-15 11:12:37 MDT --- i can't reproduce this in M8. we are tracking a similar bug 541379, but that is not world-visible, so i can't mark this as a duplicate. to be perfectly honest, i don't understand that bug. but perhaps it got fixed in the meantime? please verify that this bug still exists. and if it does, and if you understand a bit what is going on, tell me how to reproduce it better ;) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=503121 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |koenig@linux.de -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=503121 User koenig@linux.de added comment http://bugzilla.novell.com/show_bug.cgi?id=503121#c2 Harald Koenig <koenig@linux.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|koenig@linux.de | --- Comment #2 from Harald Koenig <koenig@linux.de> 2009-10-19 10:11:04 MDT --- (In reply to comment #1)
i can't reproduce this in M8.
ACK, works fine for me with RC1. I'd say it's FIXED... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=503121 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=503121#c3 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Jan Matejek <jmatejek@novell.com> 2009-10-20 04:00:38 MDT --- okay, marking fixed. thanks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com