Author johnwalker
Recipients johnwalker, serhiy.storchaka, skrah, steven.daprano
Date 2015-12-23.21:01:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450904482.41.0.647995975391.issue25928@psf.upfronthosting.co.za>
In-reply-to
Content
> I guess there's some version mixup here:  From Python 3.3 on
> the integrated C version of decimal does not store the digits
> as a string and does not have the private _int method.

Stefan, _int is a slot in Lib/_pydecimal.py. It should be defined on python 3.5 and tip, unsure about other versions.

Python 3.5.1 (default, Dec  7 2015, 12:58:09) 
[GCC 5.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from decimal import Decimal
>>> Decimal("100.00")
Decimal('100.00')
>>> Decimal("100.00")._int
'10000'
History
Date User Action Args
2015-12-23 21:01:22johnwalkersetrecipients: + johnwalker, steven.daprano, skrah, serhiy.storchaka
2015-12-23 21:01:22johnwalkersetmessageid: <1450904482.41.0.647995975391.issue25928@psf.upfronthosting.co.za>
2015-12-23 21:01:22johnwalkerlinkissue25928 messages
2015-12-23 21:01:22johnwalkercreate