[pypy-issue] [issue754] ImportError expected but KeyError given instead on import fail.

Fabio Zadrozny tracker at bugs.pypy.org
Thu Jun 16 03:41:35 CEST 2011


New submission from Fabio Zadrozny <fabiofz at gmail.com>:

Happens on pypy-1.5.0a0-win32.

To reproduce, create 2 modules:

mod1:

import mod2 <-- ImportError expected here (KeyError raised instead)

mod2:

import sys
del sys.modules['mod2'] #Remove itself from the modules

----------
messages: 2635
nosy: fabioz, pypy-issue
priority: bug
release: 1.5
status: unread
title: ImportError expected but KeyError given instead on import fail.

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue754>
________________________________________


More information about the pypy-issue mailing list