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 grahamd, neologix, pitrou, python-dev, vstinner
Date 2011-10-12.20:14:08
SpamBayes Score 3.7987431e-06
Marked as misclassified No
Message-id <CAH_1eM36mEdzRdbjF-eakgxLKJYjzE_kNWSUKm84Rt7K7fd38g@mail.gmail.com>
In-reply-to <E1RE49N-0004KO-O6@dinsdale.python.org>
Content
Here's a patch for 3.2 and default which calls
PyThread_set_key_value() only if there was an auto thread state
previously associated (while the current code works with pthread TLS,
there are other implementations which may behave strangely, and
there's still the ad-hoc implementation in Python/thread.c).
Files
File name Uploaded
tstate_after_fork.diff neologix, 2011-10-12.20:14:07
History
Date User Action Args
2011-10-12 20:14:09neologixsetrecipients: + neologix, pitrou, vstinner, grahamd, python-dev
2011-10-12 20:14:08neologixlinkissue13156 messages
2011-10-12 20:14:08neologixcreate