Message153554
It's not working because when you import a.b you calculate __path__ at import time, so when you modify sys.path it won't make a difference since import will look at a.__path__ after your a.b import and simply ignore sys.path. But when you put everything on sys.path upfront and use pkgutil to extend __path__ it sees the other 'a' directory and adds it to __path__. |
|
Date |
User |
Action |
Args |
2012-02-17 15:51:53 | brett.cannon | set | recipients:
+ brett.cannon, tarek, eric.araujo, eric.snow, andrea.crotti |
2012-02-17 15:51:52 | brett.cannon | set | messageid: <1329493912.94.0.239926837758.issue13991@psf.upfronthosting.co.za> |
2012-02-17 15:51:52 | brett.cannon | link | issue13991 messages |
2012-02-17 15:51:51 | brett.cannon | create | |
|