Message154281
| Author |
pitrou |
| Recipients |
brett.cannon, eric.snow, nadeem.vawda, ncoghlan, pitrou, skrah |
| Date |
2012年02月25日.18:48:47 |
| SpamBayes Score |
2.76161e-06 |
| Marked as misclassified |
No |
| Message-id |
<1330195511.3400.5.camel@localhost.localdomain> |
| In-reply-to |
<20120225183538.GA26857@sleipnir.bytereef.org> |
| Content |
> What happens is that if self._fill_cache() is called, cache_module='pep3147'
> and cache={'pep3147'}. Then 'cache_module in cache' is true and the function
> returns:
>
> loader('pep3147', './pep3147/__init__.py')
>
> Otherwise, find_module() returns None, control is handed back to
> find_module_path() ...
Ah, thanks. So the test needs to be fixed to call
importlib.invalidate_caches() after creating the module. |
|