Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non existent member not detected on datetime.datetime #9497

Open
dmmartins opened this issue Mar 12, 2024 · 0 comments
Open

Non existent member not detected on datetime.datetime #9497

dmmartins opened this issue Mar 12, 2024 · 0 comments
Labels
False Negative 🦋 No message is emitted but something is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation

Comments

@dmmartins
Copy link

Bug description

"""
Pylint test
"""

import datetime

print(datetime.datetime.not_a_member)

Configuration

No response

Command used

pylint a.py

Pylint output

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

Expected behavior

I should detect a no-member error

Pylint version

pylint 3.1.0
astroid 3.1.0
Python 3.11.4 (main, Aug 17 2023, 00:58:58) [Clang 14.0.3 (clang-1403.0.22.14.1)]

OS / Environment

macOS 13.6.1

Additional dependencies

No response

@dmmartins dmmartins added the Needs triage 📥 Just created, needs acknowledgment, triage, and proper labelling label Mar 12, 2024
@Pierre-Sassoulas Pierre-Sassoulas added False Negative 🦋 No message is emitted but something is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation and removed Needs triage 📥 Just created, needs acknowledgment, triage, and proper labelling labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
False Negative 🦋 No message is emitted but something is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation
Projects
None yet
Development

No branches or pull requests

2 participants