[New-bugs-announce] [issue15600] expose the finder details used by the FileFinder path hook
Eric Snow
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
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 <report at bugs.python.org>
<http://bugs.python.org/issue15600>
_______________________________________
More information about the New-bugs-announce
mailing list