-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Description
With the attached patch, the precondition for registering a new
coercion from P to Q with register_coercion becomes:
"no coercion into P has been queried, or no coercion from P to Q has been registered or discovered earlier"
Which is a bit weaker than the previous:
"no coercion into P has been queried"
This should still be quite safe, while covering all the formerly
problematic practical use cases coming up in the category code #5981.
CC: @sagetrac-sage-combinat @robertwb
Component: coercion
Author: Nicolas M. Thiéry
Reviewer: Robert Bradshaw
Merged: sage-4.3.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/7421