Nick Coghlan added the comment: Brett's plan sounds good to me. We should also check we make sure __main__.__file__ is always absolute. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18416> _______________________________________