This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Steven Adams
Recipients Steven Adams
Date 2016-04-18.04:51:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460955119.44.0.370193254434.issue26793@psf.upfronthosting.co.za>
In-reply-to
Content
I've ran into a strange issue after trying to port a project to support py 3.x

The app uses a double os.fork to run in the background. On py 3.4+ it seems that when you have an import uuid statement it causes threading.threads to always return false on is_alive()..

Here is an example of the issue. You can see i've imported uuid. This script should fork into the background and stay alive for at least 3 loops (3 seconds) but it dies after 1 loop as self._thread.is_alive() return False??

http://paste.pound-python.org/show/WbDkqPqu94zEstHG6Xl1/

This does NOT happen in py 2.7 or py3.3. Only occurs py3.4+
History
Date User Action Args
2016-04-18 04:51:59Steven Adamssetrecipients: + Steven Adams
2016-04-18 04:51:59Steven Adamssetmessageid: <1460955119.44.0.370193254434.issue26793@psf.upfronthosting.co.za>
2016-04-18 04:51:59Steven Adamslinkissue26793 messages
2016-04-18 04:51:58Steven Adamscreate