Roundup Robot added the comment:
New changeset 2b3dbbd2bd92 by Stefan Krah in branch '3.4':
Issue #22284: Update decimal.__all__
http://hg.python.org/cpython/rev/2b3dbbd2bd92
New changeset 5bc23c111de1 by Stefan Krah in branch 'default':
Issue #22284: Merge 3.4
Stefan Krah added the comment:
I didn't add __all__ to _decimal because of this thread here:
https://mail.python.org/pipermail/python-dev/2001-February/012591.html
--
components: +Library (Lib)
dependencies: -Speed up _decimal import
resolution: - fixed
stage: - resolved
status:
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',
Stefan Krah added the comment:
I agree. I plan to fix this as part of #19232. If decimal.py and
_decimal are split properly, these things show up immediately.
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
Changes by Stefan Krah stefan-use...@bytereef.org:
--
dependencies: +Speed up _decimal import
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22284
___