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

Reply via email to