Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Deprecate codecs.open() #133036

Copy link
Copy link
Closed
Closed
Copy link
@methane

Description

@methane
Issue body actions

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

Metadata

Metadata

Assignees

Labels

stdlibPython modules in the Lib dirPython modules in the Lib dirtype-featureA feature request or enhancementA feature request or enhancement

Projects

Status

Done
Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.