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 neologix
Recipients neologix, vstinner
Date 2011-06-24.18:05:49
SpamBayes Score 8.546921e-09
Marked as misclassified No
Message-id <BANLkTineg73wSX2_-MyshX-p9FYa6mdC3Q@mail.gmail.com>
In-reply-to <1308870367.06.0.0171125793706.issue12392@psf.upfronthosting.co.za>
Content
> Attached patch implements the suggested fix.

The patch looks good to me.

> It would be possible to fix the test to fail instead of blocking

I think this issue deserves a specific test, since:
- test_pending tests something completely different
- at the time test_pending gets to run, there's a high chance that
threads have already been created

I've attached a patch spawning a new interpreter to test that.
Files
File name Uploaded
pthread_kill_main_thread.diff neologix, 2011-06-24.18:05:49
History
Date User Action Args
2011-06-24 18:05:50neologixsetrecipients: + neologix, vstinner
2011-06-24 18:05:49neologixlinkissue12392 messages
2011-06-24 18:05:49neologixcreate