Skip to content

Implement support for validation of pattern matching ASTs #88063

Closed

Description

@isidentical
BPO 43897
Nosy @ncoghlan, @pablogsal, @miss-islington, @brandtbucher, @isidentical
PRs
  • bpo-43897: Implement AST validation for Pattern Matching #24771
  • [3.10] bpo-43897: ast validation for pattern matching nodes #27074
  • bpo-43897: Reject "_" captures and top-level MatchStar in the AST validator #27432
  • [3.10] bpo-43897: Reject "_" captures and top-level MatchStar in the AST validator (GH-27432) #27435
  • Dependencies
  • bpo-43892: Make match patterns explicit in the AST
  • 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 = 'https://github.com/isidentical'
    closed_at = <Date 2021-07-29.01:03:10.257>
    created_at = <Date 2021-04-20.19:35:33.527>
    labels = ['3.10']
    title = 'Implement support for validation of pattern matching ASTs'
    updated_at = <Date 2021-07-29.01:03:10.257>
    user = 'https://github.com/isidentical'

    bugs.python.org fields:

    activity = <Date 2021-07-29.01:03:10.257>
    actor = 'brandtbucher'
    assignee = 'BTaskaya'
    closed = True
    closed_date = <Date 2021-07-29.01:03:10.257>
    closer = 'brandtbucher'
    components = []
    creation = <Date 2021-04-20.19:35:33.527>
    creator = 'BTaskaya'
    dependencies = ['43892']
    files = []
    hgrepos = []
    issue_num = 43897
    keywords = ['patch']
    message_count = 5.0
    messages = ['391469', '397231', '398402', '398446', '398447']
    nosy_count = 5.0
    nosy_names = ['ncoghlan', 'pablogsal', 'miss-islington', 'brandtbucher', 'BTaskaya']
    pr_nums = ['24771', '27074', '27432', '27435']
    priority = 'critical'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue43897'
    versions = ['Python 3.10']

    Activity

    1. isidentical commented on Apr 20, 2021

      @isidentical
      SponsorMemberAuthor

      ASTs of case clauses for PEP-636 are not validated through PyAST_Validate right now, which might crash the Python interpreter when compiling some trees that doesn't hold the assumptions of the compiler.

    2. self-assigned this
      on Apr 20, 2021
    3. self-assigned this
      on Apr 20, 2021
    4. pablogsal commented on Jul 10, 2021

      @pablogsal
      Member

      New changeset 2f76368 by Batuhan Taskaya in branch '3.10':
      [3.10] bpo-43897: ast validation for pattern matching nodes (GH-27074)
      2f76368

    5. brandtbucher commented on Jul 28, 2021

      @brandtbucher
      Member

      New changeset 31bec6f by Batuhan Taskaya in branch 'main':
      bpo-43897: AST validation for pattern matching nodes (GH24771)
      31bec6f

    6. brandtbucher commented on Jul 29, 2021

      @brandtbucher
      Member

      New changeset 8d06474 by Brandt Bucher in branch 'main':
      bpo-43897: Reject "_" captures and top-level MatchStar in the AST validator (GH-27432)
      8d06474

    7. miss-islington commented on Jul 29, 2021

      @miss-islington
      Contributor

      New changeset 405f5c5 by Miss Islington (bot) in branch '3.10':
      [3.10] bpo-43897: Reject "_" captures and top-level MatchStar in the AST validator (GH-27432) (GH-27435)
      405f5c5

    8. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions