#10906: lazy import can break unique representation
-----------------------+----------------------------------------------------
Reporter: nthiery | Owner: jason
Type: defect | Status: new
Priority: major | Milestone:
Component: misc | Keywords: lazy import, unique representation
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------+----------------------------------------------------
Comment(by lftabera):
I am having hard time inserting lazy_imports into some libraries. They
break coercions and parents.
In the example above the problem cannot really be solved. QQ and a lazy_QQ
will always have different id because they are different objects, "is" is
comparing the memory addresses that of course are different.
My advise: never use lazy_imports for QQ, ZZ, CC, RR, SR, all the symbolic
constants, Infinity...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10906#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 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.