Changes by Florent Xicluna florent.xicl...@gmail.com:
--
Removed message: http://bugs.python.org/msg147102
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12392
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8ea34a74f118 by Éric Araujo in branch '2.7':
Add missing versionadded (fixes #12392)
http://hg.python.org/cpython/rev/8ea34a74f118
--
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
As discussed in issue #12469, the commit 024827a9db64 makes things worse: it
changes the behaviour of many functions related to signal handling (e.g.
sigwait()) just to be able to use pthread_kill() on the main thread. I reverted
STINNER Victor victor.stin...@haypocalc.com added the comment:
This issue introduced regressions in the faulthandler module: see issue #12469.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12392
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12392
___
Charles-François Natali neolo...@free.fr added the comment:
Attached patch implements the suggested fix.
The patch looks good to me.
It would be possible to fix the test to fail instead of blocking
I think this issue deserves a specific test, since:
- test_pending tests something
Roundup Robot devnull@devnull added the comment:
New changeset 024827a9db64 by Victor Stinner in branch 'default':
Issue #12392: fix thread initialization on FreeBSD 6
http://hg.python.org/cpython/rev/024827a9db64
--
nosy: +python-dev
___
Python
STINNER Victor victor.stin...@haypocalc.com added the comment:
I've attached a patch spawning a new interpreter to test that.
Thanks, I commited your test at the same time of the fix.
--
___
Python tracker rep...@bugs.python.org
New submission from STINNER Victor victor.stin...@haypocalc.com:
pthread_kill() doesn't work on the main thread on FreeBSD6: sending a signal to
the main thread does nothing. It works on the main thread just after the
creation of the first thread.
PyThread__init_thread() has 3 implementations
STINNER Victor victor.stin...@haypocalc.com added the comment:
Attached patch implements the suggested fix.
--
keywords: +patch
Added file: http://bugs.python.org/file22431/thread_init_freebsd6.patch
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
FreeBSD 7 is not affected by this issue.
To test this issue, call signal.pthread_kill(threading.get_ident(),
signal.SIGINT) in an interpreter: it should raise a KeyboardInterrupt. On
FreeBSD6, it does nothing. Or run ./python -m
11 matches
Mail list logo