Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #70615
| From | Ned Deily <nad@acm.org> |
|---|---|
| Subject | Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution |
| Date | 2014-04-25 11:58 -0700 |
| References | <a087ae04-a87c-4e77-a7dd-2d883d30a6f0@googlegroups.com> <CAPTjJmpXuj9N3cdQcH0oJaVkSfVrqJWHH1GSt3FafkcGyw54Ag@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.9511.1398452352.18130.python-list@python.org> (permalink) |
In article <CAPTjJmpXuj9N3cdQcH0oJaVkSfVrqJWHH1GSt3FafkcGyw54Ag@mail.gmail.com>, Chris Angelico <rosuav@gmail.com> wrote: > On Fri, Apr 25, 2014 at 11:43 PM, Matthew Pounsett > <matt.pounsett@gmail.com> wrote: > > If I insert that object into the test code and run it instead of > > MyThread(), I get the error. I can't see anything in there that should > > cause problems for the threading module though... especially since this > > runs fine on another system with the same version of python. > > > > Any thoughts on what's going on here? > > First culprit I'd look at is the mixing of subprocess and threading. > It's entirely possible that something goes messy when you fork from a > thread. FWIW, the Python 2 version of subprocess is known to be thread-unsafe. There is a Py2 backport available on PyPI of the improved Python 3 subprocess module: http://bugs.python.org/issue20318 https://pypi.python.org/pypi/subprocess32/ -- Ned Deily, nad@acm.org
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
MacOS 10.9.2: threading error using python.org 2.7.6 distribution Matthew Pounsett <matt.pounsett@gmail.com> - 2014-04-25 06:43 -0700
Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution Chris Angelico <rosuav@gmail.com> - 2014-04-26 00:05 +1000
Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution Matthew Pounsett <matt.pounsett@gmail.com> - 2014-04-27 07:16 -0700
Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution Chris Angelico <rosuav@gmail.com> - 2014-04-28 00:33 +1000
Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution Matthew Pounsett <matt.pounsett@gmail.com> - 2014-04-28 15:50 -0700
Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution Chris Angelico <rosuav@gmail.com> - 2014-04-29 09:00 +1000
Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution Ned Deily <nad@acm.org> - 2014-04-25 11:58 -0700
Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution Matthew Pounsett <matt.pounsett@gmail.com> - 2014-04-27 07:18 -0700
csiph-web