-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
MAINT: Remove sys.version checks #15335
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
3cc0e05
to
e66b97d
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.
Only a few style nits. In general, I tried to flag import builtins
, it usually indicates a hacky solution to a problem and causes a very small performance penalty. Also, there are some strange import semantics where python2 is using relative imports but python3 changed to absolute.
e66b97d
to
2ff3229
Compare
2ff3229
to
0828ecd
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.
Just a few imports to remove or sort/group at the top
These are wonderful comments mwtoews I'm on vacation but will fix when I'm back |
0828ecd
to
9cbf332
Compare
There are merge conflicts |
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.
There are some comments still open, and a few follow-on comments as well.
9cbf332
to
9a21ec8
Compare
Addressed @mattip's comments, fixed merge conflict, and did another quick pass over all the changes. |
Thanks @sethtroisi |
Thanks for all the comments and pointers. |
More sys.version cleanups (these are not limited to test files like #15305 was), after this change only a handful sys.versions exist which I'll add remove/convert/simplify in a final PR.
#15306