Tin mới
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
Code ReviewManage code changes
Code QualityEnforce quality at merge
GitHub Advanced SecurityFind and fix vulnerabilities
Code securitySecure your code as you build
Secret protectionStop leaks before they start
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Deprecate codecs.open() #133036
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
bedevere-app Bot commented Apr 27, 2025
When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.
codecs_open_nowarn -> codecs_open_no_warn
remove codecs.open from error message
https://github.com/python/cpython/blob/main/Doc/deprecations/pending-removal-in-future.rst
Please could you also list it in https://github.com/python/cpython/blob/main/Doc/deprecations/pending-removal-in-future.rst ?
add pending-removal-in-future entry
Apply suggestions from code review
Update Doc/deprecations/pending-removal-in-future.rst
Update Lib/test/test_codecs.py
DeprecationWarning: codecs.open() deprecated in Python 3.14 zensical/zensical#427
fix: replace deprecated codecs.open() with built-in open() (#429) zensical/zensical#428
DeprecationWarning: codecs.open() deprecated in Python 3.14 zensical/zensical#429