]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (just
authorJeffrey Yasskin <jyasskin@gmail.com>
Thu, 3 Jan 2008 02:21:52 +0000 (02:21 +0000)
committerJeffrey Yasskin <jyasskin@gmail.com>
Thu, 3 Jan 2008 02:21:52 +0000 (02:21 +0000)
commit2f3c16be73a8562d357b9b13bbb8088e275840a7
tree5334d4bd6c8b6456da10c0be232fb8bf95b1aca7
parent27edd829d7673a642cf5b37c3011454ec33cb715
Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (just
the complex_pow part), r56649, r56652, r56715, r57296, r57302, r57359, r57361,
r57372, r57738, r57739, r58017, r58039, r58040, and r59390, and new
documentation. The only significant difference is that round(x) returns a float
to preserve backward-compatibility. See http://bugs.python.org/issue1689.
21 files changed:
Doc/library/functions.rst
Doc/library/math.rst
Doc/library/numbers.rst [new file with mode: 0644]
Doc/library/numeric.rst
Doc/library/stdtypes.rst
Doc/reference/datamodel.rst
Doc/reference/expressions.rst
Lib/numbers.py [new file with mode: 0644]
Lib/test/test_abstract_numbers.py [new file with mode: 0644]
Lib/test/test_builtin.py
Lib/test/test_long.py
Lib/test/test_math.py
Lib/test/test_unittest.py
Lib/unittest.py
Misc/NEWS
Modules/mathmodule.c
Objects/complexobject.c
Objects/floatobject.c
Objects/intobject.c
Objects/longobject.c
Python/bltinmodule.c