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 skrah
Recipients Ken.Cheung, skrah
Date 2012-06-14.07:50:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339660239.88.0.264332247676.issue15057@psf.upfronthosting.co.za>
In-reply-to
Content
I can see why it is seems strange that // and % behave differently.
If anything, I'd change divint to raise for things like inf // 3.


But the official test cases don't:

dvix601 divideint -Inf  -1000  ->  Infinity
remx701 remainder -Inf  -1000  ->  NaN Invalid_operation


Since decimal follows the specification (and the test cases), we can't
change that. So I'm closing the issue.
History
Date User Action Args
2012-06-14 07:50:39skrahsetrecipients: + skrah, Ken.Cheung
2012-06-14 07:50:39skrahsetmessageid: <1339660239.88.0.264332247676.issue15057@psf.upfronthosting.co.za>
2012-06-14 07:50:18skrahlinkissue15057 messages
2012-06-14 07:50:18skrahcreate