-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Remove deprecated sre_* modules #105456
Copy link
Copy link
Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-regextype-featureA feature request or enhancementA feature request or enhancement
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-regextype-featureA feature request or enhancementA feature request or enhancement
Fields
Give feedbackNo fields configured for issues without a type.
Feature or enhancement
sre_*modules likesre_constants,sre_compile, andsre_parsewere deprecated in3.11in 1be3260Our regular deprecation policy is that the deprecated things can be removed in N + 2 release, which is
3.13.Pitch
Let's remove them if there are no objections.
I guess it is safe to remove them for several reasons:
re._parser,re._constants, andre._compilermodules that are used insteadThe only argument agaist removing them:
I will send a PR once we settle it:
@vstinner @serhiy-storchaka what's your opinion?
Linked PRs
sre_*modules #135994