#19208: Replace remaining instances of has_coerce_map_from_[c_]impl by
_coerce_map_from_
-------------------------------------+-------------------------------------
       Reporter:  pbruin             |        Owner:
           Type:  task               |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.9
      Component:  coercion           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Peter Bruin,       |    Reviewers:
  Jeroen Demeyer                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  49b9a59494b493eb352fa6dbae23fd6750e8499d
  u/pbruin/19208-has_coerce_map_from_impl|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Peter Bruin, Jeroen Demeyer', 'oldvalue': u'Peter 
Bruin'}):

 * author:  Peter Bruin => Peter Bruin, Jeroen Demeyer


Old description:

> The two remaining occurrences of the old-style
> `has_coerce_map_from_[c_]impl` should be replaced by
> `_coerce_map_from_()`.  In addition, `Singular._coerce_map_from_()` now
> returns `None` if no coercion map is known (instead of returning `False`
> or raising a `NotImplementedError`).
>
> After this ticket, the only occurrences of
> `[has_]coerce_map_from_[c_]impl` are in the module
> `sage.structure.parent_old`.

New description:

 The two remaining occurrences of the old-style
 `has_coerce_map_from_[c_]impl` should be replaced by
 `_coerce_map_from_()`.

 In addition, `Singular._coerce_map_from_()` now returns `None` if no
 coercion map is known (instead of returning `False` or raising a
 `NotImplementedError`).

 We remove some left-overs of the old coercion model in `homset.py` (which
 uses the new coercion model now).

 We also remove completely the methods `_coerce_self_c`, `_coerce_self`,
 `has_coerce_map_from_impl`, `coerce_map_from_impl`.

--

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