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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22284>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to