[issue14520] Buggy Decimal.__sizeof__

Stefan Krah report at bugs.python.org
Sat Apr 7 13:32:04 CEST 2012


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

In full:

>>> d = Decimal(100000000000000000000000000000000000000000000000000000000000000000000)                
>>> sys.getsizeof(d)                                                                                  
96                                                                                                    
>>> sys.getsizeof(d._int)                                                                             
212

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14520>
_______________________________________


More information about the Python-bugs-list mailing list