[FRPythoneers] compile() and syntax errors

Bob Gailer ramrom at earthling.net
Fri Aug 9 14:02:45 MDT 2002

Just to help the rest of us preserve our sanity, I recommend not assigning 
to str, since that overrides the builtin str().

Having run this example without thinking about that fact cost me a few 
minutes of debugging since I was running code of mine that uses str() after 
testing the example.

>str = """
>def foo():
>     print 'hello'
>       error

Bob Gailer
mailto:ramrom at earthling.net
303 442 2625

More information about the FRPythoneers mailing list