Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51939
| References | <51fe9b6b$0$1689$e4fe514c@dreader35.news.xs4all.nl> <mailman.190.1375641581.1251.python-list@python.org> <51fea9bb$0$1677$e4fe514c@dreader35.news.xs4all.nl> |
|---|---|
| Date | 2013-08-04 21:03 +0100 |
| Subject | Re: stupid simple scope issue |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.191.1375646610.1251.python-list@python.org> (permalink) |
On Sun, Aug 4, 2013 at 8:21 PM, JohnD <john@nowhere.com> wrote: > On 2013-08-04, Chris Angelico <rosuav@gmail.com> wrote: > [...] > Thank you very much. The dust is slowly starting to move. > The code posted is nothing like the real thing, but I tried > to capture the essence. > > From your commants I think I see my mistake. > > Thank you very much for your reply! No probs! Python does have a slightly odd (compared to other languages) interpretation of "variable assignments" (name bindings, really) inside a class block. Trips up a lot of people. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
stupid simple scope issue JohnD <john@nowhere.com> - 2013-08-04 18:20 +0000
Re: stupid simple scope issue Chris Angelico <rosuav@gmail.com> - 2013-08-04 19:39 +0100
Re: stupid simple scope issue JohnD <john@nowhere.com> - 2013-08-04 19:21 +0000
Re: stupid simple scope issue Chris Angelico <rosuav@gmail.com> - 2013-08-04 21:03 +0100
Re: stupid simple scope issue JohnD <john@nowhere.com> - 2013-08-05 07:21 +0000
csiph-web