Skip to content

Update sre_parse module for Python 3.8 - #3412

Merged
srittau merged 2 commits into
python:masterfrom
Michael0x2a:update_sre_parse_for_python38
Oct 28, 2019
Merged

srittau merged 2 commits into
python:masterfrom
Michael0x2a:update_sre_parse_for_python38

Conversation

@Michael0x2a

Copy link
Copy Markdown
Contributor

It seems in Python 3.8, the 'Pattern' object in the (undocumented?) sre_parse module was renamed to 'State', along with a few associated parameters. For example, try taking the diff of:

It seems in Python 3.8, the 'Pattern' object in the (undocumented?)
sre_parse module was renamed to 'State', along with a few associated
parameters. For example, try taking the diff of:

- https://github.com/python/cpython/blob/3.7/Lib/sre_parse.py
- https://github.com/python/cpython/blob/3.8/Lib/sre_parse.py
@srittau
srittau merged commit 6a7c201 into python:master Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants