Nick Coghlan <ncogh...@gmail.com> added the comment:

One trap to watch out for: it's best to call os.path.realpath() on any 
temporary directories created, since the interpreter tends to do that 
internally.

I'd previously dealt with this in script_helper.temp_dir, but it came up again 
when I tightened up the runpy.run_module tests to actually check that __file__ 
ended up with the expected value.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15376>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to