[New-bugs-announce] [issue21374] DecimalTuple.__module__ is set to _frozen_importlib

Stefan Krah report at bugs.python.org
Mon Apr 28 18:00:26 CEST 2014


New submission from Stefan Krah:

>>> x = Decimal(9).as_tuple()
>>> import pickle
>>> pickle.dumps(x)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
_pickle.PicklingError: Can't pickle <class '_frozen_importlib.DecimalTuple'>: attribute lookup DecimalTuple on _frozen_importlib failed

----------
components: Extension Modules
messages: 217381
nosy: skrah
priority: normal
severity: normal
stage: needs patch
status: open
title: DecimalTuple.__module__ is set to _frozen_importlib
type: behavior
versions: Python 3.4, Python 3.5

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


More information about the New-bugs-announce mailing list