[issue9786] Native TLS support for pthreads

Martin v. Löwis report at bugs.python.org
Mon Sep 13 22:04:49 CEST 2010


Martin v. Löwis <martin at v.loewis.de> added the comment:

> Perhaps we can simply call Py_FatalError() instead? There's not much we
> can do when such a failure occurs anyway.

Sounds fine as well. Python's own usage definitely shouldn't fail. If
extension modules use this in an aggressive manner, they may actually
exhaust TLS keys (at least on Windows, where old versions had only
64 slots). Having the interpreter fail then sounds reasonable.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9786>
_______________________________________


More information about the Python-bugs-list mailing list