[issue26632] __all__ decorator

Barry A. Warsaw report at bugs.python.org
Sun May 8 16:27:21 EDT 2016


Barry A. Warsaw added the comment:

One more diff.  As I was working on tests, I realized that the decorator version wasn't returning the thing it was decorating.  Changing this also allowed me to simplify the exit path.

I should be putting up a PyPI package soon which implements this for earlier Pythons (Python 3 only for now though).

----------
Added file: http://bugs.python.org/file42784/26632-in-c-4.diff

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


More information about the Python-bugs-list mailing list