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: Mentioning structural pattern matching in the list of binding
Type: Stage: resolved
Components: Documentation Versions: Python 3.11, Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Arthur-Milchior, docs@python, gvanrossum, miss-islington
Priority: normal Keywords: patch

Created on 2021-10-27 02:27 by Arthur-Milchior, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 29232 merged Arthur-Milchior, 2021-10-27 02:32
PR 29787 merged miss-islington, 2021-11-26 05:19
Messages (4)
msg405066 - (view) Author: Arthur Milchior (Arthur-Milchior) * Date: 2021-10-27 02:27
https://docs.python.org/3/reference/executionmodel.html list all of the way a variable may be bound. However, it seems that it was not updated. Indeed, structural pattern matching in 3.10 also allows to bind a variable and is not mentionned.

As a related issue, the sentence is far too long and really would need to be broken down. At the very least, the special case "and targets that are identifiers if" is not clear, it is not indicated whether this case extends to the end of the sentence or is just local
msg405068 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-10-27 03:42
Thanks!
msg407027 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-11-26 05:19
New changeset cd876c84932ecc2f7a6c41f3fc800a34d5b06b95 by Arthur Milchior in branch 'main':
bpo-45619: documentation of execution model: clarify and update binding summary (#29232)
https://github.com/python/cpython/commit/cd876c84932ecc2f7a6c41f3fc800a34d5b06b95
msg407028 - (view) Author: miss-islington (miss-islington) Date: 2021-11-26 05:36
New changeset 7842aed7a7938df20b652177458407683e7f1a0b by Miss Islington (bot) in branch '3.10':
bpo-45619: documentation of execution model: clarify and update binding summary (GH-29232)
https://github.com/python/cpython/commit/7842aed7a7938df20b652177458407683e7f1a0b
History
Date User Action Args
2022-04-11 14:59:51adminsetgithub: 89782
2021-11-26 06:17:43gvanrossumsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-11-26 05:36:44miss-islingtonsetmessages: + msg407028
2021-11-26 05:19:18miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request28023
2021-11-26 05:19:14gvanrossumsetmessages: + msg407027
2021-10-27 03:42:58gvanrossumsetnosy: + gvanrossum
messages: + msg405068
2021-10-27 02:32:15Arthur-Milchiorsetkeywords: + patch
stage: patch review
pull_requests: + pull_request27495
2021-10-27 02:27:59Arthur-Milchiorcreate