#18796: Python 3 preparation: Cleaning up the bit rot that occurred to a
number of
Python fixes
-------------------------+-------------------------------------------------
Reporter: | Owner:
wluebbe | Status: new
Type: | Milestone: sage-6.8
enhancement | Resolution:
Priority: major | Merged in:
Component: misc | Reviewers:
Keywords: | Work issues:
python3 | Commit:
Authors: | 4b62172372e9fb586ebc8637a971baff074d1d61
Report Upstream: N/A | Stopgaps:
Branch: |
u/wluebbe/18796 |
Dependencies: |
-------------------------+-------------------------------------------------
Changes (by wluebbe):
* commit: => 4b62172372e9fb586ebc8637a971baff074d1d61
* branch: => u/wluebbe/18796
Comment:
These first 5 commits follow up the tickets (again using {{{2to3}}}:
#15982 Change the syntax of the except clause {{{2to3 -w -f except
src/sage}}}
#16067 Semantic of filter() function changed {{{2to3 -w -f filter
src/sage}}}
#15983 Sames of some function attributes {{{2to3 -w -f funcattrs
src/sage}}}
#15784 Use `in` instead of `has_key()` {{{2to3 -w -f has_key src/sage}}}
#15984 Use more modern Python idioms {{{2to3 -w -f idioms src/sage}}}
I had to backout the proposed change for
{{{src/sage/game_theory/normal_form_game.py}}} (see also the 4 reverted
modules mentioned in #15984).
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=7b67376c066ac4f657838eea67a9a92bc5b54aaa
7b67376]||{{{Trac #18796: Followup on trac #15982 Change the syntax of the
except clause}}}||
||[http://git.sagemath.org/sage.git/commit/?id=ce787ed44f395cf0335dd3458d7d6d0fd8d6e63b
ce787ed]||{{{Trac #18796: Followup on trac #16067 - semantic of filter()
function changed}}}||
||[http://git.sagemath.org/sage.git/commit/?id=70e0dcc82923f63c229ceec3a6efb802cfeb59bd
70e0dcc]||{{{Trac #18796: Followup on trac #15983 - names of some function
attributes}}}||
||[http://git.sagemath.org/sage.git/commit/?id=f75c09b2a5d21934aa666943005ad61c94068484
f75c09b]||{{{Trac #18796: Followup on trac #15784 - Use `in` instead of
`has_key()`}}}||
||[http://git.sagemath.org/sage.git/commit/?id=4b62172372e9fb586ebc8637a971baff074d1d61
4b62172]||{{{Trac #18796: Followup on trac #15984 - Use more modern Python
idioms}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/18796#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.