[Web-SIG] PEP 444 Goals

Éric Araujo merwok at netwok.org
Fri Jan 7 17:36:56 CET 2011


> No, otherwise I'd totally go for the surrogateescape approach.  Heck, 
> I'd still go for it if it were possible to write a surrogateescape 
> handler for 2.6, and require that a PEP 444 server register one with 
> Python's codec system.  I don't know if it's *possible*, though, 
> hopefully someone with more knowledge can weigh in on that.

This error handler is written in C; I don’t know whether it would be
possible to reimplement it in Python.  See PEP 383 for a description,
Python/codecs.c for the source.

Regards



More information about the Web-SIG mailing list