New submission from Eric Snow: The path hook associated with importlib.machinery.FileFinder hides away its loader details in a closure. This is less than ideal for the purposes of introspection and general hacking.
Here's a simple patch that exposes the loader details as an attribute on the path hook. This came up in issue 15576 (see msg167632). ---------- components: Interpreter Core files: loader_details.diff keywords: patch messages: 167755 nosy: brett.cannon, eric.snow, scoder priority: normal severity: normal stage: patch review status: open title: expose the finder details used by the FileFinder path hook type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file26735/loader_details.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15600> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com