[issue5840] "Thread State and the Global Interpreter Lock" section of the docs doesn't cover TLS APIs

2021-06-20 Thread Irit Katriel
Irit Katriel added the comment: Indeed, this API was deprecated in 3.7: https://docs.python.org/3/c-api/init.html#thread-local-storage-tls-api -- nosy: +iritkatriel resolution: -> out of date stage: needs patch -> resolved status: open -> closed

[issue5840] "Thread State and the Global Interpreter Lock" section of the docs doesn't cover TLS APIs

2018-02-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: I believe this issue is superseded by PEP539 and issue25658? -- nosy: +csabella ___ Python tracker

[issue5840] Thread State and the Global Interpreter Lock section of the docs doesn't cover TLS APIs

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Actually, I don't think the TLS APIs should be documented. They are quite internal, and used only for the PyGILState APIs. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue5840] Thread State and the Global Interpreter Lock section of the docs doesn't cover TLS APIs

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: They are used by pyOpenSSL and pygobject/pyglib, though :/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5840 ___

[issue5840] Thread State and the Global Interpreter Lock section of the docs doesn't cover TLS APIs

2009-04-27 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed init.rst.diff in r72037. Next step: document TLS APIs. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5840 ___

[issue5840] Thread State and the Global Interpreter Lock section of the docs doesn't cover TLS APIs

2009-04-25 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone exar...@divmod.com: Python includes several APIs for manipulating TLS: PyAPI_FUNC(int) PyThread_create_key(void); PyAPI_FUNC(void) PyThread_delete_key(int); PyAPI_FUNC(int) PyThread_set_key_value(int, void *); PyAPI_FUNC(void *)

[issue5840] Thread State and the Global Interpreter Lock section of the docs doesn't cover TLS APIs

2009-04-25 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment: This is at least relevant to 2.7, reflect this in the issue. Patch to remove the notion we don't support TLS yet. We will need to see where to add the current functions in the overall scheme of threading documentation.

[issue5840] Thread State and the Global Interpreter Lock section of the docs doesn't cover TLS APIs

2009-04-25 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Looks good. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5840 ___ ___ Python-bugs-list