summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-07-22 22:26:07 +0000
committerGuido van Rossum <guido@python.org>1996-07-22 22:26:07 +0000
commitc7c5e697c364f0eb5420f9156432a6102ee0b593 (patch)
tree12f81445b86813f33d638dd0d0fd5568d19c9b59 /Python/errors.c
parent77c29a17342c66dc603660230dd47f6fd07a44c9 (diff)
downloadcpython-git-c7c5e697c364f0eb5420f9156432a6102ee0b593.tar.gz
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.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions