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.

classification
Title: PyGILState_GetThisThreadState() lacks a doc entry
Type: Stage: resolved
Components: Documentation Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, ezio.melotti, pitrou, python-dev, sandro.tosi, vstinner
Priority: normal Keywords: patch

Created on 2010-12-20 18:09 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue10741-default.patch sandro.tosi, 2011-08-07 21:14 review
Messages (4)
msg124394 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-12-20 18:09
PyGILState_GetThisThreadState() is "documented" in Include/pystate.h but not in the official docs. It should be documented along PyGILState_Ensure() and friends.
msg141748 - (view) Author: Sandro Tosi (sandro.tosi) * (Python committer) Date: 2011-08-07 21:14
Here attached a very simple patch, made by slightly re-editing the comment in pystate.h.
msg141751 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-08-07 22:20
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
msg141752 - (view) Author: Sandro Tosi (sandro.tosi) * (Python committer) Date: 2011-08-07 22:22
I just committed an improved version of the proposed patch (thanks Ezio for the review and help!).
History
Date User Action Args
2022-04-11 14:57:10adminsetgithub: 54950
2011-08-07 22:22:13sandro.tosisetstatus: open -> closed
resolution: fixed
messages: + msg141752

stage: patch review -> resolved
2011-08-07 22:20:30python-devsetnosy: + python-dev
messages: + msg141751
2011-08-07 21:14:38sandro.tosisetfiles: + issue10741-default.patch

versions: + Python 3.3, - Python 3.1
keywords: + patch
nosy: + ezio.melotti, sandro.tosi

messages: + msg141748
stage: patch review
2010-12-20 18:09:49pitroucreate