This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jyasskin
Recipients jyasskin, rhettinger
Date 2008-01-30.04:44:21
SpamBayes Score 0.021275042
Marked as misclassified No
Message-id <1201668264.64.0.29683697488.issue1968@psf.upfronthosting.co.za>
In-reply-to
Content
I can't find the __round__, __ceil__, and __floor__ methods in int,
long, and float. I left them in Rational on purpose, thinking that there
might be a module that provided the new behaviors for 2.6 code, but
you're probably right that these should be rolled back until such a
module appears. They do have the benefit of demonstrating that it's
possible to write a numeric class that does the right thing in both 2.6
and 3.0 without many code changes. (I should check that 2to3 does the
right thing on it.)
History
Date User Action Args
2008-01-30 04:44:25jyasskinsetspambayes_score: 0.021275 -> 0.021275042
recipients: + jyasskin, rhettinger
2008-01-30 04:44:24jyasskinsetspambayes_score: 0.021275 -> 0.021275
messageid: <1201668264.64.0.29683697488.issue1968@psf.upfronthosting.co.za>
2008-01-30 04:44:22jyasskinlinkissue1968 messages
2008-01-30 04:44:21jyasskincreate