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


Groups > comp.lang.python > #49075

Re: What's wrong with this code? (UnboundLocalError: local variable referenced before assignment)

X-Received by 10.224.200.202 with SMTP id ex10mr27195394qab.8.1372105176059; Mon, 24 Jun 2013 13:19:36 -0700 (PDT)
X-Received by 10.49.97.34 with SMTP id dx2mr585192qeb.42.1372105175998; Mon, 24 Jun 2013 13:19:35 -0700 (PDT)
Path csiph.com!usenet.pasdenom.info!news.franciliens.net!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.216.87.MISMATCH!j2no475901qak.0!news-out.google.com!fv2ni164qab.0!nntp.google.com!j2no1649588qak.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Mon, 24 Jun 2013 13:19:35 -0700 (PDT)
In-Reply-To <b3d3518a-f24a-4c32-a41a-b99145753528@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=188.76.114.92; posting-account=3LsJBgoAAADgo2ScsumynKyQe1KTcTy7
NNTP-Posting-Host 188.76.114.92
References <b3d3518a-f24a-4c32-a41a-b99145753528@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <3dc29fa9-cd6d-4150-a76f-d215d7a4192e@googlegroups.com> (permalink)
Subject Re: What's wrong with this code? (UnboundLocalError: local variable referenced before assignment)
From pablobarhamalzas@gmail.com
Injection-Date Mon, 24 Jun 2013 20:19:36 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:49075

Show key headers only | View raw


Thank's to you all! 

Setting isWhite as global worked fine.
I'll probably be back soon with another silly question, see you then :)

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


Thread

What's wrong with this code? (UnboundLocalError: local variable referenced before assignment) pablobarhamalzas@gmail.com - 2013-06-24 12:47 -0700
  Re: What's wrong with this code? (UnboundLocalError: local variable referenced before assignment) pablobarhamalzas@gmail.com - 2013-06-24 12:53 -0700
  Re: What's wrong with this code? (UnboundLocalError: local variable referenced before assignment) Peter Otten <__peter__@web.de> - 2013-06-24 22:05 +0200
  Re: What's wrong with this code? (UnboundLocalError: local variable referenced before assignment) Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-06-24 22:10 +0200
  Re: What's wrong with this code? (UnboundLocalError: local variable referenced before assignment) John Gordon <gordon@panix.com> - 2013-06-24 20:12 +0000
    Re: What's wrong with this code? (UnboundLocalError: local variable referenced before assignment) Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-24 21:33 +0100
    Re: What's wrong with this code? (UnboundLocalError: local variable referenced before assignment) Dave Angel <davea@davea.name> - 2013-06-24 16:43 -0400
      Re: What's wrong with this code? (UnboundLocalError: local variable referenced before assignment) John Gordon <gordon@panix.com> - 2013-06-24 21:41 +0000
  Re: What's wrong with this code? (UnboundLocalError: local variable referenced before assignment) pablobarhamalzas@gmail.com - 2013-06-24 13:19 -0700
    Re: What's wrong with this code? (UnboundLocalError: local variable referenced before assignment) Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-24 21:33 +0100
  Re: What's wrong with this code? (UnboundLocalError: local variable referenced before assignment) Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-24 21:19 +0100

csiph-web