#12061: Doctest interfaces/psage.py
--------------------------+-------------------------------------------------
   Reporter:  ppurka      |          Owner:  was     
       Type:  defect      |         Status:  new     
   Priority:  minor       |      Milestone:  sage-4.8
  Component:  interfaces  |       Keywords:  doctest 
Work_issues:              |       Upstream:  N/A     
   Reviewer:              |         Author:          
     Merged:              |   Dependencies:          
--------------------------+-------------------------------------------------

Comment(by ppurka):

 Form some reason doctesting this file goes into an infinite recursion with
 twisted, but all the commands work on the Sage command line. I had to run
 it like this to see the output `.sage/tmp/psage_26566.py` is the file Sage
 created while trying to doctest.
 {{{
 PYTHONVERBOSE=1 ~/Installations/sage-4.7.2/sage -python psage_26566.py
 2>&1 | tee ~/test.out
 }}}

 And `~/test.out` contains in particular this output just before the
 infinite recursion starts:
 {{{
 import sage.modules.vector_double_dense # dynamically loaded from
 /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/modules/vector_double_dense.so
 dlopen("/home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/modules/vector_real_double_dense.so", 2);
 import sage.modules.vector_real_double_dense # dynamically loaded from
 /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/modules/vector_real_double_dense.so
 import sage.finance.time_series # dynamically loaded from
 /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/finance/time_series.so
 import sage.stats.intlist # dynamically loaded from
 /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/stats/intlist.so
 # /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/plot/plot3d/implicit_plot3d.pyc matches
 /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/plot/plot3d/implicit_plot3d.py
 import sage.plot.plot3d.implicit_plot3d # precompiled from
 /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/plot/plot3d/implicit_plot3d.pyc
 dlopen("/home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/plot/plot3d/implicit_surface.so", 2);
 import sage.plot.plot3d.implicit_surface # dynamically loaded from
 /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/plot/plot3d/implicit_surface.so
 dlopen("/home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/plot/complex_plot.so", 2);
 import sage.plot.complex_plot # dynamically loaded from
 /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/plot/complex_plot.so
 Exception IOError: IOError(2, 'No such file or directory') in <bound
 method SageElement.__del__ of <<currently executing code>>> ignored
 dlopen("/home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/libs/flint/flint.so", 2);
 import sage.libs.flint.flint # dynamically loaded from
 /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/sage/libs/flint/flint.so
 # /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/reactor.pyc
 matches /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/reactor.py
 import twisted.internet.reactor # precompiled from
 /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/reactor.pyc
 # /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 
packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/selectreactor.pyc
 matches /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/selectreactor.py
 import twisted.internet.selectreactor # precompiled from
 /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 
packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/selectreactor.pyc
 # /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/interfaces.pyc
 matches /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/interfaces.py
 import twisted.internet.interfaces # precompiled from
 /home/punarbasu/Installations/sage-4.7.2/local/lib/python2.6/site-
 packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/interfaces.pyc
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
 Exception RuntimeError: RuntimeError('maximum recursion depth exceeded
 while calling a Python object',) in Exception RuntimeError: 'maximum
 recursion depth exceeded in __subclasscheck__' in <type
 'exceptions.RuntimeError'> ignored
  ignored
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
 Exception RuntimeError: RuntimeError('maximum recursion depth exceeded
 while calling a Python object',) in Exception RuntimeError: 'maximum
 recursion depth exceeded in __subclasscheck__' in <type
 'exceptions.RuntimeError'> ignored
  ignored
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
 Exception RuntimeError: RuntimeError('maximum recursion depth exceeded
 while calling a Python object',) in Exception RuntimeError: 'maximum
 recursion depth exceeded in __subclasscheck__' in <type
 'exceptions.RuntimeError'> ignored
  ignored
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
 Exception RuntimeError: RuntimeError('maximum recursion depth exceeded
 while calling a Python object',) in Exception RuntimeError: 'maximum
 recursion depth exceeded in __subclasscheck__' in <type
 'exceptions.RuntimeError'> ignored
  ignored
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
 Exception RuntimeError: RuntimeError('maximum recursion depth exceeded
 while calling a Python object',) in Exception RuntimeError: 'maximum
 recursion depth exceeded in __subclasscheck__' in <type
 'exceptions.RuntimeError'> ignored
  ignored
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
 Exception RuntimeError: RuntimeError('maximum recursion depth exceeded
 while calling a Python object',) in Exception RuntimeError: 'maximum
 recursion depth exceeded in __subclasscheck__' in <type
 'exceptions.RuntimeError'> ignored
  ignored
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12061#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.

Reply via email to