[New-bugs-announce] [issue22284] decimal module contains less symbols when the _decimal module is missing

STINNER Victor report at bugs.python.org
Wed Aug 27 11:59:40 CEST 2014


New submission from STINNER Victor:

While investigation issue #22283, I noticed that when the _decimal is present, the decimal looses its __all__ attribute. dir(decimal) contains 5 more symbols than decimal.__all__:
{'ConversionSyntax',
 'DecimalTuple',
 'DivisionImpossible',
 'DivisionUndefined',
 'InvalidContext'}

These symbols should be added to decimal.__all__, or _decimal should also have a __all__ attribute.

----------
messages: 225954
nosy: haypo, skrah
priority: normal
severity: normal
status: open
title: decimal module contains less symbols when the _decimal module is missing
versions: Python 3.5

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


More information about the New-bugs-announce mailing list