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

markflorisson88 at gmail dot com sourceware-bugzilla@sourceware.org
Fri Oct 22 22:05:00 GMT 2010


--- Comment #2 from Mark Florisson <markflorisson88 at gmail dot com> 2010-10-22 22:05:21 UTC ---
(In reply to comment #1)
> When is this necessary?
Several cases, like duping, selecting, using os.read/os.write etc, although
admittedly no specific gdb use case comes to mind.

> Also, these might be redirected to a string buffer,
> in which case there is no fileno.
In case of pagination? In any case, if the user wants to use any of the
aforementioned functions (or use a library that asks for the fileno), thereby
bypassing pagination, I think this should still be possible.

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.

More information about the Gdb-prs mailing list