Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8609
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python@mrabarnett.plus.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; 'raises': 0.07; 'python': 0.08; 'from:addr:python': 0.09; 'integers': 0.09; 'x86': 0.09; 'exception': 0.12; 'wrote:': 0.15; '3.2.': 0.16; '[errno': 0.16; 'bieber': 0.16; 'declaimed': 0.16; 'eckhardt': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:name:mrab': 0.16; 'ioerror': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:84.92': 0.16; 'received:84.92.122': 0.16; 'received:84.92.122.60': 0.16; 'reply-to:addr:python-list': 0.16; 'subject:function': 0.16; "hasn't": 0.16; 'command': 0.19; 'seconds': 0.21; 'header:In-Reply-To:1': 0.22; 'debian': 0.23; 'happen.': 0.23; "shouldn't": 0.23; 'invalid': 0.25; 'changed': 0.25; "i'm": 0.27; 'lee': 0.28; 'received:84': 0.28; 'thu,': 0.28; '+0200,': 0.30; 'looks': 0.30; 'it.': 0.33; 'actually': 0.33; 'to:addr:python-list': 0.34; 'header:User-Agent:1': 0.34; 'reply- to:addr:python.org': 0.35; 'running': 0.35; 'skip:" 10': 0.36; 'some': 0.37; 'using': 0.37; 'takes': 0.38; 'subject:: ': 0.38; 'showing': 0.38; 'should': 0.39; 'to:addr:python.org': 0.39; 'your': 0.60; 'here': 0.66; 'direct': 0.66; 'header:Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.72; 'dennis': 0.77; 'subject:call': 0.91; 'killed': 0.93 |
| X-IronPort-Anti-Spam-Filtered | true |
| X-IronPort-Anti-Spam-Result | ApEHALuuDE7Unw4S/2dsb2JhbABSmGaOcHeIer80hjEElyWLOQ |
| Date | Thu, 30 Jun 2011 18:18:13 +0100 |
| From | MRAB <python@mrabarnett.plus.com> |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: how to call a function for evry 10 secs |
| References | <f63802d3-da39-4efb-a09a-89458a9c1f92@h38g2000pro.googlegroups.com> <mailman.518.1309410399.1164.python-list@python.org> <mvotd8-v5k.ln1@satorlaser.homedns.org> <iui922$6eq$1@dough.gmane.org> |
| In-Reply-To | <iui922$6eq$1@dough.gmane.org> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | python-list@python.org |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.527.1309454291.1164.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1309454291 news.xs4all.nl 21845 [2001:888:2000:d::a6]:59998 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:8609 |
Show key headers only | View raw
On 30/06/2011 17:42, Dennis Lee Bieber wrote: > On Thu, 30 Jun 2011 10:37:34 +0200, Ulrich Eckhardt > <ulrich.eckhardt@dominolaser.com> declaimed the following in > gmane.comp.python.general: > >> "time.sleep()" takes a floating point number, so an underflow like for >> fixed-size integers in C shouldn't happen. What puzzles me here is your use >> of "apparently", because here a negative value actually raises an "IOError: >> [Errno 22] Invalid argument" when I call "sleep(-1)". >> >> The system I'm on is a Debian GNU/Linux system running on some x86 hardware, >> for the record, and I'm using Python 2.6.6. >> > WinXP, Python 2.5.<something> > > And that was a direct cut&paste from a command window; showing it > had slept for some 90 seconds before I killed it. > Looks like it hasn't changed even in WinXP, Python 3.2. Is IOError what you'd expect, anyway? What should it do in Python 3.2? Exception or max(seconds, 0)?
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to call a function for evry 10 secs hisan <santosh.ssit@gmail.com> - 2011-06-29 10:39 -0700
Re: how to call a function for evry 10 secs Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-30 03:42 +1000
Re: how to call a function for evry 10 secs Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-06-29 22:06 -0700
Re: how to call a function for evry 10 secs Laurent Claessens <moky.math@gmail.com> - 2011-06-30 09:05 +0200
Re: how to call a function for evry 10 secs Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2011-06-30 10:37 +0200
Re: how to call a function for evry 10 secs Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-06-30 09:42 -0700
Re: how to call a function for evry 10 secs Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2011-06-30 21:04 +0200
Re: how to call a function for evry 10 secs Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-06-30 23:29 -0700
Re: how to call a function for evry 10 secs Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2011-07-01 08:50 +0200
Re: how to call a function for evry 10 secs MRAB <python@mrabarnett.plus.com> - 2011-06-30 18:18 +0100
Re: how to call a function for evry 10 secs Chris Angelico <rosuav@gmail.com> - 2011-07-01 03:36 +1000
Re: how to call a function for evry 10 secs Ian Kelly <ian.g.kelly@gmail.com> - 2011-06-30 11:42 -0600
csiph-web