Am 14.11.2014 00:42 schrieb satishmlm...@gmail.com:
fileno() in not supported. Is it only in 3.1? What is the workaround?
You have been asked many times about the details of your environment.
Especially, you have been told that it is important to know if you
directly use the Python CLI or som
On 14Nov2014 10:52, Ben Finney wrote:
satishmlm...@gmail.com writes:
fileno() in not supported.
It is supported, but it is behaving as the documentation describes
https://docs.python.org/3/library/io.html#io.IOBase.fileno>.
Is it only in 3.1? What is the workaround?
Expect an exception w
On 13/11/2014 23:34, satishmlm...@gmail.com wrote:
What is the problem and how to overcome this problem?
RTFM.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
satishmlm...@gmail.com writes:
> fileno() in not supported.
It is supported, but it is behaving as the documentation describes
https://docs.python.org/3/library/io.html#io.IOBase.fileno>.
> Is it only in 3.1? What is the workaround?
Expect an exception when you ask for the file descriptor on a
satishmlm...@gmail.com writes:
> What is the problem and how to overcome this problem?
First, please provide context (just as the previous respondent did), so
your message may be understood in the absence of those prior.
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style>
As to your q
fileno() in not supported. Is it only in 3.1? What is the workaround?
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Nov 14, 2014 at 10:34 AM, wrote:
> What is the problem and how to overcome this problem?
The problem is that you're posting, with no context, a query relating
to a former post which gave scanty information and no indication of
what you expected. To overcome this, read this:
http://www.c
What is the problem and how to overcome this problem?
--
https://mail.python.org/mailman/listinfo/python-list
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.
--
htt
import sys
for stream in (sys.stdin, sys.stdout, sys.stderr):
print(stream.fileno())
io.UnsupportedOperation: fileno
--
https://mail.python.org/mailman/listinfo/python-list
10 matches
Mail list logo