[Python-Dev] bytes.from_hex() (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Mar 3 01:10:41 CET 2006


Stephen J. Turnbull wrote:

What you presumably meant was "what would you consider the proper type for (P)CDATA?"

No, I mean the whole thing, including all the <...> tags etc. Like you see when you load an XML file into a text editor. (BTW, doesn't the fact that you can load an XML file into what we call a "text editor" say something?)

nobody but authors of wire drivers[2] and introspective code will need to explicitly call .encode('base64').

Even a wire driver writer will only need it if he's trying to turn a text wire into a binary wire, as far as I can see.

-- Greg



More information about the Python-Dev mailing list