-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
False Negative 🦋No message is emitted but something is wrong with the codeNo message is emitted but something is wrong with the codeGood first issueFriendly and approachable by new contributorsFriendly and approachable by new contributorsNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementation
Milestone
Description
Bug description
isinstance(5)
isinstance(5, int, int)
Configuration
No response
Command used
pylint
Pylint output
No warnings
Expected behavior
Pylint should warn that the number of arguments is wrong.
I don't know if this affects other builtin functions.
Pylint version
pylint 3.2.6
astroid 3.2.4
Python 3.11.1 (main, Dec 7 2022, 01:11:44) [GCC 9.4.0]
OS / Environment
No response
Additional dependencies
No response
Pierre-Sassoulas
Metadata
Metadata
Assignees
Labels
False Negative 🦋No message is emitted but something is wrong with the codeNo message is emitted but something is wrong with the codeGood first issueFriendly and approachable by new contributorsFriendly and approachable by new contributorsNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementation