#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):

 Replying to [comment:96 SimonKing]:
 > - Your [attachment:bla.py] fails with
 >   {{{
 > Exception RuntimeError: 'maximum recursion depth exceeded while calling
 a Python object' in <sage.structure.coerce_dict.TripleDictEraser object at
 0x347af68> ignored
 >   }}}

 Yup. I should add that it produces a combination of "remove" and
 "TripleDictEraser" errors; I pointed to the later because it was more
 specific. Also the whole thing is very sensitive to changes: if you
 change a line in bla.py you can switch from one message to the
 other. My bet is that we have a recursive data structure which is a
 mix of Triple dict and other weak dictionary, so depending on how deep
 the recursion breaks you get one message or the other.

 > Where shall one start to try and analyse the problem?

 Looking at the sources of `WeakValueDictionary` to see how they work
 around the recursion issue?

 Cheers,
                            Nicolas

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