[New-bugs-announce] [issue19151] Docstring and WindowsRegistryFinder wrong relative to importlib._bootstrap._get_supported_file_loaders()
report at bugs.python.org
Thu Oct 3 08:15:48 CEST 2013
New submission from Eric Snow:
Changeset 1db6553f3f8c for issue #15576 changed importlib._bootstrap._get_supported_file_loaders() to return a list of 2-tuples instead of 3-tuples. However, the docstring for the function was not updated to reflect that. More importantly, WindowsRegistryFinder.find_module() still expects 3-tuples.
The fix is relatively trivial (patch attached). However, I'm not aware of any reports of problems related to what should be a very broken WindowsRegistryFinder. So I just wanted to double-check that I haven't missed something here. Undoubtedly the code simply hasn't gotten a lot of exposure since the patch (Aug. 2012).
components: Interpreter Core
nosy: brett.cannon, eric.snow
stage: commit review
title: Docstring and WindowsRegistryFinder wrong relative to importlib._bootstrap._get_supported_file_loaders()
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file31951/fix-get-supported-file-loaders.diff
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce