[issue2240] setitimer, getitimer wrapper

Georg Brandl report at bugs.python.org
Thu Mar 6 07:59:42 CET 2008


Georg Brandl added the comment:

Patch review:
* ItimerError should be signal.ItimerError, not signal.error.
* It should probably inherit from EnvironmentError or IOError.
* itimer_retval will leak the new tuple if one of the PyFloat_FromDouble
fails.
* Do you have test and doc patches, too?
* What does the "which" argument mean, is it an arbitrary integer
identifying the timer?

----------
nosy: +georg.brandl

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2240>
__________________________________


More information about the Python-bugs-list mailing list