Eric Snow added the comment:

Yeah, but right now the API of importlib.abc.Finder is strictly 
find_module(name, path=None).  I would expect that to remain the same for 
MetaPathFinder (bikeshedding aside :).  So what would be left in 
importlib.abc.Finder if the ultimate plan is that PathEntryHandler would not 
implement find_module()?  Would it simply be an alias to MetaPathFinder?

I agree with the plan, but wonder if a common base class is warranted.  The 
connection to "finder" in PEP 302 is nice, but rather superfluous in a 
practical context.  Having a Finder class is necessary at this point for 
backward-compatibility, but I don't see how it is different from the more 
appropriately named MetaPathFinder.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15502>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to