Message260142
I'm at work and so I don't have access to tar on this machine ATM, so I can't look at your code example. But sys.meta_path might be one level above what you want; you might be looking for sys.path_hooks since https://docs.python.org/3/library/importlib.html#importlib.machinery.PathFinder is what searches entries on sys.path. This also means that if you don't put your finder on sys.meta_path before importlib.machinery.PathFinder then it will never pick up a directory since any directory will always be viewed as a namespace package by that meta path finder. |
|
Date |
User |
Action |
Args |
2016-02-11 23:01:23 | brett.cannon | set | recipients:
+ brett.cannon, ncoghlan, eric.smith, eric.snow, Wolfgang Richter |
2016-02-11 23:01:22 | brett.cannon | set | messageid: <1455231682.98.0.972495621775.issue26344@psf.upfronthosting.co.za> |
2016-02-11 23:01:22 | brett.cannon | link | issue26344 messages |
2016-02-11 23:01:22 | brett.cannon | create | |
|