Re: [Python-Dev] sched module - still useful?

2007-10-08 Thread Guido van Rossum
It looks like it doesn't mind if delayfunc() returns early; delayfunc() may insert new events into the queue. I also think this could be used in a simulation, hence the parameterization of timefunc() and delayfunc(). On 10/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I apologize in adva

[Python-Dev] sched module - still useful?

2007-10-08 Thread skip
I apologize in advance for the somewhat provocative subject. Is the sched module still appropriate in an increasingly event-driven world? If so, can someone suggest how it might be used with a non-blocking delay function such as gobject.timeout_add? It would be nice to either remark in the docu

Re: [Python-Dev] possible string formatting bug

2007-10-08 Thread Eli Courtwright
Thanks for the quick responses. Embarrassingly, this problem turned out to be a typo on my part. I visually double-and-triple-checked my code before posting to this list, but I still didn't notice the typo. Sorry to send everyone on a wild goose chase. - Eli

Re: [Python-Dev] possible string formatting bug

2007-10-08 Thread Steve Holden
Facundo Batista wrote: > 2007/10/8, Eli Courtwright <[EMAIL PROTECTED]>: > >> On "Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit >> (Intel)] on win32" this produces the following exception: >> Traceback (most recent call last): >> File "", line 1, in >> TypeError: not enoug

Re: [Python-Dev] SVN down?

2007-10-08 Thread Martin v. Löwis
> The apache server seems to be down. I just restarted it. Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive

Re: [Python-Dev] possible string formatting bug

2007-10-08 Thread Facundo Batista
2007/10/8, Eli Courtwright <[EMAIL PROTECTED]>: > On "Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit > (Intel)] on win32" this produces the following exception: > Traceback (most recent call last): > File "", line 1, in > TypeError: not enough arguments for format string P

[Python-Dev] anon svn down?

2007-10-08 Thread Thomas Heller
It looks like anonymous SVN is down: http://svn.python.org/projects/python/ Thomas ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/arch

Re: [Python-Dev] possible string formatting bug

2007-10-08 Thread Georg Brandl
Eli Courtwright schrieb: > Greetings, > > I've found what might be a bug in Python's % string formatting > operator. Consider the following code: > > "%%(%s)=%%s" % "hello" > > On "Python 2.5.1 (r251:54863, May 18 2007, 16:56:43) [GCC 3.4.4 (cygming > special, gdc 0.12, using dmd 0.125)] on cyg

Re: [Python-Dev] possible string formatting bug

2007-10-08 Thread Aahz
On Mon, Oct 08, 2007, Eli Courtwright wrote: > > I've found what might be a bug in Python's % string formatting operator. > Consider the following code: > > "%%(%s)=%%s" % "hello" > > On "Python 2.5.1 (r251:54863, May 18 2007, 16:56:43) [GCC 3.4.4 (cygming > special, gdc 0.12, using dmd 0.125)] o

[Python-Dev] possible string formatting bug

2007-10-08 Thread Eli Courtwright
Greetings, I've found what might be a bug in Python's % string formatting operator. Consider the following code: "%%(%s)=%%s" % "hello" On "Python 2.5.1 (r251:54863, May 18 2007, 16:56:43) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin" this produces the string "%(hello)s=%s"

[Python-Dev] SVN down?

2007-10-08 Thread Christian Heimes
I'm having trouble to connect to the anonymous svn server at http://svn.python.org/ $ LC_ALL=C svn up svn: PROPFIND request failed on '/projects/python/branches/py3k' svn: PROPFIND of '/projects/python/branches/py3k': could not connect to server (http://svn.python.org) $ nmap -v -p80 svn.python.o