[New-bugs-announce] [issue16497] zipimport.zipimporter.find_module() does not work with dotted module names

Berker Peksag report at bugs.python.org
Sun Nov 18 00:39:59 CET 2012


New submission from Berker Peksag:

I am trying to write a test for issue 8585. The `zipimport.zipimporter.find_module()`
docs says:

"Search for a module specified by fullname. fullname must be the fully qualified
(dotted) module name."

(from http://docs.python.org/3.4/library/zipimport.html#zipimport.zipimporter.find_module )

However, the `zipimport.zipimporter.find_module()` method does not work as
expected. See the output of reproducer.py:

    spam <zipimporter object "zipimport_example.zip">
    package.eggs None

----------
components: Library (Lib)
files: reproducer.py
messages: 175830
nosy: berker.peksag
priority: normal
severity: normal
status: open
title: zipimport.zipimporter.find_module() does not work with dotted module names
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file28016/reproducer.py

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


More information about the New-bugs-announce mailing list