[issue1089358] need siginterrupt() on Linux - impossible to do timeouts

2008-02-23 Thread Facundo Batista
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 _

[issue1089358] need siginterrupt() on Linux - impossible to do timeouts

2008-01-05 Thread Ralf Schmitt
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

[issue1089358] need siginterrupt() on Linux - impossible to do timeouts

2008-01-04 Thread Christian Heimes
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]

[issue1089358] need siginterrupt() on Linux - impossible to do timeouts

2008-01-04 Thread Guido van Rossum
Guido van Rossum added the comment: Looks okay, but needs docs. -- nosy: +gvanrossum _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1089358 _ ___

[issue1089358] need siginterrupt() on Linux - impossible to do timeouts

2007-10-29 Thread Ralf Schmitt
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

[issue1089358] need siginterrupt() on Linux - impossible to do timeouts

2007-10-26 Thread Ralf Schmitt
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