Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #50697
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <zachary.ware@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.037 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.01; 'attribute': 0.07; 'subject:bug': 0.07; 'bug.': 0.09; 'cc:addr:python-list': 0.11; 'assigns': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'error': 0.23; 'mon,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '15,': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'class': 0.32; 'supposed': 0.32; 'classes': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'skip:u 10': 0.60; 'jul': 0.74; 'subject:this': 0.83; 'differences': 0.93; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=nNLIvXsISLhlzUBeiuIZoKy2oTAjGvTwziLMH+VZ884=; b=S4b3W2GxCM+4OHP/Kki/AmKRrwfuWQL+C4wrAqekxwSnLAH0F4O+5eu7kb0KIjpebP gfDMMuA2ygz+Sgw0nSTYsKQMSvqZqY2zBRBpEZn+n769FdSlRSvGzW4d4m+wh/dzlgjq UQZ5OAYffXCQI0Aa/sQnOC/6MkEDOnWZGpIzrHRA/bXRkLtMR8Bg3Lp4ZMrRBaFr3j3C 16CSK/UU9nW7n5ADnOjKo4Z5waMKjnIzLddxhkhRvUzBOmDRUIOBrTCe9XIlgeqoLVMf PfByiR2ByqOFseL884BCxXt7PHhThT2cGWw2yrZZI1kq8pJ5gj40Dd+jkUz7Sza5yXcC hn0g== |
| X-Received | by 10.204.191.132 with SMTP id dm4mr7989277bkb.66.1373904389107; Mon, 15 Jul 2013 09:06:29 -0700 (PDT) |
| MIME-Version | 1.0 |
| Sender | zachary.ware@gmail.com |
| In-Reply-To | <51E41A5C.7060903@nottheoilrig.com> |
| References | <51E41A5C.7060903@nottheoilrig.com> |
| From | Zachary Ware <zachary.ware+pylist@gmail.com> |
| Date | Mon, 15 Jul 2013 11:06:09 -0500 |
| X-Google-Sender-Auth | A2mqHJSC6Ob6ymkcKEwXKJOHeKU |
| Subject | Re: Is this a bug? |
| To | Jack Bates <tdhfwh@nottheoilrig.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4737.1373904396.3114.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1373904396 news.xs4all.nl 15912 [2001:888:2000:d::a6]:38766 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:50697 |
Show key headers only | View raw
On Mon, Jul 15, 2013 at 10:50 AM, Jack Bates <tdhfwh@nottheoilrig.com> wrote: > 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 No bug. It's not an error because of differences in the way classes and functions compile. -- Zach
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Is this a bug? Zachary Ware <zachary.ware+pylist@gmail.com> - 2013-07-15 11:06 -0500
csiph-web