This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/12150] sys.stdout and sys.stderr should have a 'fileno'method


http://sourceware.org/bugzilla/show_bug.cgi?id=12150

matt rice <ratmice at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ratmice at gmail dot com

--- Comment #3 from matt rice <ratmice at gmail dot com> 2011-08-24 17:04:49 UTC ---
one use case i came across is...

from curses import *
setupterm(None, sys.stdout)

i currently just hacked my scripts to
setupterm(None, 1)

which seems to work fine in my case...
generating the correct escape sequences for the terminal, not actual curses
stuff.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]