diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 1998-08-13 23:13:52 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 1998-08-13 23:13:52 (GMT) |
commit | ce616e4009af0766c2ed848c03a081f29630e807 (patch) | |
tree | 8ac69c552ffd9eaeac270a0d0106d5feb6affdbf /Modules/timingmodule.c | |
parent | 7cfca6de2bd19d44d4a12c48c17877f3f4a071f4 (diff) | |
download | cpython-ce616e4009af0766c2ed848c03a081f29630e807.zip cpython-ce616e4009af0766c2ed848c03a081f29630e807.tar.gz cpython-ce616e4009af0766c2ed848c03a081f29630e807.tar.bz2 |
Enter Jim Fulton's latest version. He writes:
I had to make a slight diddle to work with Python 1.4, which
we and some of our customers are still using. :(
I've also made a few minor enhancements:
- You can now both get and set the memo using a 'memo'
attribute. This is handy for certain advanced applications
that we have.
- Added a 'binary' attribute to get and set the binary
mode for a pickler.
- Added a somewhat experimental 'fast' attribute. When this
is set, objects are not placed in the memo during pickling.
This should lead to faster pickling and smaller pickles in
cases where:
o you *know* there are no circular references, and
o either you've:
- preloaded the memo with class information
by pickling classes in non-fast mode or by
manipilating the memo directly, or
- aren't pickling instances.
Diffstat (limited to 'Modules/timingmodule.c')
0 files changed, 0 insertions, 0 deletions