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


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

Is this a bug?

Started byJack Bates <tdhfwh@nottheoilrig.com>
First post2013-07-15 08:50 -0700
Last post2013-07-15 08:50 -0700
Articles 1 — 1 participant

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


Contents

  Is this a bug? Jack Bates <tdhfwh@nottheoilrig.com> - 2013-07-15 08:50 -0700

#50695 — Is this a bug?

FromJack Bates <tdhfwh@nottheoilrig.com>
Date2013-07-15 08:50 -0700
SubjectIs this a bug?
Message-ID<mailman.4735.1373903859.3114.python-list@python.org>
Hello,

Is the following code supposed to be an UnboundLocalError?
Currently it assigns the value 'bar' to the attribute baz.foo

    foo = 'bar'
    class baz:
       foo = foo

[toc] | [standalone]


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


csiph-web