[issue22284] decimal module contains less symbols when the _decimal module is missing

2014-09-09 Thread Roundup Robot
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

[issue22284] decimal module contains less symbols when the _decimal module is missing

2014-09-09 Thread Stefan Krah
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:

[issue22284] decimal module contains less symbols when the _decimal module is missing

2014-08-27 Thread STINNER Victor
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',

[issue22284] decimal module contains less symbols when the _decimal module is missing

2014-08-27 Thread Stefan Krah
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

[issue22284] decimal module contains less symbols when the _decimal module is missing

2014-08-27 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- dependencies: +Speed up _decimal import ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22284 ___