On 26 May 2013 17:38, eryksun <eryk...@gmail.com> wrote: > On Sun, May 26, 2013 at 8:20 PM, Steven D'Aprano <st...@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.
Ah, that clears it up. Jim _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor