Pychecker Re: Nested List Question

2005-11-02 Thread Roman Suzi
On Thu, 3 Nov 2005, Chris McCoy wrote: Thank you! I've been banging my head against the wall! Chris M. gridSystemId = [[None]*columns]*rows You've made gridSystemID a list of `rows` references to the SAME inner list, so the behavior you observe is the only possible one. If you want

Re: Pychecker Re: Nested List Question

2005-11-02 Thread Chris McCoy
It may, but I haven't been using Pychecker yet. I'm still fairly new to Python. Thanks, Chris M. Roman Suzi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Thu, 3 Nov 2005, Chris McCoy wrote: Thank you! I've been banging my head against the wall! Chris M. gridSystemId =

Re: Pychecker Re: Nested List Question

2005-11-02 Thread Mike Meyer
Roman Suzi [EMAIL PROTECTED] writes: On Thu, 3 Nov 2005, Chris McCoy wrote: gridSystemId = [[None]*columns]*rows You've made gridSystemID a list of `rows` references to the SAME inner list, so the behavior you observe is the only possible one. If you want copies instead, ASK for copies...: