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 brett.cannon
Recipients brett.cannon, eric.snow, python-dev, r.david.murray, scoder
Date 2012-08-11.14:00:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344693627.61.0.280543145203.issue15576@psf.upfronthosting.co.za>
In-reply-to
Content
So that test case is hard for me to follow since I don't know what a .srctree file is and the file seems to have some magical comments in it.

If my assumptions are correct you are generating a C file that does a relative import in the extension module's init function? Has that actually worked in the past? The error you are seeing suggests that the module is not being inserted into sys.modules before executing the body which I have no control over since that's the purview of imp.load_dynamic(). If you skip the relative imports does the import work otherwise?
History
Date User Action Args
2012-08-11 14:00:27brett.cannonsetrecipients: + brett.cannon, scoder, r.david.murray, python-dev, eric.snow
2012-08-11 14:00:27brett.cannonsetmessageid: <1344693627.61.0.280543145203.issue15576@psf.upfronthosting.co.za>
2012-08-11 14:00:27brett.cannonlinkissue15576 messages
2012-08-11 14:00:26brett.cannoncreate