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/079690.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?Oleg Broytmann phd at phd.pp.ru
Thu May 22 17:54:12 CEST 2008
On Thu, May 22, 2008 at 12:28:47PM -0300, Facundo Batista wrote:
> considering that strings
> are immutable, why a slice of a string is a copy and not a reference
> to a part of that string.

   I remember some discussions... let me see... google to help... aha:

http://mail.python.org/pipermail/python-3000/2006-August/003224.html
http://mail.python.org/pipermail/python-3000/2006-August/003242.html

   2006, August... I don't remember what was the resolution of the
discussion.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.
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