API for custom Unicode error handlers
Terry Reedy
tjreedy at udel.edu
Fri Oct 4 18:44:44 EDT 2013
On 10/4/2013 3:35 PM, Serhiy Storchaka wrote:
> 04.10.13 16:56, Steven D'Aprano написав(ла):
>> I have some custom Unicode error handlers, and I'm looking for advice on
>> the right API for dealing with them.
> I'm planning to built this error handler in 3.4 (see
> http://comments.gmane.org/gmane.comp.python.ideas/21296).
>> Should the module holding the error handlers automatically register them?
>
> This question interesting me too.
I did not respond on the p-i thread, but +1 for 'namereplace' also. Like
others, I would prefer auto-register unless that creates a problem. If
it is a problem, perhaps the registry mechanism needs improvement. On
the other hand, it is it built-in, it will be pre-registered.
--
Terry Jan Reedy
More information about the Python-list
mailing list