holger krekel <holger.kre...@gmail.com> added the comment: FWIW checking if an imported module really comes from a certain location and erroring out is also how py.test does it.
---------- nosy: +hpk _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8547> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com