
March 8, 2013
11:29 a.m.
Éric Araujo added the comment:
It is customary *but not required* to place all import statements at the beginning of a module...". The third seems to state that regardless of whether or not you followed the custom, module names are always placed in the global symbol table
Yes. Not following the usage means placing imports in the middle of the module for example, but it does not imply imports in functions. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17383> _______________________________________