Correct. Sorry. Here's an improved table that I'm also adding to the PEP:

C name       | 2.x    repr | 3.0a1 repr | 3.0a2         repr
-------------+-------------+------------+-------------------
PyUnicode    | unicode u"" | str     "" | str             ""
PyString     | str      "" | str8   s"" | bytes          b""
PyBytes      | N/A         | bytes  b"" | buffer buffer(b"")
PyBuffer     | buffer  N/A | buffer N/A | N/A
PyMemoryView | N/A         | N/A        | memoryview
N/A-------------+-------------+------------+-------------------

--Guido

On 10/15/07, Steven Bethard <[EMAIL PROTECTED]> wrote:
>
> On 10/15/07, Guido van Rossum <[EMAIL PROTECTED]> 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
>



-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to