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


Groups > comp.lang.python > #28336

Re: Changing a Value in List of lists

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.nosignal.org!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rishabhdixit11@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'received:209.85.223': 0.03; 'lawrence': 0.09; 'terry': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; '23:40:32': 0.16; 'reedy': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'thanks.': 0.21; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'post': 0.28; 'context,': 0.29; 'case,': 0.29; 'subject:lists': 0.32; 'could': 0.32; 'stands': 0.33; 'subject:List': 0.33; 'hi,': 0.33; 'received:google.com': 0.34; 'list': 0.35; 'received:209.85': 0.35; 'should': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'instead': 0.39; ':).': 0.84; 'alone.': 0.91; 'subject:Value': 0.91
Newsgroups comp.lang.python
Date Sun, 2 Sep 2012 22:05:02 -0700 (PDT)
In-Reply-To <mailman.98.1346609404.27098.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=115.249.18.25; posting-account=rBTifgoAAACNoy9ftT8D2KzRt4Sl_2yF
References <CANFKW=GubXQ8Q7Zr+6dZVp451xi381VhGQHaUZpb1YA9cDs7zA@mail.gmail.com> <CANFKW=GeuGH68JUjVpRDTwdvcZb1YRYyc-V0APvS5pZPgwgnRg@mail.gmail.com> <CANFKW=ECCw1xARP0QS0MnKPPWc600EBkQ7GyLnT6J2PNd-HvdQ@mail.gmail.com> <k1vf2n$b3i$1@ger.gmane.org> <mailman.98.1346609404.27098.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 115.249.18.25
MIME-Version 1.0
Subject Re: Changing a Value in List of lists
From Rishabh Dixit <rishabhdixit11@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.125.1346648711.27098.python-list@python.org> (permalink)
Lines 40
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1346648711 news.xs4all.nl 6874 [2001:888:2000:d::a6]:49659
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:28336

Show key headers only | View raw


On Sunday, 2 September 2012 23:40:32 UTC+5:30, Terry Reedy  wrote:
> On 9/2/2012 7:17 AM, Mark Lawrence wrote:
> 
> > On 02/09/2012 12:05, Rishabh Dixit wrote:
> 
> >> Hi,
> 
> >>
> 
> >> I got it :). We should create a new list every time before adding to a
> 
> >> list
> 
> >> of list so that instead repeating the reference a new reference generated
> 
> >> every time.
> 
> >>
> 
> >
> 
> > Please don't top post on this list as it often destroys the context,
> 
> > thanks.
> 
> 
> 
> In this particular case, OP could and should have trimmed off everything 
> 
> other than the top post, as it stands alone. Then it would not have been 
> 
> a top post ;-).
> 
> 
> 
> -- 
> 
> Terry Jan Reedy

Sorry for the inconvenience. I would not do it again.

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


Thread

Re: Changing a Value in List of lists Terry Reedy <tjreedy@udel.edu> - 2012-09-02 14:07 -0400
  Re: Changing a Value in List of lists Rishabh Dixit <rishabhdixit11@gmail.com> - 2012-09-02 22:05 -0700
  Re: Changing a Value in List of lists Rishabh Dixit <rishabhdixit11@gmail.com> - 2012-09-02 22:05 -0700

csiph-web