Bug description
On Python 3.14 with pylint 4.0.1, process this Python file:
# pylint: disable=missing-module-docstring
from pathlib import Path
cwd = Path.cwd()
parents = cwd.parents
print(parents[0].name)
This produces:
t.py:6:6: E1101: Instance of 'tuple' has no 'name' member (no-member)
This does not happen with Python 3.13.
(Related issue in the past: pylint-dev/pylint#5832)
Configuration
Command used
Pylint output
************* Module t
t.py:6:6: E1101: Instance of 'tuple' has no 'name' member (no-member)
------------------------------------------------------------------
Your code has been rated at 0.00/10 (previous run: 0.00/10, +0.00)
Expected behavior
Pylint passes without reporting errors.
Pylint version
pylint 4.0.1
astroid 4.0.1
Python 3.14.0 (main, Oct 8 2025, 21:26:41) [GCC 14.2.0]
OS / Environment
python:3.14-slim Docker container with pip install pylint
Additional dependencies
Bug description
On Python 3.14 with pylint 4.0.1, process this Python file:
This produces:
t.py:6:6: E1101: Instance of 'tuple' has no 'name' member (no-member)
This does not happen with Python 3.13.
(Related issue in the past: pylint-dev/pylint#5832)
Configuration
Command used
Pylint output
Expected behavior
Pylint passes without reporting errors.
Pylint version
OS / Environment
python:3.14-slimDocker container withpip install pylintAdditional dependencies