Facundo Batista added the comment:
Applied in r60983. Thank you all!
--
nosy: +facundobatista
resolution: - accepted
status: open - closed
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1089358
_
Ralf Schmitt added the comment:
I'm attaching an updated patch against trunk. It also contains some
documentation now.
Added file: http://bugs.python.org/file9072/siginterrupt
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1089358
Christian Heimes added the comment:
Next time please give the patch a more meaningful name than patch :)
--
components: +Interpreter Core
keywords: +patch
nosy: +tiran
versions: +Python 2.5, Python 2.6
_
Tracker [EMAIL PROTECTED]
Guido van Rossum added the comment:
Looks okay, but needs docs.
--
nosy: +gvanrossum
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1089358
_
___
Ralf Schmitt added the comment:
here is a patch against 2.5.1
Added file: http://bugs.python.org/file8657/patch
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1089358
_
patch
Description: Binary data
Ralf Schmitt added the comment:
PyOS_setsig in pythonrun.c now calls siginterrupt(sig, 1) (in Python
2.4.4/Python 2.5.1, but not in Python 2.3). So you should be able to
timeout the system calls with a signal.alarm call.
However, having siginterrupt available would still be useful.
I have some