Py2.3: Feedback on Sets
Borcis
borcis at users.ch
Mon Aug 18 14:27:31 EDT 2003
David Eppstein wrote:
>
> Multiplication by (nonnegative) integers is a pretty standard thing to
> do in monoids, and means close to what Python's list*int syntax does:
> add the thing to itself that many times.
"God is a superfluous hypothesis, I need just an initial condition"
>
> I'm not sure why multiplying a list by a negative number produces the
> empty list instead of an exception, though.
>
If it is illogical for it not to raise an exception, then in an appropriate
universe the theory is logically permitted that some other value than the
empty list is more logical as a result, than the empty list itself.
The-anthropy-of-the-universe-is-everrising-ly-yours-ly
More information about the Python-list
mailing list