-
Notifications
You must be signed in to change notification settings - Fork 573
Changes based on style and lint checks. (final_code_quality_5) #1363
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
Conversation
155ddd9
to
a93254f
Compare
|
a93254f
to
afd7603
Compare
src/network/asyncore_pollchoose.py
Outdated
@@ -75,13 +78,15 @@ | |||
except (ImportError, AttributeError): | |||
WSAECONNRESET = ECONNRESET | |||
try: | |||
from errno import WSAEADDRINUSE | |||
# side-effects on Windows or cruft? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea this is workaround for some Windows crap, it uses winsock which is kind of similar to unix' socket, but it can have its own error numbers, and these aren't defined when running python on other OSes. Maybe there is a nicer workaround but for the time being let's keep it as it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in next commit...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see 533df80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make the small changes (docstrings, obsolete code) and it's ready to go.
5a74284
to
e6d2cd5
Compare
baee386
to
fbf9361
Compare
6793d88
to
7cf1ce5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes in docstrings, but I don't want to review it again so it's good to go. The docstrings can be adjusted later with a separate PR.
50bee6d
to
e8c76da
Compare
e8c76da
to
0bceeca
Compare
Changes based on style and lint checks. (final_code_quality_5)