[Python-Dev] XML codec?

Walter Dörwald walter at livinglogic.de
Mon Nov 12 14:56:41 CET 2007


Fred Drake wrote:

> On Nov 12, 2007, at 8:16 AM, M.-A. Lemburg wrote:
>> We have a -1 from Martin and a +1 from Walter, Guido and myself.
>> Pretty clear vote if you ask me. I'd say we end the discussion here
>> and move on.
> 
> If we're counting, you've got a -1 on the codec from me as well.   
> Martin's right: there's no value to embedding the logic of auto- 
> detection into the codec.

It isn't "embedded". codecs.detect_xml_encoding() is callable without
any problems (though not documented).

> A function somewhere in the xml package is  
> all that's warranted.

Who would use such a function for what?

Servus,
   Walter



More information about the Python-Dev mailing list