Nick Coghlan <ncogh...@gmail.com> added the comment: The spec get_filename is pretty simple:
Return whatever __file__ would be set to if load_module() was called for this module. (runpy's problem is that it never actually loads the module in question, so it never gets the chance to interrogate __file__) _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4512> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com