A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-December/011011.html below:

[Python-Dev] fuzzy logic?

[Python-Dev] fuzzy logic? [Python-Dev] fuzzy logic?Fredrik Lundh fredrik@pythonware.com
Thu, 14 Dec 2000 14:19:08 +0100
here's a simple (but somewhat strange) test program:

def spam():
    a = 1
    if (0):
        global a
        print "global a"
    a = 2

def egg():
    b = 1
    if 0:
        global b
        print "global b"
    b = 2

egg()
spam()

print a
print b

if I run this under 1.5.2, I get:

    2
    Traceback (innermost last):
        File "<stdin>", line 19, in ?
    NameError: b

</F>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4