Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80735 > unrolled thread

How to get file descriptors of sys.stdin, sys.stdout and sys.stderr?

Started bysatishmlmlml@gmail.com
First post2014-11-13 16:51 -0800
Last post2014-11-14 00:20 -0500
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  How to get file descriptors of sys.stdin, sys.stdout and sys.stderr? satishmlmlml@gmail.com - 2014-11-13 16:51 -0800
    A new Help Vampire? (was Re: (too many threads) Terry Reedy <tjreedy@udel.edu> - 2014-11-14 00:20 -0500

#80735 — How to get file descriptors of sys.stdin, sys.stdout and sys.stderr?

Fromsatishmlmlml@gmail.com
Date2014-11-13 16:51 -0800
SubjectHow to get file descriptors of sys.stdin, sys.stdout and sys.stderr?
Message-ID<9ee719ac-21cb-43db-a9ae-e13fd41f4a65@googlegroups.com>
How to get file descriptors of sys.stdin, sys.stdout and sys.stderr?

[toc] | [next] | [standalone]


#80741 — A new Help Vampire? (was Re: (too many threads)

FromTerry Reedy <tjreedy@udel.edu>
Date2014-11-14 00:20 -0500
SubjectA new Help Vampire? (was Re: (too many threads)
Message-ID<mailman.15808.1415942485.18130.python-list@python.org>
In reply to#80735
On 11/13/2014 7:51 PM, satishmlmlml@gmail.com wrote:
in 4 different threads
> How to get file descriptors of sys.stdin, sys.stdout and sys.stderr?
> fileno() in not supported. Is it only in 3.1? What is the workaround?
 > io.UnsupportedOperation: fileno
 > How to give a file descriptor number to this function? How to get a 
file descriptor number?

Satish, you are acting like the variety of troll called a Help Vampire. 
  One of the symptoms is hogging the newsgroup by starting multiple 
threads a day, often on the same topic.  Another is ignoring the advice 
to read and study the manuals. Another is ignoring advice to read, 
study, and follow advice on how to ask good questions.  Please desist.

-- 
Terry Jan Reedy

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web