[issue2377] Replace __import__ w/ importlib.__import__

Antoine Pitrou report at bugs.python.org
Fri Feb 24 20:24:42 CET 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

For the record, compilation fails here:

Python/import.c: In function ‘PyImport_ImportModuleLevelObject’:
Python/import.c:2956:9: erreur: ‘for’ loop initial declarations are only
allowed in C99 mode
Python/import.c:2956:9: note: use option -std=c99 or -std=gnu99 to
compile your code
make: *** [Python/import.o] Erreur 1

----------

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


More information about the Python-bugs-list mailing list