-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Deprecate codecs.open() #133036
Copy link
Copy link
Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-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/ directorytype-featureA feature request or enhancementA feature request or enhancement
Projects
Status
Done
Discussion: https://discuss.python.org/t/deprecating-codecs-open/88135/
codecs.open()is used a lot because it was recommended in Python 2.But
open()(orio.open()) is recommended since Python 3.It is a time to deprecate
codecs.open().Since it is still widely used, we won't schedule its removal.
Linked PRs