[Python-3000] Should PyString (new bytes type) accept strings with encoding? (original) (raw)
Steven Bethard steven.bethard at gmail.com
Mon Oct 15 18:54:43 CEST 2007
- Previous message: [Python-3000] Should PyString (new bytes type) accept strings with encoding?
- Next message: [Python-3000] Should PyString (new bytes type) accept strings with encoding?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10/15/07, Guido van Rossum <guido at python.org> wrote:
C name | 2.x | 3.0a1 | 3.0a2 | ----------+--------------+------------+---------------------+ PyUnicode | unicode u"" | str "" | str "" | PyString | str "" | str8 s"" | bytes "" | PyBytes | N/A | bytes b"" | buffer buffer(b"") | ----------+--------------+------------+---------------------+
That "" beside bytes in the 3.0a2 column should be b"" (that is, with a "b" prefix), right?
STeVe
I'm not in-sane. Indeed, I am so far out of sane that you appear a tiny blip on the distant coast of sanity. --- Bucky Katt, Get Fuzzy
- Previous message: [Python-3000] Should PyString (new bytes type) accept strings with encoding?
- Next message: [Python-3000] Should PyString (new bytes type) accept strings with encoding?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]