• Barry Warsaw's avatar
    initcoptimizations(): Some cleanup of the initializer. First be sure · 0fb1d30e
    Barry Warsaw authored
    to decref the revision string, added to the module dict with the keys
    "__version__".  This fixes a small leaks detected by Insure.
    
    Also, at the end of the function, we do a PyErr_Occurred() check and
    throw a fatal error if true.  This makes this module's init function
    more in line with other init functions in this package.
    0fb1d30e
coptimizations.c 10.4 KB