#20067: Change ring to QQbar fails for subschemes
-------------------------------------+-------------------------------------
Reporter: bhutz | Owner: bhutz
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-7.1
Component: algebraic | Resolution:
geometry | Merged in:
Keywords: | Reviewers: Rebecca Lauren
Authors: | Miller, Joseph Eisner
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/bhutz/ticket/20067 | 05e47bbfe1f62431520b6fbb4affb73f9802b710
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by nbruin):
Replying to [comment:11 bhutz]:
> The remaining issue was what to do if not specified. In this case, one
is attempted to be constructed (the try/except parts...). When this is not
unique, you seem to be suggesting raising an error and having the user
construct the particular map they want. It seemed more user friendly to me
to simply choose one and provide a warning that happened.
The problem is that we don't have a channel to reliably report warnings
through. If you print them in places where people aren't particularly
looking for output, they are easily missed. In fact, STDOUT might be
redirected to /dev/null, and messages on STDERR might be hard to match up
with the rest of the data (if it gets read at all).
To quote the Zen of Python: "In the face of ambiguity, refuse the
temptation to guess.". I'm not for following the Zen religiously, but I
think it's a good principle. In this case, I think the error is a more
honest and ultimately more reliable solution than making some non-
canonical guess.
--
Ticket URL: <http://trac.sagemath.org/ticket/20067#comment:12>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.