[Python-Dev] Why does PEP 8 advise against explicit relative imports? (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Tue Jul 16 14:35:08 CEST 2013
- Previous message: [Python-Dev] Why does PEP 8 advise against explicit relative imports?
- Next message: [Python-Dev] Why does PEP 8 advise against explicit relative imports?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 16 July 2013 22:27, Nick Coghlan <ncoghlan at gmail.com> wrote:
These are good reasons, but they're not the reasons the PEP currently gives. "Better failure modes" is a good practical benefit :)
I have now included an updated rationale for this rule in the patch attached to http://bugs.python.org/issue18472 (the recommendation to use absolute imports remains unchanged).
Cheers, Nick.
-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message: [Python-Dev] Why does PEP 8 advise against explicit relative imports?
- Next message: [Python-Dev] Why does PEP 8 advise against explicit relative imports?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]