[Python-Dev] Relaxing Unicode error handling

Alex Martelli aleax at aleax.it
Sat Jan 3 11:15:06 EST 2004

[[ I _hope_ I've figured out how to convince the Mail app on my 
brand-new iBook to send out plain text, NOT HTML, mails -- if this 
comes as HTML mail, I apologize -- please let me know so I'll keep 
digging (advice from more experienced Mac'ers welcome too!_)]]

On Jan 3, 2004, at 3:33 PM, Hye-Shik Chang wrote:

> On Sat, Jan 03, 2004 at 12:44:52PM +0100, Martin v. Loewis wrote:
>> People keep complaining that they get Unicode errors
>> when funny characters start showing up in their inputs.
>> In some cases, these people would apparantly be happy
>> if Python would just "keep going", IOW, they want to
>> get moji-bake (garbled characters), instead of
>> exceptions that abort their applications.
>> I'd like to add a static property unicode.errorhandling,
> I'd like to see this feature in python very much. :)

I agree it would be an enhancement.

> But don't we keep these sort of variables in sys module?

Why would it need to be a module top-level variable?  As it strongly 
relates to a single, specific type, making it an attribute of the type 
feels MUCH better to me.


More information about the Python-Dev mailing list