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


Groups > comp.lang.python > #80718

Re: io.UnsupportedOperation: fileno

X-Received by 10.50.128.226 with SMTP id nr2mr2149859igb.2.1415921450542; Thu, 13 Nov 2014 15:30:50 -0800 (PST)
X-Received by 10.182.79.104 with SMTP id i8mr38831obx.21.1415921450232; Thu, 13 Nov 2014 15:30:50 -0800 (PST)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newspeer1.nac.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!hl2no1424274igb.0!news-out.google.com!u1ni170qah.0!nntp.google.com!r10no2462956igi.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Thu, 13 Nov 2014 15:30:49 -0800 (PST)
In-Reply-To <b501dd95-8ef0-476d-90ff-bf7b44894679@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=15.211.201.82; posting-account=LpZxbAkAAADmdg1egflF6w8zbbyJPDNY
NNTP-Posting-Host 15.211.201.82
References <b501dd95-8ef0-476d-90ff-bf7b44894679@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <5afd4b4e-e0cd-4436-b15a-936637b4fe2b@googlegroups.com> (permalink)
Subject Re: io.UnsupportedOperation: fileno
From sohcahtoa82@gmail.com
Injection-Date Thu, 13 Nov 2014 23:30:50 +0000
Content-Type text/plain; charset=ISO-8859-1
X-Received-Bytes 1365
X-Received-Body-CRC 178952834
Lines 8
Xref csiph.com comp.lang.python:80718

Show key headers only | View raw


On Thursday, November 13, 2014 3:23:24 PM UTC-8, satish...@gmail.com wrote:
> import sys
> for stream in (sys.stdin, sys.stdout, sys.stderr):
>            print(stream.fileno())
> 
> 
> io.UnsupportedOperation: fileno

Yup.  That's what I'd expect to see.

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

io.UnsupportedOperation: fileno satishmlmlml@gmail.com - 2014-11-13 15:23 -0800
  Re: io.UnsupportedOperation: fileno sohcahtoa82@gmail.com - 2014-11-13 15:30 -0800
    Re: io.UnsupportedOperation: fileno satishmlmlml@gmail.com - 2014-11-13 15:34 -0800
      Re: io.UnsupportedOperation: fileno Chris Angelico <rosuav@gmail.com> - 2014-11-14 10:40 +1100
      Re: io.UnsupportedOperation: fileno Ben Finney <ben+python@benfinney.id.au> - 2014-11-14 10:42 +1100
      Re: io.UnsupportedOperation: fileno Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-14 05:10 +0000
    Re: io.UnsupportedOperation: fileno satishmlmlml@gmail.com - 2014-11-13 15:42 -0800
      Re: io.UnsupportedOperation: fileno Ben Finney <ben+python@benfinney.id.au> - 2014-11-14 10:52 +1100
      Re: io.UnsupportedOperation: fileno Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2014-11-14 12:29 +0100

csiph-web