Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80855
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:not': 0.03; '16,': 0.03; 'cpython': 0.05; 'subject:Python': 0.06; 'dan': 0.09; 'cc:addr:python-list': 0.11; '4:25': 0.16; 'cc:name:python list': 0.16; 'curious.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'integer': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'message-id:@mail.gmail.com': 0.30; 'supposed': 0.32; 'guess': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'object,': 0.36; 'nov': 0.38; 'pm,': 0.38; 'little': 0.38; 'skip:p 20': 0.39; 'according': 0.40; 'different': 0.65; 'skip:/ 30': 0.84; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=gBMM5RuxkePO4rXcx9oaT0MAko2HebjeWohQLVC4wdg=; b=QyFxz76MrI+EqD932f01/tVv35JR8qrbSE28U2qUk5no1KIRpdhHN94+UMIyDK1nv5 mg8S595BRoil3yCI6FOfGnyrRKGJ0ri6WcKL77T+gqm4LglIJeaBdJyXhlpMtd4TIDW9 9ehOqFIr1SqUtWS+D0n5p5U0bXpjbpM6yg+sXOnLCrz8EgbzNbbhIimXiKzfCagLNI6d j6a/5EaBEe2E93gIpx+tAkSigZtRiEetN463GQYiK2JFVbRzv9GFo28fbK3P+B3QtjoH 3W2NsYB1y/6VRHzonYlpopX12fZ1LeiZX8hCTbriCDO/YeIex3qdSbDhAfR9M1uwCo83 zbDw== |
| MIME-Version | 1.0 |
| X-Received | by 10.42.179.195 with SMTP id br3mr20375106icb.37.1416115785228; Sat, 15 Nov 2014 21:29:45 -0800 (PST) |
| In-Reply-To | <CAGGBd_qtoNx6bFCGWJ9QpQNS2LK4=doUF8fZAzXMPz2AH+Wjnw@mail.gmail.com> |
| References | <bcc9a923-4a68-45b2-9854-a6f750e71ee7@googlegroups.com> <CAGGBd_qtoNx6bFCGWJ9QpQNS2LK4=doUF8fZAzXMPz2AH+Wjnw@mail.gmail.com> |
| Date | Sun, 16 Nov 2014 16:29:45 +1100 |
| Subject | Re: fileno() not supported in Python 3.1 |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | Python List <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15869.1416115794.18130.python-list@python.org> (permalink) |
| Lines | 11 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1416115794 news.xs4all.nl 2960 [2001:888:2000:d::a6]:58715 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:80855 |
Show key headers only | View raw
On Sun, Nov 16, 2014 at 4:25 PM, Dan Stromberg <drsalists@gmail.com> wrote: > Works for me, although it's a little different in Jython: > $ pythons --command 'import sys; print(sys.stdin.fileno())' > /usr/local/jython-2.7b3/bin/jython good org.python.core.io.StreamIO@170ed6ab Huh, that is curious. According to its CPython docstring, it's supposed to return an integer (no idea if that's standardized)... but I guess if os.read() takes that StreamIO object, then it'll do as well. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
fileno() not supported in Python 3.1 satishmlmlml@gmail.com - 2014-11-13 15:48 -0800
Re: fileno() not supported in Python 3.1 Ben Finney <ben+python@benfinney.id.au> - 2014-11-14 10:57 +1100
Re: fileno() not supported in Python 3.1 satishmlmlml@gmail.com - 2014-11-13 16:08 -0800
Re: fileno() not supported in Python 3.1 Ben Finney <ben+python@benfinney.id.au> - 2014-11-14 13:52 +1100
Re: fileno() not supported in Python 3.1 Cameron Simpson <cs@zip.com.au> - 2014-11-14 18:36 +1100
Re: fileno() not supported in Python 3.1 Nobody <nobody@nowhere.invalid> - 2014-11-14 13:59 +0000
Re: fileno() not supported in Python 3.1 Joel Goldstick <joel.goldstick@gmail.com> - 2014-11-14 09:09 -0500
Re: fileno() not supported in Python 3.1 Ian Kelly <ian.g.kelly@gmail.com> - 2014-11-14 09:51 -0700
Re: fileno() not supported in Python 3.1 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-15 22:23 +1100
Re: fileno() not supported in Python 3.1 Dan Stromberg <drsalists@gmail.com> - 2014-11-15 21:25 -0800
Re: fileno() not supported in Python 3.1 Chris Angelico <rosuav@gmail.com> - 2014-11-16 16:29 +1100
csiph-web