]> granicus.if.org Git - python/commit
Optimizations and one intentional loophole by Jim Fulton.
authorGuido van Rossum <guido@python.org>
Mon, 22 Jul 1996 22:26:07 +0000 (22:26 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 22 Jul 1996 22:26:07 +0000 (22:26 +0000)
commitc7c5e697c364f0eb5420f9156432a6102ee0b593
tree12f81445b86813f33d638dd0d0fd5568d19c9b59
parent77c29a17342c66dc603660230dd47f6fd07a44c9
Optimizations and one intentional loophole by Jim Fulton.

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.
Lib/pickle.py