#17321: Pynac RuntimeError: comparing typeid's
-------------------------------------------------+-------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.7
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: Reported upstream. Developers | Work issues:
acknowledge bug. | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Changes (by rws):
* upstream: N/A => Reported upstream. Developers acknowledge bug.
* milestone: sage-6.4 => sage-6.7
Old description:
> Series times variable raises the following exception:
> {{{
> sage: ex = sin(x).series(x==0, 3) * x
> sage: str(ex)
> ---------------------------------------------------------------------------
> RuntimeError Traceback (most recent call
> last)
> <ipython-input-5-c277618b0823> in <module>()
> ----> 1 str(ex)
>
> /mnt/disk/home/release/Sage/local/lib/python2.7/site-
> packages/sage/structure/sage_object.so in
> sage.structure.sage_object.SageObject.__repr__
> (build/cythonized/sage/structure/sage_object.c:1962)()
>
> /mnt/disk/home/release/Sage/local/lib/python2.7/site-
> packages/sage/symbolic/expression.so in
> sage.symbolic.expression.Expression._repr_
> (build/cythonized/sage/symbolic/expression.cpp:4749)()
>
> /mnt/disk/home/release/Sage/local/lib/python2.7/site-
> packages/sage/symbolic/ring.so in
> sage.symbolic.ring.SymbolicRing._repr_element_
> (build/cythonized/sage/symbolic/ring.cpp:8462)()
>
> RuntimeError: comparing typeid's
> }}}
New description:
Series times variable raises the following exception:
{{{
sage: ex = sin(x).series(x==0, 3) * x
sage: str(ex)
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call
last)
<ipython-input-5-c277618b0823> in <module>()
----> 1 str(ex)
/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/structure/sage_object.so in
sage.structure.sage_object.SageObject.__repr__
(build/cythonized/sage/structure/sage_object.c:1962)()
/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/symbolic/expression.so in
sage.symbolic.expression.Expression._repr_
(build/cythonized/sage/symbolic/expression.cpp:4749)()
/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/symbolic/ring.so in
sage.symbolic.ring.SymbolicRing._repr_element_
(build/cythonized/sage/symbolic/ring.cpp:8462)()
RuntimeError: comparing typeid's
}}}
https://github.com/pynac/pynac/issues/22
--
Comment:
Also, from comment 16 of #12967:
{{{
sage: cmp(SR(oo), sqrt(2))
RuntimeError: comparing typeid's
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17321#comment:2>
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.