Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74185
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'win32': 0.03; 'interpreter': 0.05; 'convention.': 0.07; 'socket': 0.07; 'cc:addr :python-list': 0.11; 'python': 0.11; 'windows': 0.15; '(both': 0.16; 'boundary,': 0.16; 'command-line': 0.16; 'count,': 0.16; 'eof': 0.16; 'fetch': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'mode,': 0.16; 'tcp': 0.16; 'wrote:': 0.18; '(not': 0.18; 'wed,': 0.18; 'all,': 0.19; 'platforms': 0.22; 'cc:addr:python.org': 0.22; 'alternate': 0.24; 'example.': 0.24; 'tend': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'generally': 0.29; 'tim': 0.29; 'unix': 0.29; "doesn't": 0.30; '(like': 0.30; 'said,': 0.30; 'message-id:@mail.gmail.com': 0.30; 'lines': 0.31; 'another.': 0.31; 'chase': 0.31; 'though.': 0.31; 'file': 0.32; 'noticed': 0.34; 'basic': 0.35; "can't": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'done': 0.36; 'doing': 0.36; 'turn': 0.37; 'files': 0.38; 'anything': 0.39; 'supporting': 0.39; 'though,': 0.39; 'either': 0.39; 'most': 0.60; 'browser': 0.61; 'box,': 0.64; 'provide': 0.64; 'within': 0.65; 'minutes': 0.67; 'expectations': 0.74; 'jul': 0.74; '(standard': 0.84; 'passive': 0.91; '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=vr/TchkQNjxlNSHdgObUNkPrrVh2IMX7S2p8wKDTKXw=; b=zsigebkSiwCjucJY9zfR6HrUzytI0OJTlAD0ubQ13bEBPoWrCe3XW36/iazqioPEMm IinJd3ZJPU0pj7ixi373k9Iz1/yLx4iN0zdb3dDiy1VDZY73LWisWMMqFSZCLhMNLgWY M+FK4LkjWMxqqkuLFqD5XhKhGL6zFgOtJXWtFoF+TYzTDUZG0rMthMm0DJQyLj8XlG5b RsdJhJ/bQxUHVxCZEiOkHNqDb//AX1HgNB6CPbTQO6bVbFoElsiFuByYOwdCK+rDgfqz GvOvclCC/43RSQYq9SBA10i+pnmtMsViwYIbASgcR82efRO2YGbW24SdmlAQMPQEpNp2 TMvA== |
| MIME-Version | 1.0 |
| X-Received | by 10.52.13.98 with SMTP id g2mr1359747vdc.46.1404838231621; Tue, 08 Jul 2014 09:50:31 -0700 (PDT) |
| In-Reply-To | <20140708114003.1ca872fb@bigbox.christie.dr> |
| References | <53ba11fc$0$29985$c3e8da3$5496439d@news.astraweb.com> <c1uo2eF60gfU1@mid.individual.net> <53ba538d$0$2926$c3e8da3$76491128@news.astraweb.com> <roy-BE5640.08390407072014@news.panix.com> <mailman.11608.1404759029.18130.python-list@python.org> <c20jr1FifsfU1@mid.individual.net> <lpgulm$ji0$2@reader1.panix.com> <lph1id$tfd$1@ger.gmane.org> <20140708102033.13efb3a4@bigbox.christie.dr> <CAPTjJmqncJdYk1d11yypPDOGMDF9E5r4WYBqKs+draUBfSTiPA@mail.gmail.com> <20140708114003.1ca872fb@bigbox.christie.dr> |
| Date | Wed, 9 Jul 2014 02:50:31 +1000 |
| Subject | Re: open() and EOFError |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <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.11642.1404838233.18130.python-list@python.org> (permalink) |
| Lines | 27 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1404838233 news.xs4all.nl 2835 [2001:888:2000:d::a6]:55322 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:74185 |
Show key headers only | View raw
On Wed, Jul 9, 2014 at 2:40 AM, Tim Chase <python.list@tim.thechases.com> wrote: > On 2014-07-09 01:24, Chris Angelico wrote: >> I can't think of any Windows-native programs that ask for EOF. Only >> those which came from POSIX platforms do it. That said, though, >> Windows doesn't tend to encourage interactive command-line programs >> at all, so you may as well just follow the Unix convention. > > And within the last 10 minutes doing some work on a Win32 box, I > noticed that both the "wmic" console (standard since at least XP I > believe) and Python use EOF to quit (both provide alternate methods of > quitting, but EOF is fast & easy). > Python doesn't count, as it's cross-platform; lots of programs work the same way on all their platforms, and it doesn't say anything about the expectations of native Windows apps. But wmic, that's a better example. Counter-example: Command-line FTP on Windows doesn't react to Ctrl-Z, which annoys me somewhat when I move from one to another. (Not as much as it annoys me by not supporting passive mode, though. I generally have to turn to a web browser to do basic FTP downloads across a VM boundary, and for uploads, I either have to go fetch a better FTP client (like FileZilla), or - as I've often done - whip up a few lines of basic TCP socket file transfer, because I can do that at an interactive interpreter faster than most people can move files any other way.) hrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
open() and EOFError Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-07-07 03:20 +0000
Re: open() and EOFError Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-07-07 17:04 +1200
Re: open() and EOFError Steven D'Aprano <steve@pearwood.info> - 2014-07-07 08:00 +0000
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-07 18:09 +1000
Re: open() and EOFError Dave Angel <davea@davea.name> - 2014-07-07 08:14 -0400
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-07 22:19 +1000
Re: open() and EOFError Roy Smith <roy@panix.com> - 2014-07-07 08:46 -0400
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-07 22:58 +1000
Re: open() and EOFError Roy Smith <roy@panix.com> - 2014-07-07 20:26 -0400
Re: open() and EOFError Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-07-08 09:50 +1200
Re: open() and EOFError Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-07-07 15:45 +0000
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-08 01:53 +1000
Re: open() and EOFError Marko Rauhamaa <marko@pacujo.net> - 2014-07-07 19:08 +0300
Re: open() and EOFError Marko Rauhamaa <marko@pacujo.net> - 2014-07-07 19:12 +0300
Re: open() and EOFError Roy Smith <roy@panix.com> - 2014-07-07 08:39 -0400
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-07 22:55 +1000
Re: open() and EOFError Roy Smith <roy@panix.com> - 2014-07-07 20:28 -0400
Re: open() and EOFError Terry Reedy <tjreedy@udel.edu> - 2014-07-07 14:49 -0400
Re: open() and EOFError Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-07-08 10:04 +1200
Re: open() and EOFError Grant Edwards <invalid@invalid.invalid> - 2014-07-08 14:19 +0000
Re: open() and EOFError Terry Reedy <tjreedy@udel.edu> - 2014-07-08 11:08 -0400
Re: open() and EOFError Tim Chase <python.list@tim.thechases.com> - 2014-07-08 10:20 -0500
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-09 01:24 +1000
Re: open() and EOFError Tim Chase <python.list@tim.thechases.com> - 2014-07-08 10:46 -0500
Re: open() and EOFError Roy Smith <roy@panix.com> - 2014-07-08 21:05 -0400
Re: open() and EOFError Anssi Saari <as@sci.fi> - 2014-07-10 22:40 +0300
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-09 01:49 +1000
Re: ^D vs ^Z as EOF and DOS dinosaurs talking (was: open() and EOFError) Tim Chase <python.list@tim.thechases.com> - 2014-07-08 10:57 -0500
Re: ^D vs ^Z as EOF and DOS dinosaurs talking (was: open() and EOFError) Jan van den Broek <balglaas@xs4all.nl> - 2014-07-08 16:38 +0000
Re: ^D vs ^Z as EOF and DOS dinosaurs talking (was: open() and EOFError) Chris Angelico <rosuav@gmail.com> - 2014-07-09 02:20 +1000
Re: open() and EOFError Tim Chase <python.list@tim.thechases.com> - 2014-07-08 11:40 -0500
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-09 02:50 +1000
Re: open() and EOFError Steven D'Aprano <steve@pearwood.info> - 2014-07-08 09:03 +0000
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-08 20:29 +1000
Re: open() and EOFError Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-07-07 14:06 +0100
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-07 23:27 +1000
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-07 23:29 +1000
Re: open() and EOFError Dan Stromberg <drsalists@gmail.com> - 2014-07-07 09:07 -0700
Re: open() and EOFError Ian Kelly <ian.g.kelly@gmail.com> - 2014-07-07 11:25 -0600
Re: open() and EOFError Marko Rauhamaa <marko@pacujo.net> - 2014-07-07 20:31 +0300
Re: open() and EOFError Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-07-07 18:07 +0000
Re: open() and EOFError Marko Rauhamaa <marko@pacujo.net> - 2014-07-07 21:42 +0300
Re: open() and EOFError Roy Smith <roy@panix.com> - 2014-07-07 20:22 -0400
Re: open() and EOFError Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-07-08 10:09 +1200
Re: open() and EOFError Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-07-08 00:10 +0100
Re: open() and EOFError "Neil D. Cerutti" <neilc@norwich.edu> - 2014-07-08 10:29 -0400
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-08 03:29 +1000
Re: open() and EOFError Marko Rauhamaa <marko@pacujo.net> - 2014-07-07 20:40 +0300
Re: open() and EOFError Chris Angelico <rosuav@gmail.com> - 2014-07-08 10:55 +1000
Re: open() and EOFError Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-07-07 18:54 -0400
csiph-web