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

bpo-40528: Implement a metadata system for ASDL Generator #20193

Merged
merged 1 commit into from Jun 22, 2021

Conversation

@isidentical
Copy link
Member

@isidentical isidentical commented May 18, 2020

ASDL Generator was lack of proper annotation related to the generated
module. This patch implements a MetadataVisitor that produces a
metadata object to pass to other visitors that are visiting that
same module. For the initial patch, it dynamically retrieves int
sequences (like cmpop), that was previously hardcoded. It offers
an interface that is easy to extend.

https://bugs.python.org/issue40528

@pablogsal
Copy link
Member

@pablogsal pablogsal commented May 18, 2020

Re-triggering CI

@isidentical
Copy link
Member Author

@isidentical isidentical commented May 18, 2020

Thanks @pablogsal, it looks like everything is passing now.

@pablogsal
Copy link
Member

@pablogsal pablogsal commented Sep 8, 2020

@isidentical Can you rebase?

@isidentical isidentical force-pushed the isidentical:bpo-40528-metadata branch from 8546a43 to d5020da Sep 8, 2020
@isidentical
Copy link
Member Author

@isidentical isidentical commented Sep 8, 2020

@isidentical Can you rebase?

Sure, rebased!

@isidentical isidentical force-pushed the isidentical:bpo-40528-metadata branch from d5020da to 25b3f0f Oct 10, 2020
ASDL Generator was lack of proper annotation related to generated
module. This patch implements a MetadataVisitor that produces a
metadata object to pass to other visitors that are visiting that
same module. For the inital patch, it dynamically retrieves int
sequences (like cmpop), that was previously hardcoded. It offers
an interface that is easy to extend.
@isidentical isidentical force-pushed the isidentical:bpo-40528-metadata branch from 25b3f0f to 73800af Jun 22, 2021
@isidentical isidentical reopened this Jun 22, 2021
@isidentical isidentical merged commit 35ad425 into python:main Jun 22, 2021
20 checks passed
20 checks passed
@github-actions
Check for source changes
Details
@github-actions
Check for source changes
Details
@github-actions
Check if generated files are up to date
Details
@github-actions
Check if generated files are up to date
Details
@github-actions
Windows (x86)
Details
@github-actions
Windows (x86)
Details
@github-actions
Windows (x64)
Details
@github-actions
Windows (x64)
Details
@github-actions
macOS
Details
@github-actions
macOS
Details
@github-actions
Ubuntu
Details
@github-actions
Ubuntu
Details
@github-actions
Ubuntu SSL tests with OpenSSL
Details
@github-actions
Ubuntu SSL tests with OpenSSL
Details
@github-actions
Address sanitizer Address sanitizer
Details
@github-actions
Address sanitizer Address sanitizer
Details
Azure Pipelines PR #20210622.27 succeeded
Details
@travis-ci
Travis CI - Pull Request Build Passed
Details
@bedevere-bot
bedevere/issue-number Issue number 40528 found
Details
@bedevere-bot
bedevere/news "skip news" label found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants