Chris Rebert wrote: >> global t > > 'global' declarations are only allowed (and only make sense) inside a > function. Remove the above line. Global statements are *allowed* anywhere (by BDFL decision - does not hurt and he wants to keep code in and out of functions as identical as possible), but rest of statement I agree with.