Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: Personally I support moving imports of rarely used modules into functions that need them. But this is against PEP 8 and should be discussed more widely. Perhaps this rule should be weaken, we have to state what exceptions are permitted.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33440> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com