[Python-3000] [PATCH] Fix math.ceil() behaviour for PEP3141
Aahz
aahz at pythoncraft.com
Thu Aug 23 16:28:59 CEST 2007
On Wed, Aug 22, 2007, Keir Mierle wrote:
>
> The attached patch fixes math.ceil to delegate to x.__ceil__() if it
> is defined, according to PEP 3141, and adds tests to cover the new
> cases. Patch is against r57303.
Please wait until the new python.org bug tracker is up and post the
patch there.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"If you don't know what your program is supposed to do, you'd better not
start writing it." --Dijkstra
More information about the Python-3000
mailing list