A bug in the way python's repr function handles certain unicode objects. repr mistakenly assumes that all unicode characters will be 6 characters in length (UTF-16) when it is possible for some strings to use wide characters (UTF-32) to overflow a buffer. There is more information in the Ubuntu bug: https://launchpad.net/distros/ubuntu/+source/python2.4/+bug/56633 and the upstream bug: http://sourceforge.net/tracker/index.php?aid=1541585&group_id=5470&atid=305470&func=detail
This issue also affects RHEL3
Created attachment 137161 [details] Upstream patch
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2006-0713.html