Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #72466
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <codemonkey@inbox.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.030 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; '"this': 0.03; '"""': 0.07; 'list?': 0.07; 'string': 0.09; 'immutable': 0.09; 'question.': 0.14; 'concatenate': 0.16; 'email name:ben': 0.16; 'finney': 0.16; 'guess.': 0.16; 'url:earth': 0.16; 'wa,': 0.16; 'size,': 0.16; 'bit': 0.19; 'message-----': 0.19; 'memory': 0.22; 'text.': 0.24; '(or': 0.24; 'question': 0.24; 'world,': 0.26; 'header:In-Reply- To:1': 0.27; 'to:2**1': 0.27; 'url:mailman': 0.30; 'writes:': 0.31; 'url:python': 0.33; 'subject:the': 0.34; 'subject: (': 0.35; 'add': 0.35; 'there': 0.35; 'really': 0.36; 'earth': 0.36; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.37; 'clear': 0.37; 'being': 0.38; 'ben': 0.38; 'follows:': 0.38; 'question,': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'explain': 0.39; 'does': 0.39; 'subject:': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'url:mail': 0.40; 'even': 0.60; 'subject:"': 0.60; 'hope': 0.61; 'free': 0.61; 'first': 0.61; 're:': 0.63; 'different': 0.65; 'email name:python-list': 0.65; 'usa': 0.69; '\xe2\x80\x93': 0.77; 'subject:being': 0.84; '+1000': 0.91 |
| 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=NkiG/YjO27SwDc9RZceHal0jHvFvsxzoQ4bFr/ZXGEGIFbPO6RUdRFoLNXT/z6p3/AQZ x6yGXXeckqHK/hHD0DPJElOlyq0RE+JmCbd9vcKngSj0BXzLKa5icqfWPGYucHxpNI+tHU 1CXyuF+GCLt5AMfgncwGZ2e2AhLR5eg7g= |
| 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=JDRZF8Tnr1OK3Qjk+lflJHCQcMBSaYZOM7QvvayUL+c=; b=N02C7iduBMUMg+/CcR2jeTuWH49SeXlHXCHsOFN7Tj7lf1xwpQUnuQzHz81HWGDu1IzO M4WEYFSwjvluOg/5qusxA+GtI36c+gsKmHTg+4ib9KJsoIRru+TwMONpc3l8xZll0UFMWd ej1/+tnAAk7tb1Txx9S9niGmGpZWsuYqg= |
| Mime-Version | 1.0 |
| Date | Mon, 2 Jun 2014 21:06:37 -0800 |
| From | Deb Wyatt <codemonkey@inbox.com> |
| Subject | Re: can someone explain the concept of "strings (or whatever) being immutable" |
| To | Ben Finney <ben@benfinney.id.au>, python-list@python.org |
| In-Reply-To | <85a99u385y.fsf@benfinney.id.au> |
| References | <cb9e0aa79b1.00000b26codemonkey@inbox.com> |
| X-Mailer | INBOX.COM |
| X-Originating-IP | 98.247.209.87 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-IWM-ACU | EadQsSHy6TpUYyLgtb3EKnx8z_r2PPi54PnqN8aXrxdWAEPy919448VzE9ic cz_nRx04Ah5O6lQGnyDzXlZcHiTpGoE68IDMBvT1cqHzySHvWF-FslTpB12m cKAK0XMWvy2X0FupA4g@@ |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.10589.1401772000.18130.python-list@python.org> (permalink) |
| Lines | 54 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1401772000 news.xs4all.nl 2863 [2001:888:2000:d::a6]:53638 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:72466 |
Show key headers only | View raw
> -----Original Message----- > From: ben@benfinney.id.au > Sent: Tue, 03 Jun 2014 14:54:01 +1000 > To: python-list@python.org > Subject: Re: can someone explain the concept of "strings (or whatever) > being immutable" > > Deb Wyatt <codemonkey@inbox.com> writes: > >> [no text] > > Deb, can you expand a bit – and write the question in the body of your > message? It's not clear what you want explained. > > -- > \ “I hope if dogs ever take over the world, and they chose a | > `\ king, they don't just go by size, because I bet there are some | > _o__) Chihuahuas with some good ideas.” —Jack Handey | > Ben Finney > > -- > https://mail.python.org/mailman/listinfo/python-list that's strange that you see no text. The body of my email was as follows: """a_string = "This is a string" a_string is pointing to the above string now I change the value of a_string a_string = "This string is different" 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? """ That was just the first question. What does immutable really mean if you can add items to a list? and concatenate strings? I don't understand enough to even ask a comprehensible question, I guess. Thanks in advance, Deb in WA, USA ____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: can someone explain the concept of "strings (or whatever) being immutable" Deb Wyatt <codemonkey@inbox.com> - 2014-06-02 21:06 -0800 Re: can someone explain the concept of "strings (or whatever) being immutable" Steven D'Aprano <steve@pearwood.info> - 2014-06-03 07:46 +0000
csiph-web