-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
False positive on gethostname in socket module #4302
Comments
@dalemyers thanks for your report. I do not understand clearly what is the problem here as the |
Updated the current behavior section (I'd accidentally pasted my output in the HTML comment in the template). Everyone on my team is seeing this same behavior. Here are the exact steps I took to reproduce on a brand new machine (only took it out of the box yesterday):
Python 3.9.4 in this case (repro above was 3.9.2). |
I also can reproduce this issue. Is it common on Mac OS ? |
Closes pylint-dev#1470 Closes pylint-dev#3499 Closes pylint-dev#4302 Closes pylint-dev#4798 Closes pylint-dev#5081
Steps to reproduce
Create a simple file (or use this zipped example socket_test.zip):
Install pylint (you can use the following requirements.txt file to get the latest, or install the pre-release version):
Run
pylint test.py
on it.Current behavior
Expected behavior
No issues will be found
pylint --version output
Result of
pylint --version
output:or
Both repro.
Note: Running this on macOS Big Sur
The text was updated successfully, but these errors were encountered: