New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_signal hangs -- signal broken on OpenBSD? #36504
Comments
This appears to be similar to bug as PR#288, except that I have this problem on a fresh install of Yours, |
Logged In: YES Below is the output of test_signal.py. I ran it manually. I |
Logged In: YES I get the exact same behavior on OpenBSD 3.1 with Python- import signal
import time
def handler (signo, frame):
print 'got signal', signo
signal.signal(signal.SIGALRM, handler)
# wake me up in two seconds
signal.alarm(2)
now = time.time()
time.sleep(200)
print 'slept for', time.time() - now, "seconds" |
Logged In: YES As far as I am aware (not very) Python signals have always frallan, does the C equivalent of your Python test work? Do signals are pain. |
Logged In: YES My test program now works. It both terminates and prints Current Platform is: I should receive my OpenBSD 3.4 CDs soon. Then I'll test |
Logged In: YES Please, could you verify if this problem persists in Python 2.3.4 If yes, in which version? Can you provide a test case? If the problem is solved, from which version? Note that if you fail to answer in one month, I'll close this bug Thank you! . Facundo |
Logged In: YES Deprecated. Reopen only if still happens in 2.3 or newer. . Facundo |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: