#6091: [with new patch, needs review] syntax extended for subfields of number
fields
---------------------------+------------------------------------------------
Reporter: fwclarke | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.0.1
Component: number theory | Keywords:
---------------------------+------------------------------------------------
Comment(by fwclarke):
Replying to [comment:2 mhansen]:
> This will break all old code that uses the name= syntax.
Point taken.
> There is a decorator at sage.plot.misc.rename_keyword that could be use
to rename a 'name' keyword argument to 'names'. A useful thing to do
would be to add a flag to that decorator so that a deprecation warning
would be thrown whenever a rename is done.
I think in this case there's a simpler solution, already used in the
`NumberField`function, which allows either `name` or `names`; see the
replacement patch.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6091#comment:3>
Sage <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---