• Guido van Rossum's avatar
    SF bug 567538: Generator can crash the interpreter (Finn Bock). · c5fe5eb8
    Guido van Rossum yazdı
    This was a simple typo.  Strange that the compiler didn't catch it!
    Instead of WHY_CONTINUE, two tests used CONTINUE_LOOP, which isn't a
    why_code at all, but an opcode; but even though 'why' is declared as
    an enum, comparing it to an int is apparently not even worth a
    warning -- not in gcc, and not in VC++. :-(
    
    Will fix in 2.2 too.
    c5fe5eb8
To find the state of this project's repository at the time of any of these versions, check out the tags.
NEWS 140 KB