-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
Python 3 preparation: Handle the renaming of "urllib" and "urllib2" #16080
Comments
Branch: public/16080 |
Commit: |
New commits:
|
Author: Frédéric Chapoton |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Could you use |
comment:7
+1 to six.moves.urlib. Rest is great! |
comment:8
I was using this page http://python3porting.com/stdlib.html as a reference, and it says that six could not handle urllib. Maybe this is outdated ? Do we really gain something by using six instead of the "try except" ? In other words, do you really want me to spend more time on that ? I may have other things to do. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Volker Braun, R. Andrew Ohana |
comment:11
merge conflict, probably with #19296 |
comment:12
This does not work. Some imports have to be modified. Work in progress. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Better wait for the bot's green light before setting back to positive review. |
comment:16
ok, seems to be good to go. Volker, do you approve ? |
Changed branch from public/16080 to |
The tool 2to3 changes the respective import statements to the new Py3 names.
But the code has to depend on the Python version!
There are 16 effected modules.
This ticket is tracked as a dependency of meta-ticket ticket:16052.
Component: distribution
Author: Frédéric Chapoton
Branch/Commit:
3098f5f
Reviewer: Volker Braun, R. Andrew Ohana
Issue created by migration from https://trac.sagemath.org/ticket/16080
The text was updated successfully, but these errors were encountered: