Variable name has a typo, but code still works. Why?

BartlebyScrivener rpdooling at gmail.com
Wed May 31 20:31:40 EDT 2006


> I can only assume that there was some type of cache problem.  Could it
> have been in the .pyc?  I thought that was recompiled every time a .py
> is run/set to be interpreted.

If you are on Windows, check your PATHEXT environment variable and make
sure that .py is listed ahead of .pyc and any other .py?

See, e.g., a bug in earlier versions of ActiveState distrib

http://tinyurl.com/qok9v

rd

"Electricity is actually made up of extremely tiny particles called
electrons, that you cannot see with the naked eye unless you have been
drinking."--Dave Barry




More information about the Python-list mailing list