Opened 9 years ago
Closed 6 years ago
#16069 closed enhancement (fixed)
Python 3 preparation: Handle module renames (e.g. in imports)
Reported by: | wluebbe | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-7.4 |
Component: | python3 | Keywords: | python3 |
Cc: | tscrim, jdemeyer, aapitzsch | Merged in: | |
Authors: | Frédéric Chapoton | Reviewers: | Jeroen Demeyer |
Report Upstream: | N/A | Work issues: | |
Branch: | 5d3292d (Commits, GitHub, GitLab) | Commit: | 5d3292de73ec4041c66a05f2fbe9b5899acd2eec |
Dependencies: | Stopgaps: |
Description (last modified by )
Sage is mainly hit by
Others are e.g.
The tool 2to3 renames the modules.
But the code has to depend on the Python version!
There are 39 effected modules.
This ticket is tracked as a dependency of meta-ticket ticket:16052.
Change History (18)
comment:1 Changed 9 years ago by
Milestone: | sage-6.2 → sage-6.3 |
---|
comment:2 Changed 8 years ago by
Milestone: | sage-6.3 → sage-6.4 |
---|
comment:3 Changed 7 years ago by
Component: | distribution → python3 |
---|
comment:4 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:8 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:9 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:10 Changed 6 years ago by
Description: | modified (diff) |
---|---|
Milestone: | sage-6.4 → sage-7.4 |
comment:11 Changed 6 years ago by
Branch: | → public/16069 |
---|---|
Commit: | → 6fc5c52ddc732b722d50378197853e4c8e48b801 |
Status: | new → needs_review |
comment:12 Changed 6 years ago by
Authors: | → Frédéric Chapoton |
---|---|
Cc: | tscrim jdemeyer aapitzsch added |
comment:13 Changed 6 years ago by
In src/sage/structure/global_options.py
, could you just remove the import? I don't think that object
and str
need to be imported.
comment:14 Changed 6 years ago by
Commit: | 6fc5c52ddc732b722d50378197853e4c8e48b801 → 5d3292de73ec4041c66a05f2fbe9b5899acd2eec |
---|
Branch pushed to git repo; I updated commit sha1. New commits:
5d3292d | trac 16069 remove import in global_options
|
comment:16 Changed 6 years ago by
Reviewers: | → Jeroen Demeyer |
---|
comment:17 Changed 6 years ago by
Status: | needs_review → positive_review |
---|
comment:18 Changed 6 years ago by
Branch: | public/16069 → 5d3292de73ec4041c66a05f2fbe9b5899acd2eec |
---|---|
Resolution: | → fixed |
Status: | positive_review → closed |
Note: See
TracTickets for help on using
tickets.
See #20694