[New-bugs-announce] [issue15314] Use importlib instead of pkgutil in runpy

Nick Coghlan report at bugs.python.org
Tue Jul 10 05:50:37 CEST 2012


New submission from Nick Coghlan <ncoghlan at gmail.com>:

There's some lingering weirdness in runpy due to its reliance on pkgutil's import emulation (see #15272).

For 3.3, I'd like to explicitly switch runpy over to using importlib. This was supposed to happen automatically, but the relevant API is "importlib.find_loader" rather than the "imp.get_loader" that runpy is currently looking for.

----------
assignee: ncoghlan
messages: 165153
nosy: georg.brandl, ncoghlan
priority: high
severity: normal
stage: needs patch
status: open
title: Use importlib instead of pkgutil in runpy
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15314>
_______________________________________


More information about the New-bugs-announce mailing list