On Sun, May 26, 2013 at 8:20 PM, Steven D'Aprano <steve at pearwood.info> wrote: > On 27/05/13 07:40, Jim Mooney wrote: > >> Good to know that compile doesn't check syntax, since I erroneously >> thought it did. > > compile does check syntax. Attempting to iterate an integer is a runtime TypeError, not a compile-time SyntaxError.