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

--- 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.


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