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-46541: Generate the global objects initializer. #30941

Merged

Conversation

@ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Jan 27, 2022

This change is a prerequisite for generating code for other global objects (like strings in gh-30928).

(I borrowed some code from Tools/scripts/deepfreeze.py.)

https://bugs.python.org/issue46541

@pxeger
Copy link
Contributor

@pxeger pxeger commented Jan 27, 2022

This should probably be documented in the devguide

@ericsnowcurrently
Copy link
Member Author

@ericsnowcurrently ericsnowcurrently commented Jan 27, 2022

This should probably be documented in the devguide

Yeah, we should definitely add some documentation there about the various code generation tools we use:

  • argument clinic
  • blurb
  • freeze_modules.py
  • deepfreeze.py
  • ...

Consider opening a BPO issue so this doesn't get lost. Feel free to nosy me.

@ericsnowcurrently ericsnowcurrently merged commit 247480a into python:main Jan 27, 2022
11 checks passed
@ericsnowcurrently ericsnowcurrently deleted the global-objects-generated-code branch Jan 27, 2022
@pxeger
Copy link
Contributor

@pxeger pxeger commented Jan 27, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants