[issue6800] os.exec* raises "OSError: [Errno 45] Operation not supported" in a multithreaded application

Gregory P. Smith report at bugs.python.org
Sat Aug 29 09:15:40 CEST 2009


Gregory P. Smith <greg at krypto.org> added the comment:

There is no OS level API to kill threads.  Python does not kill threads. 

When you exec, your entire process should be replaced by the OS, threads
shouldn't matter they should simply disappear just as the rest of your
process state does.

This is an OS problem.

Most macosx users will only ever use the python that apple feeds them so
I don't see what point working around this in Python would have given
that snow leopard (10.6) appears to fix this.

Feel free to contribute patches with appropriate autoconf magic and
ifdefs surrounding them if you feel otherwise.

----------
nosy: +gregory.p.smith

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6800>
_______________________________________


More information about the Python-bugs-list mailing list