GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — gh-113317: Add ParseArgsCodeGen class by vstinner · Pull Request #117707 · python/cpython Conversation
|
|
This PR is based on PR gh-117626. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
781133c to
b17f552
Compare
|
PR rebased on top of merged #117626. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The previous PR used the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This is nice! Should we consider adding this as a separate module? Or would |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
CLanguage uses ParseArgsCodeGen which uses CLanguage... There is an inter-dependency. It's more convenient to have both classes in the same file. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yes, there are inter-dependencies everywhere :( |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I updated this PR to rename Codegen to CodeGen. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I broke the inter-dependency between CLanguage and ParseArgsCodeGen, and I moved declare_parser() and ParseArgsCodeGen to a new |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Nice, so now we can make the parser templates globals of the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Done. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.