Message256933
> 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' |
|
Date |
User |
Action |
Args |
2015-12-23 21:01:22 | johnwalker | set | recipients:
+ johnwalker, steven.daprano, skrah, serhiy.storchaka |
2015-12-23 21:01:22 | johnwalker | set | messageid: <1450904482.41.0.647995975391.issue25928@psf.upfronthosting.co.za> |
2015-12-23 21:01:22 | johnwalker | link | issue25928 messages |
2015-12-23 21:01:22 | johnwalker | create | |
|