• Guido van Rossum's avatar
    Jim Fulton writes: · c03158bf
    Guido van Rossum yazdı
    I've updated cPickle.c to use class exceptions:
    
    Changed pickle error types to classes:
    
      PickleError
         PicklingError
            UnpickleableError
         UnpicklingError
    
    And change the handling of unpickleable objects so that an UnpickleableError
    is raised with the unpickleable object as the argument.  UnpickleableError
    has a reasonable string representation and provides access to the problem
    object, which is useful during debugging.
    
    [I'm still waiting for patches to do the same to pickle.py.]
    c03158bf
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...