#13447: Make libsingular multivariate polynomial rings collectable
-------------------------------------+-------------------------------------
       Reporter:  nbruin             |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  memleak            |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Nils Bruin, Simon  |    Reviewers:  Simon King
  King                               |  Work issues:  Understand why
Report Upstream:  None of the above  |  sometimes `new_RingWrap` needs an
  - read trac for reasoning.         |  incref and sometimes not
         Branch:                     |       Commit:
   Dependencies:  #11521             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Replying to [comment:110 SimonKing]:
 > If we use it, then I still think it makes sense to adopt Singular's
 convention on that c-slot: It counts the number of references minus one.

 OTOH, it really seems awkward: A fresh ring that we get out of libsingular
 will have `.ref==0`. Thus, it is supposed to have a reference already. But
 there is no reference yet.

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