• Tim Peters's avatar
    SF patch #413552 - Premature decref on object · e90d5aab
    Tim Peters authored
    Jeffery Collins pointed out that filterstring decrefs a character object
    before it's done using it.  This works by accident today because another
    module always happens to have an active reference too at the time.  The
    accident doesn't work after his Pippy modifications, and since it *is*
    an accident even in the mainline Python, it should work by design there too.
    The patch accomplishes that.
    e90d5aab
bltinmodule.c 51.8 KB