You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Demonstrate pylint issue."""importctypesx=ctypes.c_float(1.0)
# The line below produces a strange PyLint warning:## E1101: Class 'value' has no 'is_integer' member (no-member)## At runtime at least, x.value yields a 'float' value.# It seems pylint gets tripped up by some ctypes construct.print(x.value.is_integer())
Configuration
No response
Command used
pylint x.py
Pylint output
x.py:14:6: E1101: Class 'value' has no 'is_integer' member (no-member)
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
I'd expect no warning.
Pylint version
OS / Environment
Debian
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: