Extension modules
+- cPickle.BadPickleGet is now a class.
+
- The time stamps in os.stat_result are floating point numbers now.
- If the size passed to mmap.mmap() is larger than the length of the
PickleError, NULL)))
return -1;
+ if (!( BadPickleGet = PyErr_NewException("cPickle.BadPickleGet",
+ UnpicklingError, NULL)))
+ return -1;
+
if (PyDict_SetItemString(module_dict, "PickleError",
PickleError) < 0)
return -1;
UnpickleableError) < 0)
return -1;
- if (!( BadPickleGet = PyString_FromString("cPickle.BadPickleGet")))
- return -1;
-
if (PyDict_SetItemString(module_dict, "BadPickleGet",
BadPickleGet) < 0)
return -1;