"convert" string to bytes without changing data (encoding)
breamoreboy at yahoo.co.uk
Wed Mar 28 22:44:14 CEST 2012
On 28/03/2012 20:43, Ross Ridge wrote:
> Evan Driscoll<driscoll at cs.wisc.edu> wrote:
>> So yes, you can say that pretending there's not a mapping of strings to
>> internal representation is silly, because there is. However, there's
>> nothing you can say about that mapping.
> I'm not the one labeling anything as being silly. I'm the one labeling
> the things as bullshit, and that's what you're doing here. I can in
> fact say what the internal byte string representation of strings is any
> given build of Python 3. Just because I can't say what it would be in
> an imaginary hypothetical implementation doesn't mean I can never say
> anything about it.
> Ross Ridge
Bytes is bytes and strings is strings
And the wrong one I have chose
Let's go where they keep on wearin'
Those frills and flowers and buttons and bows
Rings and things and buttons and bows.
No guessing the tune.
More information about the Python-list