[New-bugs-announce] [issue15600] expose the finder details used by the FileFinder path hook
report at bugs.python.org
Thu Aug 9 05:43:20 CEST 2012
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
nosy: brett.cannon, eric.snow, scoder
stage: patch review
title: expose the finder details used by the FileFinder path hook
versions: Python 3.4
Added file: http://bugs.python.org/file26735/loader_details.diff
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce