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: Improve the docs of most Py*_Check{,Exact} API calls
Type: enhancement Stage: resolved
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: antocuni, docs@python, miss-islington, vstinner
Priority: normal Keywords: patch

Created on 2020-12-01 16:47 by antocuni, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 23602 merged antocuni, 2020-12-01 16:48
PR 24139 merged miss-islington, 2021-01-06 12:08
Messages (3)
msg382269 - (view) Author: Antonio Cuni (antocuni) * Date: 2020-12-01 16:47
I think that none of these API calls can fail, but only few of them are
documented as such. E.g. PyNumber_Check contains the sentece "This function always succeeds" but PyBytes_Check does not.
msg384493 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-01-06 11:38
New changeset 315fc52db17b19fe30aa9193f26adf69e18d8844 by Antonio Cuni in branch 'master':
bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602)
https://github.com/python/cpython/commit/315fc52db17b19fe30aa9193f26adf69e18d8844
msg384498 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-01-06 12:54
New changeset faf49573963921033c608b4d2f398309d9f0d2b5 by Miss Islington (bot) in branch '3.9':
bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) (GH-24139)
https://github.com/python/cpython/commit/faf49573963921033c608b4d2f398309d9f0d2b5
History
Date User Action Args
2022-04-11 14:59:38adminsetgithub: 86694
2022-03-19 20:08:33iritkatrielsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-01-06 12:54:26vstinnersetmessages: + msg384498
2021-01-06 12:08:23miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request22968
2021-01-06 11:38:55vstinnersetmessages: + msg384493
2020-12-01 22:09:13vstinnersetnosy: + vstinner
2020-12-01 16:48:55antocunisetkeywords: + patch
stage: patch review
pull_requests: + pull_request22471
2020-12-01 16:47:45antocunicreate