Message167955
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? |
|
Date |
User |
Action |
Args |
2012-08-11 14:00:27 | brett.cannon | set | recipients:
+ brett.cannon, scoder, r.david.murray, python-dev, eric.snow |
2012-08-11 14:00:27 | brett.cannon | set | messageid: <1344693627.61.0.280543145203.issue15576@psf.upfronthosting.co.za> |
2012-08-11 14:00:27 | brett.cannon | link | issue15576 messages |
2012-08-11 14:00:26 | brett.cannon | create | |
|