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 <rep...@bugs.python.org> <http://bugs.python.org/issue24949> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com