#15757: Make sage.misc.superseded lazily import sage.rings.integer_ring
-------------------------------------+-------------------------------------
Reporter: nthiery | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.1
Component: misc | Resolution:
Keywords: | Merged in:
Authors: Nicolas M. ThiƩry | Reviewers: Nathann Cohen, Jeroen
Report Upstream: N/A | Demeyer
Branch: | Work issues:
u/nthiery/ticket/15757 | Commit:
Dependencies: | c57640dab99e12a8fa94acc49cb4ee478704fcfe
| Stopgaps:
-------------------------------------+-------------------------------------
Changes (by nthiery):
* status: needs_work => needs_review
* changetime: 01/29/14 12:41:30 => 01/29/14 12:41:30
* reviewer: Nathann Cohen => Nathann Cohen, Jeroen Demeyer
Old description:
> This ticket makes sage.misc.superseded lazily import
> sage.rings.integer_ring.is_IntegerRing for type checking. This allows
> for using the functions in this module in code that is imported early
> upon Sage startup, in particular in category code.
>
> By the way, this removes an unneeded test (the ticket number cannot be
> None).
New description:
This ticket removes the dependency of sage.misc.superseded upon
sage.rings.integer_ring.is_IntegerRing which was used for type
checking. This allows for using the functions in this module in code
that is imported early upon Sage startup, in particular in category
code.
By the way, this removes an unneeded test (the ticket number cannot be
None).
--
--
Ticket URL: <http://trac.sagemath.org/ticket/15757#comment:12>
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/groups/opt_out.