New submission from Jeffrey Armstrong:

On a platform where dynamic loading is unsupported, the function 
"imp_load_dynamic" is not compiled (Python/import.c:1775), and the Python 
function "load_dynamic" (Python/import.c:1845) will not be included in the _imp 
module.  However, Lib/imp.py attempts to import "load_dynamic" from _imp 
(Lib/imp.py:9), causing an ImportError if dynamic loading is unsupported.  

The interpreter is unable to start under these circumstances.  The error was 
encountered on m68k-atari-mint using GCC as the compiler.  This platform is a 
desktop environment, but has no support for true shared objects and libraries.

----------
components: Library (Lib)
messages: 179186
nosy: Jeffrey.Armstrong
priority: normal
severity: normal
status: open
title: Importing "imp" will fail if dynamic loading not supported
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to