A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-May/072999.html below:

[Python-Dev] Changing string constants to byte arrays in Py3k

[Python-Dev] Changing string constants to byte arrays in Py3k [Python-Dev] Changing string constants to byte arrays in Py3kGreg Ewing greg.ewing at canterbury.ac.nz
Sun May 6 01:25:26 CEST 2007
Steven Bethard wrote:

> Does that mean you want list literals to be immutable too?

There are no "list literals" in Python, only expressions
that construct lists.

You might argue that b"abc" is not a literal either, but
an expression that constructs a bytes object. However, it
*looks* so much like a string literal that this would be
a difficult distinction to keep in mind, and very likely
to trip people up.

--
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4