MAINT: Remove sys.version checks#15335
Conversation
3cc0e05 to
e66b97d
Compare
mattip
left a comment
There was a problem hiding this comment.
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
mwtoews
left a comment
There was a problem hiding this comment.
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 |
mattip
left a comment
There was a problem hiding this comment.
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