import bug

Stefan Behnel stefan_ml at behnel.de
Sat Oct 31 11:34:54 EDT 2009


kj, 31.10.2009 16:12:
> My sin appears to be having the (empty) file ham/re.py.  So Python
> is confusing it with the re module of the standard library, and
> using it when the inspect module tries to import re.

1) it's a bad idea to name your own modules after modules in the stdlib
2) this has been fixed in Py3

Stefan



More information about the Python-list mailing list