Brett Cannon added the comment:
The trick would be how to query finders to say "what could you find?" There is
no API for that so either something pragmatic that won't work in the face of
e.g. zipfiles would need to be used or a new optional API on finders to list
what the tail name of modules it can find are (but without the package name as
most finders just use fullname.rpartition('.')[-1] to figure out what they are
looking for).
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20506>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com