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 gregory.p.smith
Recipients eric.snow, gregory.p.smith, lemburg, python-dev, vinay.sajip
Date 2015-10-22.20:16:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445545013.38.0.176214437275.issue21709@psf.upfronthosting.co.za>
In-reply-to
Content
I applied the same _srcfile setting cleanup to 2.7 as we ran into this at work with an embedded python stdlib.  __file__ was set to something by the embedded importer, but to something different than the path seen on the actual code objects which appear to be based on the path seen during pyc compilation done at build time.
History
Date User Action Args
2015-10-22 20:16:53gregory.p.smithsetrecipients: + gregory.p.smith, lemburg, vinay.sajip, python-dev, eric.snow
2015-10-22 20:16:53gregory.p.smithsetmessageid: <1445545013.38.0.176214437275.issue21709@psf.upfronthosting.co.za>
2015-10-22 20:16:53gregory.p.smithlinkissue21709 messages
2015-10-22 20:16:53gregory.p.smithcreate