R. David Murray added the comment: Note that this is fixed in 3.4. That is, in 3.4 __file__ paths are made absolute when the import happens. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue15931> _______________________________________