• Barry Warsaw's avatar
    initcPickleCache(): Some cleanup of the initializer. First be sure to · 1fc6caac
    Barry Warsaw authored
    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.
    1fc6caac
cPickleCache.c 18.6 KB