> 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 _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com