bpo-25988: Emit a warning when use or import ABCs from 'collections'. by serhiy-storchaka · Pull Request #5460 · python/cpython · GitHub

github.com

Tin mới

serhiy-storchaka:collections-abc-deprecations

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

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

Add six.moves.collections.abc benjaminp/six#155

View reviewed changes

Learn more about hiding disruptive comments

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

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

ABCs should import from collections.abc in Py3.7+ aio-libs/aiohttp#3275

Fix: DeprecationWarning in Python3.7

Fix: DeprecationWarning in Python3.7

Fix: DeprecationWarning in Python3.7 aio-libs/aiozmq#152

Fix DeprecationWarning from classes in collections.abc ycm-core/ycmd#1134

Fix warnings from collections slezica/python-frozendict#23

- yan12125:fix-collections-abc-warning, r=micbou

DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working shizmob/pydle#95

Frozendict is broken on Python 3.8, warns on 3.7 slezica/python-frozendict#25

bpo-37324: Remove ABC aliases from collections #23754

Stop using deprecated functions in std Python lib

Update git submodules