On Jul 30, 4:59 pm, Simon Willison <[EMAIL PROTECTED]> wrote: > I just tried it out on Python 2.4.2 on an Ubuntu machine and it worked > fine! I guess this must be an OS X Python bug. How absolutely > infuriating.
Some very useful people in #python on Freenode pointed out that my bug occurs because I'm trying to display things interactively in the console. Saving to a variable instead fixes the problem. Thanks for your help, Simon -- http://mail.python.org/mailman/listinfo/python-list