Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8624

Re: how to call a function for evry 10 secs

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: how to call a function for evry 10 secs
Date 2011-06-30 23:29 -0700
Organization > Bestiaria Support Staff <
References <f63802d3-da39-4efb-a09a-89458a9c1f92@h38g2000pro.googlegroups.com> <mailman.518.1309410399.1164.python-list@python.org> <mvotd8-v5k.ln1@satorlaser.homedns.org> <mailman.526.1309452179.1164.python-list@python.org> <vntud8-898.ln1@satorlaser.homedns.org>
Newsgroups comp.lang.python
Message-ID <mailman.535.1309501797.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, 30 Jun 2011 21:04:56 +0200, Ulrich Eckhardt
<ulrich.eckhardt@dominolaser.com> declaimed the following in
gmane.comp.python.general:

> 
> So this seems to confirm that it's a 32-bit underflow while preparing the 
> argument for win32's Sleep() function.
> 
> That said, an "IOError" is a bit better but still leaves room for 
> improvement. I'll take this to the developers mailinglist and see if they 
> consider the behaviour a bug. At the very least the docs are bad, I would 
> say.
> 
	"RuntimeError" or "OSError" would seem to be better than "IOError";
though having the Python runtime incorporate a max(delay, 0) behind the
scenes would prevent both OS type behaviors.

-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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