#15983: Python 3 preparation: Change names of some function attributes
----------------------------+----------------------------
Reporter: wluebbe | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.2
Component: distribution | Keywords: python3
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
----------------------------+----------------------------
Only the modern syntax like {{{f.__doc__}}} is accepted by Python 3.
[[br]]
Changes according to {{{lib2to3/fixes/fix_funcattrs.py}}}:
{{{
f.func_x -> f.__x__
for
('func_closure' | 'func_doc' | 'func_globals' | 'func_name' |
'func_defaults' | 'func_code' | 'func_dict')
}}}
This ticket is tracked as a dependency of meta-ticket ticket:15980.
--
Ticket URL: <http://trac.sagemath.org/ticket/15983>
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.