[issue24949] Identifier lookup in a multi-level package is flakey

R. David Murray report at bugs.python.org
Fri Aug 28 02:28:00 CEST 2015


R. David Murray added the comment:

It should not be the case that email.mime.nonmultipart gets imported unless you import it explicitly.  I can't reproduce your case of trying to access its __file__ attribute and having it succeed the second time.  There must be something unusual about your setup or your linux distribution.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24949>
_______________________________________


More information about the Python-bugs-list mailing list