• Guido van Rossum's avatar
    Optimizations and one intentional loophole by Jim Fulton. · c7c5e697
    Guido van Rossum yazdı
    The optimizations consist mostly of using local variables to cache
    methods or instance variables used a lot (e.g. "self.write").
    
    The loopholes allows marshalling extension types as long as they have
    a __class__ attribute (in which case they may support the rest of the
    class piclking protocol as well).  This allows pickling MESS extension
    types.
    c7c5e697
pickle.py 15.3 KB