Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29868
| Received | by 10.224.223.84 with SMTP id ij20mr8877888qab.5.1348440247101; Sun, 23 Sep 2012 15:44:07 -0700 (PDT) |
|---|---|
| Received | by 10.236.109.233 with SMTP id s69mr1330477yhg.11.1348440247037; Sun, 23 Sep 2012 15:44:07 -0700 (PDT) |
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!l8no7345383qao.0!news-out.google.com!e10ni13434282qan.0!nntp.google.com!l8no7345369qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Sun, 23 Sep 2012 15:44:06 -0700 (PDT) |
| In-Reply-To | <5126348a-8e87-493d-975c-d6273e59784c@googlegroups.com> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=2602:306:cd9e:2850:5120:f6ff:b92b:1e08; posting-account=An6yGQoAAAD9ay8V5T7Wu52YyqyK-bYm |
| NNTP-Posting-Host | 2602:306:cd9e:2850:5120:f6ff:b92b:1e08 |
| References | <5126348a-8e87-493d-975c-d6273e59784c@googlegroups.com> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <4797cf1b-d18b-4c7d-bb89-dcb7b6ff4d45@googlegroups.com> (permalink) |
| Subject | Re: List Problem |
| From | jimbo1qaz <jimmyli1528@gmail.com> |
| Injection-Date | Sun, 23 Sep 2012 22:44:07 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Received-Bytes | 1563 |
| Xref | csiph.com comp.lang.python:29868 |
Show key headers only | View raw
On Sunday, September 23, 2012 2:31:48 PM UTC-7, jimbo1qaz wrote: > I have a nested list. Whenever I make a copy of the list, changes in one affect the other, even when I use list(orig) or even copy the sublists one by one. I have to manually copy each cell over for it to work. > > Link to broken code: http://jimbopy.pastebay.net/1090401 OK, deepcopy fixed it! And I fixed the catch indexerror thing too.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
List Problem jimbo1qaz <jimmyli1528@gmail.com> - 2012-09-23 14:31 -0700
Re: List Problem jimbo1qaz <jimmyli1528@gmail.com> - 2012-09-23 14:44 -0700
Re: List Problem Chris Angelico <rosuav@gmail.com> - 2012-09-24 07:57 +1000
Re: List Problem Dave Angel <d@davea.name> - 2012-09-23 18:03 -0400
Re: List Problem Chris Angelico <rosuav@gmail.com> - 2012-09-24 08:27 +1000
Re: List Problem Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-23 22:37 +0000
Re: List Problem Chris Angelico <rosuav@gmail.com> - 2012-09-24 08:45 +1000
Re: List Problem Chris Angelico <rosuav@gmail.com> - 2012-09-24 08:30 +1000
Re: List Problem "Littlefield, Tyler" <tyler@tysdomain.com> - 2012-09-23 18:56 -0600
Re: List Problem Chris Angelico <rosuav@gmail.com> - 2012-09-24 11:52 +1000
Re: List Problem Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-23 22:07 +0000
Re: List Problem jimbo1qaz <jimmyli1528@gmail.com> - 2012-09-23 15:44 -0700
csiph-web