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


Groups > comp.lang.python > #65126

Re: Why this throws an UnboundLocalError ?

References <CA+DCN_tQsZDckkueO7FiVYKihy2b9=SdeALJ4RwrQN_uk0dDLQ@mail.gmail.com> <CAPTjJmrVNgbwLMZ9yiv1qzVgexU5amMrNf3LM+NVAy_-qr5qQQ@mail.gmail.com> <CA+DCN_usPwPpNDwRuDgrWz22KQSGZ7=f1dP18CSSYW31FJkpNg@mail.gmail.com> <CAPTjJmrwVy1tseXoOrmYY6vYvkAm=cnH4Gv=B+ht9TzXDFLwoA@mail.gmail.com>
Date 2014-01-31 08:57 -0600
Subject Re: Why this throws an UnboundLocalError ?
From Skip Montanaro <skip@pobox.com>
Newsgroups comp.lang.python
Message-ID <mailman.6210.1391180731.18130.python-list@python.org> (permalink)

Show all headers | View raw


> That might be an indication of good code design :)

Or he got lucky and all his previous globals were mutable. :)

Skip

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


Thread

Re: Why this throws an UnboundLocalError ? Skip Montanaro <skip@pobox.com> - 2014-01-31 08:57 -0600

csiph-web