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 serhiy.storchaka
Recipients facundobatista, mark.dickinson, python-dev, rhettinger, serhiy.storchaka, skrah
Date 2016-06-20.11:27:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466422033.45.0.989276279214.issue27006@psf.upfronthosting.co.za>
In-reply-to
Content
PyDec_CheckExact(type) always return 0. Should be PyDec_CheckExact(result).

And what about other calls of PyDecType_FromFloatExact()? Can they produce broken instance of Decimal subtype?
History
Date User Action Args
2016-06-20 11:27:13serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, facundobatista, mark.dickinson, skrah, python-dev
2016-06-20 11:27:13serhiy.storchakasetmessageid: <1466422033.45.0.989276279214.issue27006@psf.upfronthosting.co.za>
2016-06-20 11:27:13serhiy.storchakalinkissue27006 messages
2016-06-20 11:27:13serhiy.storchakacreate