[issue15272] pkgutil.find_loader accepts invalid module names

Nick Coghlan report at bugs.python.org
Sat Jul 7 12:19:47 CEST 2012


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

The pkgutil import emulation is insane and permits modules identifiers to contain paths.

Identified in #15230 (reporting some very surprising behaviour from runpy.run_module).

----------
messages: 164806
nosy: brett.cannon, ncoghlan
priority: normal
severity: normal
status: open
title: pkgutil.find_loader accepts invalid module names
versions: Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list