[Python-Dev] Unifying Long Integers and Integers: baseint (original) (raw)

Greg Ewing greg at cosc.canterbury.ac.nz
Fri Aug 13 03:21:22 CEST 2004


Guido:

> Perhaps the constructor for a byte array could accept a string > argument as long as it contained only ascii characters? > > h.putrequest(bytes('GET'), selector)

Yeah, but that's what Martin called depending on the default encoding.

I don't see anything wrong with that. It would be a fixed default, defined by the language, not something site-dependent that could shift under you.

Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list