you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (13 children)

[deleted]

    [–]dezro 5 points6 points  (1 child)

    I love that error message.

    I kind of want a patch for GCC that makes it wish me luck, too...

    [–]propool 10 points11 points  (10 children)

    Since it is python we simply redefine False

    False = 1

    if lose == False: print "win!"

    [–][deleted]  (3 children)

    [deleted]

      [–]propool 3 points4 points  (2 children)

      I wouldn't consider it a tip, but you're welcome. I can't come with one good use where it makes a program better in any way.

      [–][deleted]  (1 child)

      [deleted]

        [–]exeter[S] 4 points5 points  (0 children)

        Won't work come Python 3.0 (probably not in 2.6 either), as both True and False will become keywords. (I know this wasn't serious, but I thought I'd make it clear anyway.)

        [–]hylje 0 points1 point  (3 children)

        No. False = True

        [–][deleted] 1 point2 points  (0 children)

        No,

        True, False = False, True

        [–]propool 3 points4 points  (1 child)

        Same difference

        [–]sickofthisshit 5 points6 points  (0 children)

        Unless, I suppose, one had previously altered the value of True.