#14711: Weak references in the coercion graph
-------------------------------------+-------------------------------------
       Reporter:  jpflori            |        Owner:  davidloeffler
           Type:  defect             |       Status:  needs_review
       Priority:  critical           |    Milestone:  sage-6.2
      Component:  number fields      |   Resolution:
       Keywords:  memleak, number    |    Merged in:
  field, QuadraticField              |    Reviewers:  Nils Bruin, Jean-
        Authors:  Simon King,        |  Pierre Flori
  Travis Scrimshaw, Jean-Pierre      |  Work issues:
  Flori                              |       Commit:
Report Upstream:  N/A                |  ea58b22f0bf2652e7d04b3d55e6217dcb8732cdf
         Branch:                     |     Stopgaps:
  public/ticket/14711                |
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by tscrim):

 Replying to [comment:233 jpflori]:
 > Do you mean one would have to always pass the suppress_warning thing?

 I'm not completely sure what you mean. I'm going to take a shot and say
 only if one wants to suppress the warning, not if they didn't care if it
 has a warning or not. For example,
 {{{
 sage: domain._get_coerce_map_internal(codomain)
 }}}
 will work because of the default value of `True` (and display the warning
 message as well).

 @Simon, I don't think that will work because python should run the copy
 before passing to the lazy string, since I think the string's formatting
 is the only thing being lazily done.

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