[issue10741] PyGILState_GetThisThreadState() lacks a doc entry

New submission from Antoine Pitrou <pitrou@free.fr>: PyGILState_GetThisThreadState() is "documented" in Include/pystate.h but not in the official docs. It should be documented along PyGILState_Ensure() and friends. ---------- assignee: docs@python components: Documentation messages: 124394 nosy: docs@python, haypo, pitrou priority: normal severity: normal status: open title: PyGILState_GetThisThreadState() lacks a doc entry versions: Python 2.7, Python 3.1, Python 3.2 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10741> _______________________________________

Sandro Tosi <sandro.tosi@gmail.com> added the comment: Here attached a very simple patch, made by slightly re-editing the comment in pystate.h. ---------- keywords: +patch nosy: +ezio.melotti, sandro.tosi stage: -> patch review versions: +Python 3.3 -Python 3.1 Added file: http://bugs.python.org/file22858/issue10741-default.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10741> _______________________________________

Roundup Robot <devnull@psf.upfronthosting.co.za> added the comment: New changeset 8852e4a9aa1e by Sandro Tosi in branch '2.7': #10741: add documentation for PyGILState_GetThisThreadState() http://hg.python.org/cpython/rev/8852e4a9aa1e New changeset 53b8260b9ea7 by Sandro Tosi in branch '3.2': #10741: add documentation for PyGILState_GetThisThreadState() http://hg.python.org/cpython/rev/53b8260b9ea7 New changeset 6adfeec8c482 by Sandro Tosi in branch 'default': #10741: merge with 3.2 http://hg.python.org/cpython/rev/6adfeec8c482 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10741> _______________________________________

Sandro Tosi <sandro.tosi@gmail.com> added the comment: I just committed an improved version of the proposed patch (thanks Ezio for the review and help!). ---------- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10741> _______________________________________
participants (3)
-
Antoine Pitrou
-
Roundup Robot
-
Sandro Tosi