[New-bugs-announce] [issue27187] Relax __all__ location requirement in PEP 8

Barry A. Warsaw report at bugs.python.org
Thu Jun 2 17:06:42 EDT 2016

New submission from Barry A. Warsaw:

PEP 8 says:

Put any relevant __all__ specification after the imports.

I don't remember why we wanted __all__ to go after imports.  I think we should relax that since other dunders can go before imports.

See related PYCQA issue: https://github.com/PyCQA/pycodestyle/issues/394

messages: 266949
nosy: barry
priority: normal
severity: normal
status: open
title: Relax __all__ location requirement in PEP 8

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list