[issue15502] Meta path finders and path entry finders are different, but share an ABC

Nick Coghlan report at bugs.python.org
Thu Aug 2 13:33:25 CEST 2012


Nick Coghlan added the comment:

Specifically, what I did was to drop "find_module" from the Finder ABC, but keep the ABC itself as a way to document the common "invalidate_caches" API. The ABC definition no longer cares whether you implement find_module() or not. MetaPathFinder then enforces find_module(), while PathEntryFinder enforces find_loader().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15502>
_______________________________________


More information about the Python-bugs-list mailing list