Bizarre arithmetic results

Duncan Booth duncan.booth at invalid.invalid
Thu Feb 11 08:38:46 EST 2010


Tim Chase <python.list at tim.thechases.com> wrote:

> But perhaps Py3 changes evaluation, returning an complex number.

Yes, the change is documented at 
http://docs.python.org/3.1/reference/expressions.html#the-power-operator

If it is in any of the "What's new in Python x.xx" documents or in a PEP 
somewhere I haven't spotted it.

-- 
Duncan Booth http://kupuguy.blogspot.com



More information about the Python-list mailing list