Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.166 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.71; '*S*': 0.04; '"this': 0.03; 'string': 0.09; 'aquarium': 0.16; 'url:my': 0.16; 'memory': 0.22; 'question': 0.24; 'subject:) ': 0.29; 'subject:the': 0.34; 'subject: (': 0.35; 'charset:us-ascii': 0.36; 'to:addr:python- list': 0.38; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'subject:"': 0.60; 'free': 0.61; 'skip:n 10': 0.64; 'different': 0.65; 'url:img': 0.74; 'url:jpg': 0.83; 'subject:being': 0.84 DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; d=inbox.com; s=s1; h=mime-version:date:message-id:from:subject:to:content-type; b=bI2PmGdc+/01dUMFvfnObKBb6A7QbP5HpW+LKLOM3aYPXroT6Zq8xOyI4Kyf7RkHDqnz UlpOT1V/S4j7Ur39xFw23Iov1Nx8R26k/UThmzsX/HRyv7Zky2yhxytS3DuvG6w2EP5dkz ozD0+wUINvQeen1FAYLZOc2RvtHWj0ll4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; d=inbox.com; s=s1; h=mime-version:date:message-id:subject:from:to:content-type; bh=rbYnQEPn7/3XDRivqkneUa15xtXp09BWehaqj3yQ+ss=; b=l1lPYBJH4u0pUQV1Rf50kesG8nKIZkDHC62YD4jKPOKMwj9GqoQjXDXXPw3o12fDAArA akysuzalsTgWeRBH6mXl9nKWgMqmBQ+v1a1hlKwbwmo1gcjiQrzGqdKav8MvmSOLrXjmrm mIyveNMoAnC2J51PGJce2TVIxkHQce6qY= Mime-Version: 1.0 Date: Mon, 2 Jun 2014 20:39:25 -0800 From: Deb Wyatt Subject: can someone explain the concept of "strings (or whatever) being immutable" To: python-list@python.org X-Mailer: INBOX.COM X-Originating-IP: 98.247.209.87 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-IWM-ACU: kyRIpbkdFegYRNBm91sR1fP6baRA9wzZWMLsG2y2N4gkrODDQUTSExZsrJXc 4R7vBlMHI2IQdjc_V0FW_Ht36KguZxqy1PT_F3_a1AeDKMvzWrxDKPxLsR6p hAkL5c32hOetXdLQg-g@@ X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1401770367 news.xs4all.nl 2932 [2001:888:2000:d::a6]:40002 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:72462 <=21DOCTYPE HTML PUBLIC =22-//W3C//DTD HTML 4.0 Transitional//EN=22> a_string =3D =22This is a string=22
a_string is pointing to the above = string

now I change the value of = a_string
a_string =3D =22This string is different=22
I = understand that now a_string is pointing to a different string than it was = before, in a different location.

my question is = what happens to the original string??  Is it still in memory = somewhere, nameless?
Thanks in advance,


3D=223D
Free 3D Marine Aquarium = Screensaver
Watch dolphins, sharks & orcas on your desktop=21 = Check it out at www.inbox.com/marineaquari= um