Skip to content

python 3.13.0rc3 and collections.abc #10000

Closed
pylint-dev/astroid
#2598
@stanislavlevin

Description

@stanislavlevin

Bug description

False positive error of missing name in collections.abc.
For example linting over the code:

from collections.abc import MutableMapping

reports:

No name 'MutableMapping' in module 'collections.abc' (no-name-in-module)

This error started with updating Python from 3.13.0rc2 to 3.13.0rc3.
Most likely caused by python/cpython#124735

Command used

pylint

Pylint output

No name 'MutableMapping' in module 'collections.abc' (no-name-in-module)

Expected behavior

No error

Pylint version

Python 3.13.0rc3
astroid-3.3.4
pylint-3.3.1

Metadata

Metadata

Labels

False Positive 🦟A message is emitted but nothing is wrong with the codeNeeds astroid updateNeeds an astroid update (probably a release too) before being mergablepython 3.13

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions