Skip to content

gh-91308: Automatically regenerate sre_constants.h #91439

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

Merged

Conversation

serhiy-storchaka
Copy link
Member

  • Move the code for generating Modules/_sre/sre_constants.h from Lib/re/_constants.py into a separate script Tools/scripts/generate_sre_constants.py.
  • Add target regen-sre in the makefile.
  • Make target regen-all depending on regen-sre.

* Move the code for generating Modules/_sre/sre_constants.h from
  Lib/re/_constants.py into a separate script
  Tools/scripts/generate_sre_constants.py.
* Add target `regen-sre` in the makefile.
* Make target `regen-all` depending on `regen-sre`.
@serhiy-storchaka serhiy-storchaka added the type-feature A feature request or enhancement label Apr 11, 2022
@ghost
Copy link

ghost commented Apr 11, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@serhiy-storchaka
Copy link
Member Author

It implements step 3 of #91308.

@serhiy-storchaka serhiy-storchaka changed the title bpo-47152: Automatically regenerate sre_constants.h gh-91308: Automatically regenerate sre_constants.h Apr 12, 2022
@serhiy-storchaka serhiy-storchaka merged commit 474fdbe into python:main Apr 12, 2022
@serhiy-storchaka serhiy-storchaka deleted the generate_sre_constants branch April 12, 2022 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-regex type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants