Deprecate `codecs.open()` · Issue #133036 · python/cpython · GitHub
Skip to content

Deprecate codecs.open() #133036

Description

@methane

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() (or io.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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions