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: What’s New In Python 3.11: wrong reference to Signature.from_callable
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Mariatta, docs@python, hugovk, jwilk
Priority: normal Keywords: patch

Created on 2021-11-26 14:43 by jwilk, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 29813 merged hugovk, 2021-11-27 08:45
Messages (4)
msg407054 - (view) Author: Jakub Wilk (jwilk) Date: 2021-11-26 14:43
<https://docs.python.org/3.11/whatsnew/3.11.html#removed> says:

"Removed from the inspect module: […] the undocumented Signature.from_callable and Signature.from_function functions, deprecated since Python 3.5; use the Signature.from_callable() method instead."

But Signature.from_callable can't possibly be removed and the suggested replacement at the same time.

I think it should say: "… the undocumented Signature.from_builtin and …"
msg407137 - (view) Author: Hugo van Kemenade (hugovk) * (Python triager) Date: 2021-11-27 08:47
Thanks Jakub! I've made https://github.com/python/cpython/pull/29813 to fix it.
msg409503 - (view) Author: Mariatta (Mariatta) * (Python committer) Date: 2022-01-02 16:52
New changeset 7a8796dc67d691e43eed69969e7706fefe0f16e9 by Hugo van Kemenade in branch 'main':
bpo-45903: Fix typo in What's New: Signature.from_builtin is removed (GH-29813)
https://github.com/python/cpython/commit/7a8796dc67d691e43eed69969e7706fefe0f16e9
msg409504 - (view) Author: Mariatta (Mariatta) * (Python committer) Date: 2022-01-02 16:54
Thanks Jakub for reporting the issue, and thanks Hugo for the PR.
History
Date User Action Args
2022-04-11 14:59:52adminsetgithub: 90061
2022-01-02 16:54:21Mariattasetstatus: open -> closed
resolution: fixed
messages: + msg409504

stage: patch review -> resolved
2022-01-02 16:52:04Mariattasetnosy: + Mariatta
messages: + msg409503
2021-11-27 08:47:05hugovksetmessages: + msg407137
2021-11-27 08:45:34hugovksetkeywords: + patch
stage: patch review
pull_requests: + pull_request28045
2021-11-26 16:20:09AlexWaygoodsettype: behavior
2021-11-26 14:43:12jwilkcreate