[Python-Dev] XML codec? (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sat Nov 10 00:53:58 CET 2007


Not really, but the codec has more control over what happens to the stream, ie. it's easier to implement look-ahead in the codec than to do the detection and then try to push the bytes back onto the stream (which may or may not be possible depending on the nature of the stream).

YAGNI.

Regards, Martin



More information about the Python-Dev mailing list