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/2008-May/079698.html below:

[Python-Dev] Slice as a copy... by design?

[Python-Dev] Slice as a copy... by design? [Python-Dev] Slice as a copy... by design?Aahz aahz at pythoncraft.com
Thu May 22 19:01:44 CEST 2008
On Thu, May 22, 2008, Facundo Batista wrote:
> 
> A thread in PyAr raised the question that, considering that strings
> are immutable, why a slice of a string is a copy and not a reference
> to a part of that string.

Someone did a patch for this at one point, but I don't remember what
happened.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Need a book?  Use your library!
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