Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mentioning structural pattern matching in the list of binding #89782

Closed
Arthur-Milchior mannequin opened this issue Oct 27, 2021 · 4 comments
Closed

Mentioning structural pattern matching in the list of binding #89782

Arthur-Milchior mannequin opened this issue Oct 27, 2021 · 4 comments
Labels
3.10 only security fixes 3.11 only security fixes docs Documentation in the Doc dir

Comments

@Arthur-Milchior
Copy link
Mannequin

Arthur-Milchior mannequin commented Oct 27, 2021

BPO 45619
Nosy @gvanrossum, @miss-islington, @Arthur-Milchior
PRs
  • bpo-45619: documentation of execution model: clarify and update binding summary #29232
  • [3.10] bpo-45619: documentation of execution model: clarify and update binding summary (GH-29232) #29787
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-11-26.06:17:43.397>
    created_at = <Date 2021-10-27.02:27:59.797>
    labels = ['3.11', '3.10', 'docs']
    title = 'Mentioning structural pattern matching in the list of binding'
    updated_at = <Date 2021-11-26.06:17:43.397>
    user = 'https://github.com/Arthur-Milchior'

    bugs.python.org fields:

    activity = <Date 2021-11-26.06:17:43.397>
    actor = 'gvanrossum'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2021-11-26.06:17:43.397>
    closer = 'gvanrossum'
    components = ['Documentation']
    creation = <Date 2021-10-27.02:27:59.797>
    creator = 'Arthur-Milchior'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45619
    keywords = ['patch']
    message_count = 4.0
    messages = ['405066', '405068', '407027', '407028']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'docs@python', 'miss-islington', 'Arthur-Milchior']
    pr_nums = ['29232', '29787']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45619'
    versions = ['Python 3.10', 'Python 3.11']

    @Arthur-Milchior
    Copy link
    Mannequin Author

    Arthur-Milchior mannequin commented Oct 27, 2021

    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

    @Arthur-Milchior Arthur-Milchior mannequin added 3.10 only security fixes 3.11 only security fixes labels Oct 27, 2021
    @Arthur-Milchior Arthur-Milchior mannequin added docs Documentation in the Doc dir 3.10 only security fixes 3.11 only security fixes labels Oct 27, 2021
    @Arthur-Milchior Arthur-Milchior mannequin added the docs Documentation in the Doc dir label Oct 27, 2021
    @gvanrossum
    Copy link
    Member

    Thanks!

    @gvanrossum
    Copy link
    Member

    New changeset cd876c8 by Arthur Milchior in branch 'main':
    bpo-45619: documentation of execution model: clarify and update binding summary (bpo-29232)
    cd876c8

    @miss-islington
    Copy link
    Contributor

    New changeset 7842aed by Miss Islington (bot) in branch '3.10':
    bpo-45619: documentation of execution model: clarify and update binding summary (GH-29232)
    7842aed

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.10 only security fixes 3.11 only security fixes docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants