Brett Cannon added the comment: I checked in your ``< 2`` change and plugged a memory leak since you were not freeing the struct tok_state. Checked in r58555. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1267> __________________________________