[Python-Dev] Unifying Long Integers and Integers: baseint (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Thu Aug 12 08:29:00 CEST 2004
- Previous message: [Python-Dev] Unifying Long Integers and Integers: baseint
- Next message: [Python-Dev] Unifying Long Integers and Integers: baseint
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing wrote:
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)
That is probably most reasonable. It would be harmless to extend it to Latin-1, which would allow to represent all byte values in a string literal - even using the appropriate \x escapes.
Regards, Martin
- Previous message: [Python-Dev] Unifying Long Integers and Integers: baseint
- Next message: [Python-Dev] Unifying Long Integers and Integers: baseint
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]