This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients Arfrever, brett.cannon, eric.araujo, eric.smith, eric.snow, lemburg, ncoghlan, python-dev, r.david.murray
Date 2012-04-25.06:05:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335333928.86.0.735104569145.issue14605@psf.upfronthosting.co.za>
In-reply-to
Content
Yeah, I was actually going to suggest forcing an absolute path for __main__.__file__ in runpy if you didn't want to do it in importlib itself.

I'm much happier with that approach than changing the tests, so the updated patch looks good to me.
History
Date User Action Args
2012-04-25 06:05:28ncoghlansetrecipients: + ncoghlan, lemburg, brett.cannon, eric.smith, eric.araujo, Arfrever, r.david.murray, python-dev, eric.snow
2012-04-25 06:05:28ncoghlansetmessageid: <1335333928.86.0.735104569145.issue14605@psf.upfronthosting.co.za>
2012-04-25 06:05:28ncoghlanlinkissue14605 messages
2012-04-25 06:05:28ncoghlancreate