GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Compiler should not need to know how to construct AST nodes · Issue #123881 · python/cpython

Compiler should not need to know how to construct AST nodes #123881

New issue
Copy link
New issue
Copy link
Closed
#123883
Closed
Compiler should not need to know how to construct AST nodes#123881
#123883
Copy link
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-typing

Description

@iritkatriel
iritkatriel
opened on Sep 9, 2024
Issue body actions

There is one place in the compiler where it copies a bit of AST and modifies it to add a base class to generic classes.
It would be nice if the compiler didn't need to know how to do this.

Linked PRs

  • gh-123881: make compiler add the .generic_base base class without constructing AST nodes #123883
  • gh-123881: Add additional test coverage for PEP 695 edge cases #123886
  • [3.13] gh-123881: Add additional test coverage for PEP 695 edge cases (GH-123886) #123890
  • [3.12] gh-123881: Add additional test coverage for PEP 695 edge cases (GH-123886) #123891

Activity

  1. iritkatriel
    added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    on Sep 9, 2024
  2. sobolevn
    added
    topic-typing
    on Sep 9, 2024
  3. sobolevn commented on Sep 9, 2024

    @sobolevn
    sobolevn
    on Sep 9, 2024
    Member
    More actions

    cc @JelleZijlstra who implemented PEP695

  4. iritkatriel
    changed the title [-]Compiler should not modify the AST[/-] [+]Compiler should not need to know how to construct AST nodes[/+] on Sep 9, 2024
  5. JelleZijlstra
    added a commit that references this issue on Sep 9, 2024

    pythongh-123881: Add additional test coverage for PEP 695 edge cases

    bbe2c7a
  6. iritkatriel
    added a commit that references this issue on Sep 10, 2024

    gh-123881: Add additional test coverage for PEP 695 edge cases (#123886)

    b52de7e
  7. miss-islington
    added 2 commits that reference this issue on Sep 10, 2024

    pythongh-123881: Add additional test coverage for PEP 695 edge cases (p…

    adae6e7

    pythongh-123881: Add additional test coverage for PEP 695 edge cases (p…

    7732e0b
  8. diegorusso
    added a commit that references this issue on Sep 10, 2024

    pythongh-123881: Add additional test coverage for PEP 695 edge cases (p…

    8b2375c
  9. JelleZijlstra
    added a commit that references this issue on Sep 10, 2024

    [3.12] gh-123881: Add additional test coverage for PEP 695 edge cases (…

    de20ad9
  10. iritkatriel
    added a commit that references this issue on Sep 10, 2024

    gh-123881: make compiler add the .generic_base base class without con…

    a2d0818
  11. iritkatriel
    closed this as completedin #123883on Sep 10, 2024
  12. Yhg1s
    added a commit that references this issue on Sep 30, 2024

    [3.13] gh-123881: Add additional test coverage for PEP 695 edge cases (…

    601ef40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-typing

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.