Regarding 'import module' - Vincent, if you want this done
consistently you should put up a proposal to add it to the coding
standards, together with the rationale and the exceptions. Then we
can settle it clearly and there won't be case-by-case arguments or
questions. We could even possibly add rules to pyflakes or something
to warn about violations.
To me 'lazy_import' actually is a reasonable case for importing the
particular symbol, because it's clear where it comes from and it seems
pointlessly redundant to say 'lazy_import.lazy_import'.
Regarding 'import module' - Vincent, if you want this done
consistently you should put up a proposal to add it to the coding
standards, together with the rationale and the exceptions. Then we
can settle it clearly and there won't be case-by-case arguments or
questions. We could even possibly add rules to pyflakes or something
to warn about violations.
To me 'lazy_import' actually is a reasonable case for importing the lazy_import' .
particular symbol, because it's clear where it comes from and it seems
pointlessly redundant to say 'lazy_import.
--
Martin