homepage

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 belopolsky
Recipients belopolsky, casevh, pitrou, rhettinger, skrah
Date 2014年09月20日.16:44:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411231492.71.0.0479328543707.issue22444@psf.upfronthosting.co.za>
In-reply-to
Content
> What should Decimal('1e123456')//1 return?
I think Decimal case should be considered separately. Note that unlike float, they are not part of the numerical tower, so PEP 3141 arguments don't apply:
>>> isinstance(1.0, numbers.Real)
True
>>> isinstance(decimal.Decimal(1), numbers.Real)
False
History
Date User Action Args
2014年09月20日 16:44:52belopolskysetrecipients: + belopolsky, rhettinger, pitrou, casevh, skrah
2014年09月20日 16:44:52belopolskysetmessageid: <1411231492.71.0.0479328543707.issue22444@psf.upfronthosting.co.za>
2014年09月20日 16:44:52belopolskylinkissue22444 messages
2014年09月20日 16:44:52belopolskycreate

AltStyle によって変換されたページ (->オリジナル) /