bpo-37324: Remove ABC aliases from collections by hugovk · Pull Request #23754 · python/cpython · GitHub

github.com

Tin mới

hugovk:rm-collections-abc-aliases

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

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

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

html5lib/html5lib-python#403

Remove deprecated aliases to Abstract Base Classes from the collections module.

bpo-37324: Remove ABC aliases from collections

bpo-25988: Emit a warning when use or import ABCs from 'collections'. #5460

bpo-36953: Delay removal of ABCs from collections. #13409

bpo-39674: Revert "bpo-25988: Do not expose abstract collection classes in the collections module. (GH-10596)" #18545

View reviewed changes

bpo-40937: Do not expose abstract collection classes in the collections module #20774

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Import ABC from collections.abc for Python 3.10 compatibility. aimhubio/aimrecords#28

New release of github3.py sigmavirus24/github3.py#951

Fix DeprecationWarning on Python 3.10 astanin/python-tabulate#105

collections deprecation warning (potential incompatibility with Python 3.9) pyreadline/pyreadline#65

skip pyreadline dependency on Windows with Python 3.9+ xolox/python-humanfriendly#45

Import ABC from collections.abc for py 3.10 compatibility StackStorm/st2#5007

Fix deprecation warning that appear in Python 3.8+ prkumar/uplink#203

Import ABC from collections.abc for Python 3.10 compatibility. OctoPrint/OctoPrint#4043

bpo-37324: Remove ABC aliases from collections (

TST: use pytest, instead of nose

TST: use pytest, instead of nose

TST: use pytest, instead of nose

https://github.com/nose-devs/nose/blob/release_1.3.7/nose/tools/trivial.py#L32-L54

https://github.com/python/cpython/blob/6fdc4d37f3fdbc1bd51f841be6e5e4708a3b8798/Lib/unittest/case.py#L156-L243

https://github.com/pytest-dev/pytest/blob/4.6.11/setup.cfg#L48

https://github.com/pytest-dev/pytest/blob/5.0.0/setup.cfg#L43

https://github.com/pytest-dev/pytest-xdist

https://github.com/pytest-dev/pytest-forked

TST: use pytest, instead of nose

TST: use pytest, instead of nose

python script error when trying to launch radio addon xbmc/xbmc#20564

Fix ABC alias for Python 3.10 isce-framework/isce2#424