#15618: Use the correct categories for coercion and conversion maps
-------------------------------------+-------------------------------------
       Reporter:  pbruin             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  coercion           |   Resolution:
       Keywords:  conversion map     |    Merged in:
        Authors:  Peter Bruin        |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/pbruin/15618-DefaultConvertMap   |  54a6ecae11f902b11ad651c67af021af6ed2da21
   Dependencies:  #16401, #16402,    |     Stopgaps:
  #17359                             |
-------------------------------------+-------------------------------------

Comment (by pbruin):

 Replying to [comment:16 pbruin]:
 > In the current branch, there is a new `Map._category_for` attribute that
 is always a strong reference.  I later thought that instead of this, it
 might be better to treat `category_for` in an analogous way to `domain`,
 i.e. to make it an attribute that can be either a `ConstantFunction` or to
 a `weakref`.  I'm undecided for the moment, so I'm keeping the original
 branch in the ticket description.
 Since the alternative branch `u/pbruin/15618-convert_map_category` may
 still be relevant (to prevent potential memory leaks), I rebased it
 
([http://git.sagemath.org/sage.git/diff/?id2=4cd153a457b2b47ee4fefe64d305d04c6c5f39a6&id=b2b22ea6eefe5754a05ca866931f5725918a466b
 diff],
 
[http://git.sagemath.org/sage.git/log/?q=4cd153a457b2b47ee4fefe64d305d04c6c5f39a6..b2b22ea6eefe5754a05ca866931f5725918a466b&h=b2b22ea6eefe5754a05ca866931f5725918a466b&qt=range
 commits]).

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

Reply via email to