Problem with signals in threads in Python

Josh Paetzel jpaetzel at FreeBSD.org
Tue Dec 16 12:48:25 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andriy Pylypenko wrote:
> Hello,
> 
> Almost a year ago I've created an issue in Python's bugtracker but the
> issue seems to be stuck since then so I'm sending the patch here in hope
> it could be included in ports collection.
> 
> In short there is a problem in the Python that can be seen under FreeBSD
> but not under  MacOSX or Linux. If a Python program started a thread in
> background then it can be impossible to interrupt the program with
> Ctrl-C. Here is an example of such script:
> 

*snip*

Andriy,

We've been using your patch in production for a while now, it works well
for us.  I've been contemplating including it in the FreeBSD python
port, in fact I mailed this list about it about a week before you did.

At this point I'm trying to decide if the patch should be optional or
not.  We know of no reason to make it optional, do you?

- --
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAklIEA0ACgkQJvkB8SevrsvqVACggnKqZncxjW+YMUtbuSXT8/K+
VakAnjgxg7jc0ZGV/VFE3rQEtWlg8wCd
=lPSn
-----END PGP SIGNATURE-----


More information about the freebsd-python mailing list