gh-105687: Remove deprecated objects from re module#105688
Conversation
|
I already proposed to remove these APIs directly, without deprecation period. But @serhiy-storchaka wanted to collect feedback of users with a deprecation period. So far, I am not aware of any feedback. This feature can be reimplemented outside Python stdlib if needed, no? |
Sorry, something went wrong.
Actually, I initially removed it without deprecation, because it clearly looked to me as unfinished in process of initial implementation and later broken feature. My best guess is that it was purposed to make all quntifiers possessive. But initial implementation of atomic groups and possessive quantifiers was broken. Now we have working implementation, and can enable that feature. To disable backtracking it would need also wrap every alternation into atomic group. We can do this now if it was initial purpose, but I have no idea why somebody would need such feature. |
Sorry, something went wrong.
vstinner
left a comment
There was a problem hiding this comment.
LGTM. Thanks for the enhanced doc.
Sorry, something went wrong.
|
Merged, thanks. |
Sorry, something went wrong.
re.template,re.T,re.TEMPLATE#105687📚 Documentation preview 📚: https://cpython-previews--105688.org.readthedocs.build/