Skip to content

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