print and unicode strings

Martin von Loewis loewis at informatik.hu-berlin.de
Wed Feb 20 03:58:48 EST 2002


Toby Dickenson <tdickenson at devmail.geminidataloggers.co.uk> writes:

> That still wont fly, because 'print' always passes the to-be-printed
> objects through str() before calling file.write()

In Python 2.2, this is no longer true, due to patch #462849, applied
as fileobject.c 2.127. This is very similar to your patch.

Regards,
Martin



More information about the Python-list mailing list