[issue2748] ceil(), floor() and round() broken in Decimal

Mark Dickinson report at bugs.python.org
Sat May 3 22:04:24 CEST 2008


Mark Dickinson <dickinsm at gmail.com> added the comment:

I've removed __round__, __ceil__ and __floor__ in r62669;  the code was 
undocumented, untested and just plain wrong, so there doesn't seem to be 
any point in leaving it in.  (I'm not quite sure how it got there in the 
first place.)

This still leaves the question of whether to implement these functions.
I can provide a patch if it's desirable.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2748>
__________________________________


More information about the Python-bugs-list mailing list