I had the same problem myself. Mark's detailed explanation really helped me understand.I ended up doing something like:
The code doesn't work as-is, could you please post a working version? Just for the record, so people reading this thread later don't get confused.
-- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list