[Python-Dev] PEP 461 - Adding % and {} formatting to bytes (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jan 15 22:55:31 CET 2014
- Previous message: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes
- Next message: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Neil Schemenauer wrote:
Objects that implement str can also implement bytes if they can guarantee that ASCII characters are always returned,
I think _ascii would be a better name. I'd expect a method called bytes on an int to return some version of its binary value.
-- Greg
- Previous message: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes
- Next message: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]