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

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed, not a Python bug. -- nosy: +pitrou resolution: -> rejected status: open -> closed ___ Python tracker ___ __

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

2011-01-03 Thread Ross Lagerwall
Ross Lagerwall added the comment: I tested this on FreeBSD 8.1 - it outputs 'hello world'. I think this should be closed - i think the os.exec* functions should mirror the operating system exec* functions. If the platform has a limitation then so be it. And it seems like the latest versions

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

2009-12-08 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- assignee: ronaldoussoren -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

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

2009-08-29 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- priority: -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

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

2009-08-29 Thread Gregory P. Smith
Gregory P. Smith 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 proble

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

2009-08-28 Thread Reid Kleckner
Reid Kleckner added the comment: Supposedly this bug also affects FreeBSD, but I can't verify it. I'd say the problem isn't going away, at least not for that platform, but I don't feel like it's worth bending over backwards to deal with it either. As far as it concerns unladen swallow, we'll b

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

2009-08-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: The issue with execv seems to be resolved on OSX 10.6, and hence the problem will go away by itself in the future. But until OSX 10.5 and earlier have died of this is a valid issue. My gut feeling is that I'm -1 on killing all threads in os.execv because it

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

2009-08-28 Thread Reid Kleckner
New submission from Reid Kleckner : The test case is attached. On Mac OS X (and presumably FreeBSD, which has the same behavior) when you try to exec from a process that has any other threads in it, you get an OSError, "Operation not supported". Here's the output on my MacBook: Traceback (most