Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72474

Re: can someone explain the concept of "strings (or whatever) being immutable"

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <cameron@cskk.homeip.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; '"this': 0.03; 'cc:addr :python-list': 0.11; 'empty.': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'reliably': 0.16; 'renders': 0.16; 'simpson': 0.16; 'subject: \n ': 0.16; 'wrote:': 0.18; 'bit': 0.19; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'header:User-Agent:1': 0.23; 'text,': 0.24; 'text.': 0.24; 'question': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'subject:) ': 0.29; 'violation': 0.31; 'writes:': 0.31; 'text': 0.33; 'plain': 0.33; 'subject:the': 0.34; 'subject: (': 0.35; 'etc': 0.35; 'but': 0.35; 'version': 0.36; 'adjust': 0.36; 'received:com.au': 0.36; 'clear': 0.37; 'thank': 0.38; 'follows:': 0.38; 'received:211': 0.38; 'version,': 0.38; 'whatever': 0.38; 'subject:can': 0.39; 'subject:"': 0.60; "you're": 0.61; 'content-disposition:inline': 0.62; 'complete': 0.62; 'more': 0.64; 'saw': 0.77; '\xe2\x80\x93': 0.77; 'mailer': 0.84; 'subject:being': 0.84
Date Tue, 3 Jun 2014 15:23:34 +1000
From Cameron Simpson <cs@zip.com.au>
To Deb Wyatt <codemonkey@inbox.com>
Subject Re: can someone explain the concept of "strings (or whatever) being immutable"
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Disposition inline
Content-Transfer-Encoding 8bit
In-Reply-To <CBDAD7DCC2E.00000B3Ccodemonkey@inbox.com>
User-Agent Mutt/1.5.21 (2010-09-15)
References <CBDAD7DCC2E.00000B3Ccodemonkey@inbox.com>
X-Optus-CM-Score 0
X-Optus-CM-Analysis v=2.1 cv=U6SrU4bu c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=LcaDllckn3IA:10 a=RsucFoVYeGkA:10 a=IkcTkHD0fZMA:10 a=vrnE16BAAAAA:8 a=M3mb7mjCAAAA:8 a=jlZyjyKvw5xZFF5V13MA:9 a=QEXdDO2ut3YA:10 a=JDxxP_0S_HUA:10
Cc python-list@python.org, Ben Finney <ben@benfinney.id.au>
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.10595.1401774877.18130.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1401774877 news.xs4all.nl 2882 [2001:888:2000:d::a6]:48096
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:72474

Show key headers only | View raw


On 02Jun2014 21:06, Deb Wyatt <codemonkey@inbox.com> wrote:
>> 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.
[...]
>that's strange that you see no text.  The body of my email was as follows:
>"""a_string = "This is a string"
[... etc ...]

That is because whatever you're using for email sent both HTML and plain text, 
but in complete violation of sanity, left the plain text version empty. Ben's 
mailer is showing him the plain text version, which is perfectly reasonable, 
and why he saw nothing.

Please adjust your mailer to send plain text only. It is all you need anyway, 
and renders more reliably for other people.

Thank you,
Cameron Simpson <cs@zip.com.au>

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: can someone explain the concept of "strings (or whatever) being immutable" Cameron Simpson <cs@zip.com.au> - 2014-06-03 15:23 +1000
  Re: can someone explain the concept of "strings (or whatever) being immutable" Rustom Mody <rustompmody@gmail.com> - 2014-06-02 23:28 -0700
    Re: can someone explain the concept of "strings (or whatever) being immutable" Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-03 08:59 +0100

csiph-web