Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97259
| Path | csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail |
|---|---|
| Return-Path | <lac@openend.se> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'returned.': 0.07; 'errno': 0.09; 'loop.': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'python': 0.10; 'causing': 0.13; 'thu,': 0.15; '>to': 0.16; 'control-c': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'simpson': 0.16; 'subject:handling': 0.16; 'laura': 0.18; '2015': 0.20; 'resumes': 0.22; 'subject:problem': 0.22; 'code,': 0.23; 'received:se': 0.29; 'probably': 0.31; 'post': 0.31; 'continuing': 0.32; 'problem': 0.33; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'whatever': 0.39; 'to:addr:python.org': 0.40; 'header:Message-Id:1': 0.61; 'cameron': 0.66; '+1000,': 0.84; 'header:In-reply-to:1': 0.84 |
| To | python-list@python.org |
| From | Laura Creighton <lac@openend.se> |
| Subject | Re: ConnectionError handling problem |
| In-reply-to | <20150930213059.GA6225@cskk.homeip.net> |
| References | <ff56fdf3-e40b-4ebf-8f4a-524f3ce61fbd@googlegroups.com> <20150930213059.GA6225@cskk.homeip.net> |
| Comments | In-reply-to Cameron Simpson <cs@zip.com.au> message dated "Thu, 01 Oct 2015 07:30:59 +1000." |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="us-ascii" |
| Content-ID | <708.1443650162.1@fido> |
| Content-Transfer-Encoding | quoted-printable |
| Date | Wed, 30 Sep 2015 23:56:02 +0200 |
| X-Greylist | Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Wed, 30 Sep 2015 23:56:04 +0200 (CEST) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| 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.279.1443650168.28679.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1443650168 news.xs4all.nl 23845 [2001:888:2000:d::a6]:51557 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:97259 |
Show key headers only | View raw
In a message of Thu, 01 Oct 2015 07:30:59 +1000, Cameron Simpson writes: >Most likely the Ctrl-C interrupts whatever system call is hanging, causing it >to return (failed, probably with errno EINTR). And the python program resumes >because the OS system call has returned. > >Cheers, >Cameron Simpson <cs@zip.com.au> Shiva Upreti needs to post the current code, but last time I read it the problem was that control-C is a KeyboardInterrupt, which the program was catching, and then continuing the loop. Laura
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: ConnectionError handling problem Cameron Simpson <cs@zip.com.au> - 2015-09-25 09:25 +1000
Re: ConnectionError handling problem shiva upreti <katewinslet626@gmail.com> - 2015-09-24 20:57 -0700
Re: ConnectionError handling problem Cameron Simpson <cs@zip.com.au> - 2015-09-25 14:59 +1000
Re: ConnectionError handling problem shiva upreti <katewinslet626@gmail.com> - 2015-09-24 22:46 -0700
Re: ConnectionError handling problem Cameron Simpson <cs@zip.com.au> - 2015-09-25 17:24 +1000
Re: ConnectionError handling problem shiva upreti <katewinslet626@gmail.com> - 2015-09-29 23:04 -0700
Re: ConnectionError handling problem Cameron Simpson <cs@zip.com.au> - 2015-10-01 07:30 +1000
Re: ConnectionError handling problem Laura Creighton <lac@openend.se> - 2015-09-30 23:56 +0200
csiph-web