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 kristjan.jonsson
Recipients amaury.forgeotdarc, giampaolo.rodola, kristjan.jonsson, loewis, pitrou
Date 2010-09-13.08:00:28
SpamBayes Score 7.7467256e-08
Marked as misclassified No
Message-id <1284364831.25.0.191709368293.issue9786@psf.upfronthosting.co.za>
In-reply-to
Content
I've changed the function as you suggest, although there are in fact no failure detection semantics defined for PyThread_create_key().  See e.g. thread.c:294

/* Return a new key.  This must be called before any other functions in
 * this family, and callers must arrange to serialize calls to this
 * function.  No violations are detected.
 */
int
PyThread_create_key(void)
History
Date User Action Args
2010-09-13 08:00:31kristjan.jonssonsetrecipients: + kristjan.jonsson, loewis, amaury.forgeotdarc, pitrou, giampaolo.rodola
2010-09-13 08:00:31kristjan.jonssonsetmessageid: <1284364831.25.0.191709368293.issue9786@psf.upfronthosting.co.za>
2010-09-13 08:00:29kristjan.jonssonlinkissue9786 messages
2010-09-13 08:00:28kristjan.jonssoncreate