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: 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: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5afd4b4e-e0cd-4436-b15a-936637b4fe2b@googlegroups.com> 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 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.