[Tutor] masking library files

Danny Yoo dyoo at hashcollision.org
Thu Apr 10 20:51:11 CEST 2014

Apologies for the multiple emails.  I'm still paging in from memory
how Python imports are working these days.  :P

If you have the freedom to do so, you may also turn on the absolute
import system:


so that you can avoid the issue altogether, at least within your own code.

This is not the default behavior in Python 2, so you've got to
opt-into it.  I believe it is the default in Python 3, so it should
not be an issue in Python 3 code.

More information about the Tutor mailing list