-
Notifications
You must be signed in to change notification settings - Fork 283
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
Add remaining Python 3 builtins via six #1700
Conversation
410a278
to
ca1a5d7
Compare
ca1a5d7
to
6c02f5d
Compare
New tests are being added that do not use this new behaviour; please merge soon. |
Looks like there are some unwanted commits on this branch as it stands. |
I did a merge instead of a rebase to show the changes to the new files, but I'm not sure why the new commits from master are now showing as part of the PR. |
GitHub is being weird, it seems, because I see only three new commits locally:
|
e094dd0
to
e164a71
Compare
This is now flat again. BTW, you can check that it only changes what I say it changes like this:
|
I thought we'd decided not to do this? I'm not that keen on the change, though wouldn't block it. Just to be completely clear, are all of these changes necessary, or are they done for consistency with all other source files? |
No, I think you're thinking of #1675 which added |
e164a71
to
dcc08ad
Compare
dcc08ad
to
7f4d1b5
Compare
As a reminder to myself, the |
👍 Top marks for persistence @QuLogic! |
Add remaining Python 3 builtins via six
That and some patience! 😉 |
To follow up on #1699, this adds the compatibility builtins on all files. This will look bigger because it's based on #1699, but I want to be sure tests can pass here too.
Much like the
__future__
imports, this PR addssix
imports that change behaviour of builtin functions. This is a blanket change, so hopefully it's not too hard to go through again. At least this time there's a functional change involved.