This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12150] sys.stdout and sys.stderr should have a 'fileno'method
- From: "markflorisson88 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 22 Oct 2010 22:05:29 +0000
- Subject: [Bug python/12150] sys.stdout and sys.stderr should have a 'fileno'method
- Auto-submitted: auto-generated
- References: <bug-12150-4717@http.sourceware.org/bugzilla/>
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.