[New-bugs-announce] [issue14798] pyclbr raises KeyError when the prefix of a dotted name is not a package

Xavier de Gaye report at bugs.python.org
Sun May 13 18:39:00 CEST 2012


New submission from Xavier de Gaye <xdegaye at gmail.com>:

pyclbr must raise ImportError instead of KeyError.
The attached patch fixes the problem. A test case is included.

----------
components: Library (Lib)
files: pdb_default.patch
keywords: patch
messages: 160523
nosy: xdegaye
priority: normal
severity: normal
status: open
title: pyclbr raises KeyError when the prefix of a dotted name is not a package
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file25563/pdb_default.patch

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


More information about the New-bugs-announce mailing list