Strange re problem on OSX but Not Linux
Brian
bnblazer at gmail.com
Wed Nov 8 23:06:59 EST 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.
Brian
More information about the Python-list
mailing list