On Wednesday, November 19, 2014 8:48:07 AM UTC-6, Jakob Kroeker wrote:
>
>
> Even if it is expectable that in some cases (which?) solve may not return
> all solutions, it should be explicitly pointed out;
> Especially it should be stated that an empty list does not necessarily
> imply there are no solutions.
>
> Yes! Actually adding something like the following would be an
improvement....
if (answer == []) and not_sure_there_are_no_solutions:
print question
else:
print answer
I heard Emmanuel's warning that the not_sure_there_are_no_solutions boolean
may be hard to calculate in some cases.
In my opinion, not_sure_there_are_no_solutions should default to True
unless it is a case where
we can with certaintly set not_sure_there_are_no_solutions = False.
Other opinions? If everybody agrees, I will open a ticket.
>
Please do! Thanks!
--
You received this message because you are subscribed to the Google Groups
"sage-support" 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-support.
For more options, visit https://groups.google.com/d/optout.