[Patches] [ python-Patches-504225 ] add plan9 ifdef to timemodule floatsleep

noreply@sourceforge.net noreply@sourceforge.net
Wed, 16 Jan 2002 03:05:55 -0800


Patches item #504225, was opened at 2002-01-15 22:08
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=504225&group_id=5470

Category: Core (C code)
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Russ Cox (rsc)
Assigned to: Nobody/Anonymous (nobody)
Summary: add plan9 ifdef to timemodule floatsleep

Initial Comment:
The patch adds a plan9-ifdefed implementation
to floatsleep.

Rather than add yet another level of nesting
to the #ifdef nest, I rewrote the various #else
#if's to use #elif.

Both a context diff and the raw function are attached 
(the context diff is fairly hard to read).



----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2002-01-16 03:05

Message:
Logged In: YES 
user_id=21627

Thanks for the patch. Notice that it had an error: the
sleep() version was the fall-back, not the RISCOS version;
you code now had two RISCOS versions. Corrected and
committed as timemodule.c 2.120.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=504225&group_id=5470