[Python-Dev] Relaxing Unicode error handling

Neil Hodgson nhodgson at bigpond.net.au
Sun Jan 4 07:09:42 EST 2004


Martin v. Loewis:

> I don't know whether Neil was actually aware of that feature: In
> site.py, if you uncomment the block
> ...

   At the start of writing the mail, I just thought there should be a codec
that failed conversions, by the end of the mail I'd found "undefined", and
after sending found the site.py switch.

   When following unexpected conversion failure discussions on c.l.py, I
can't recall this being mentioned as a debugging tool. Turning it on found
several uninteresting ASCII literal promotion 'problems' in a small working
application so the technique could be too noisy for some users.

   Neil




More information about the Python-Dev mailing list