Kristján Valur Jónsson <krist...@ccpgames.com> added the comment: 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) ---------- Added file: http://bugs.python.org/file18868/pthread_tls.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9786> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com