[Python-checkins] r59731 - in python/trunk: Doc/library/functions.rst Doc/library/math.rst Doc/library/stdtypes.rst Doc/reference/expressions.rst Lib/numbers.py Lib/test/test_builtin.py Lib/test/test_long.py Lib/test/test_math.py Modules/mathmodule.c Objects/floatobject.c Objects/intobject.c Objects/longobject.c Python/bltinmodule.c
Christian Heimes
lists at cheimes.de
Sun Jan 6 17:18:10 CET 2008
jeffrey.yasskin wrote:
> Author: jeffrey.yasskin
> Date: Sat Jan 5 09:47:13 2008
> New Revision: 59731
>
> Modified:
> python/trunk/Doc/library/functions.rst
> python/trunk/Doc/library/math.rst
> python/trunk/Doc/library/stdtypes.rst
> python/trunk/Doc/reference/expressions.rst
> python/trunk/Lib/numbers.py
> python/trunk/Lib/test/test_builtin.py
> python/trunk/Lib/test/test_long.py
> python/trunk/Lib/test/test_math.py
> python/trunk/Modules/mathmodule.c
> python/trunk/Objects/floatobject.c
> python/trunk/Objects/intobject.c
> python/trunk/Objects/longobject.c
> python/trunk/Python/bltinmodule.c
> Log:
> Continue rolling back pep-3141 changes that changed behavior from 2.5. This
> round included:
> * Revert round to its 2.6 behavior (half away from 0).
> * Because round, floor, and ceil always return float again, it's no
> longer necessary to have them delegate to __xxx___, so I've ripped
> that out of their implementations and the Real ABC. This also helps
> in implementing types that work in both 2.6 and 3.0: you return int
> from the __xxx__ methods, and let it get enabled by the version
> upgrade.
> * Make pow(-1, .5) raise a ValueError again.
I'm merging changes from the trunk to the 3.0 branch. Should I merge any
of the changes of this revision to 3.0? I assume I should omit the
changes but I'm not 100% sure.
Christian
More information about the Python-checkins
mailing list