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


Groups > comp.lang.python > #28286 > unrolled thread

Re: Changing a Value in List of lists

Started byTerry Reedy <tjreedy@udel.edu>
First post2012-09-02 14:07 -0400
Last post2012-09-02 22:05 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#28286 — Re: Changing a Value in List of lists

FromTerry Reedy <tjreedy@udel.edu>
Date2012-09-02 14:07 -0400
SubjectRe: Changing a Value in List of lists
Message-ID<mailman.98.1346609404.27098.python-list@python.org>
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

[toc] | [next] | [standalone]


#28335

FromRishabh Dixit <rishabhdixit11@gmail.com>
Date2012-09-02 22:05 -0700
Message-ID<5c3e1037-0d6b-4bca-86cc-eb0520321a41@googlegroups.com>
In reply to#28286
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.

[toc] | [prev] | [next] | [standalone]


#28336

FromRishabh Dixit <rishabhdixit11@gmail.com>
Date2012-09-02 22:05 -0700
Message-ID<mailman.125.1346648711.27098.python-list@python.org>
In reply to#28286
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.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web