-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
CLN: use IS64 instead of is_platform_32bit #36108 #36109
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
@@ -72,7 +62,7 @@ def is_platform_linux() -> bool: | |||
bool | |||
True if the running platform is linux. | |||
""" | |||
return sys.platform == "linux2" | |||
return sys.platform == "linux" |
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.
It was changed to "linux" in Python 3.3
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.
oh lol, i don't think this is actually used anyhow (but good to change)
# ---------------------------------------------------------------------------- | ||
# functions largely based / taken from the six module | ||
|
||
# Much of the code in this module comes from Benjamin Peterson's six library. | ||
# The license for this library can be found in LICENSES/SIX and the code can be | ||
# found at https://bitbucket.org/gutworth/six | ||
|
||
|
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.
The LICENSES folder doesn't contain SIX. So I guess this comment is not valid anymore.
@@ -72,7 +62,7 @@ def is_platform_linux() -> bool: | |||
bool | |||
True if the running platform is linux. | |||
""" | |||
return sys.platform == "linux2" | |||
return sys.platform == "linux" |
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.
oh lol, i don't think this is actually used anyhow (but good to change)
thanks @VirosaLi very nice |
pandas/compat.__init__.py
#36108black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff