#10963: More functorial constructions
-------------------------------------+-------------------------------------
       Reporter:  nthiery            |        Owner:  stumpc5
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:
      Component:  categories         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Nicolas M. ThiƩry  |    Reviewers:  Simon King
Report Upstream:  N/A                |  Work issues:  Reduce startup time
         Branch:                     |  by 5%. Avoid "recursion depth
   Dependencies:  #11224, #8327,     |  exceeded (ignored)".
  #10193, #12895, #14516, #14722,    |       Commit:
  #13589, #14471                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by nthiery):

 Hi Simon,

 I am investigating the recursion error. It is definitely caused by the
 weak reference handling.
 If you run
 {{{
      sage -tp 8 bla.py bla.py
 }}}
 with the attached extract of pushout.py, you get a bunch of error messages
 like:
 {{{
     Exception RuntimeError: 'maximum recursion depth exceeded while
 calling a Python object' in <sage.structure.coerce_dict.TripleDictEraser
 object at 0x347af68> ignored
 }}}
 And if you comment out the "del" line in TripleDictEraser.__call__, then
 the error message disapears.

 I am know going to proceed reducing further bla.py to get something that
 hopefuly would trigger the bug without the functorial construction patch.
 The hard part is that basically removing any line in bla.py gets the error
 not to appear.

 Let me know if you have ideas ...

--
Ticket URL: <http://trac.sagemath.org/ticket/10963#comment:90>
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.

Reply via email to