diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2013-12-02 00:27:46 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2013-12-02 00:27:46 (GMT) |
commit | 28d271ef6b0eb37e27b5b3234ba146922b11d89f (patch) | |
tree | 393534e42e54081b2b542398e6d3cdcc368688a5 /Lib/pickletools.py | |
parent | 53dd8167ff548233373a75c4884ae5490b91f010 (diff) | |
download | cpython-28d271ef6b0eb37e27b5b3234ba146922b11d89f.zip cpython-28d271ef6b0eb37e27b5b3234ba146922b11d89f.tar.gz cpython-28d271ef6b0eb37e27b5b3234ba146922b11d89f.tar.bz2 |
Issue #19754: Make pickletools.optimize respect the frame size target.
Diffstat (limited to 'Lib/pickletools.py')
-rw-r--r-- | Lib/pickletools.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py index 74b65ce..a1c3f13 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -2313,6 +2313,7 @@ def optimize(p): buf.start_framing() for start, stop, putid in opcodes: if putid in gets: + #buf.commit_frame() buf.write(p[start:stop]) if proto >= 4: buf.end_framing() |