Strange re problem on OSX but Not Linux
bnblazer at gmail.com
Thu Nov 9 05:06:59 CET 2006
Paul McGuire wrote:
> "Gabriel Genellina" <gagsl-py at yahoo.com.ar> wrote in message
> news:mailman.1932.1163019917.11739.python-list at python.org...
> > Dont use regex as a name. Also, do you have any script called "re.py"
> > hidding that library module? or regex.py?
> My bet is that a local re.py is masking the lib module. (It's a shame this
> error is so easy to trip over.)
> -- Paul
I figured that one out so I renamed the file. Unfortunately it took me
a while to realize that I needed to delete re.pyc as well.
More information about the Python-list