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

 ... and a `WeakKeyDictionary` is only used in sage.misc.randstate, nowhere
 else! `WeakValueDictionary` is used more often.

 Hm.

 Let me try to summarize:
 - The patchbot reported
   {{{
 Exception RuntimeError: 'maximum recursion depth exceeded while calling a
 Python object' in <function remove at 0x2820668> ignored
 Exception RuntimeError: 'maximum recursion depth exceeded while calling a
 Python object' in <function remove at 0xfe16e0> ignored
 Exception RuntimeError: 'maximum recursion depth exceeded while getting
 the str of an object' in <function remove at 0x2e03e60> ignored
 Exception RuntimeError: 'maximum recursion depth exceeded while getting
 the str of an object' in <function remove at 0x2e03e60> ignored
   }}}
 - 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
   }}}
 - It is possible to get an error message similar to the first two examples
 of the patchbot by using a `WeakKeyDictionary`, but seemingly not by using
 a `WeakValueDictionary`. But only the latter is used in Sage.

 Where shall one start to try and analyse the problem?

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