[Python-Dev] adding a bytes sequence type to Python

Skip Montanaro skip at pobox.com
Thu Aug 12 16:29:29 CEST 2004


    Martin>    bytes("GET")

    Martin> which would implicitly convert each character to Latin-1.

That's why I think a special literal is necessary.  There'd be no unicode
foolishness involved. ;-)  They'd just be raw uninterpreted bytes.

Skip


More information about the Python-Dev mailing list

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant