diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2013-12-01 16:27:46 -0800 |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2013-12-01 16:27:46 -0800 |
commit | 28d271ef6b0eb37e27b5b3234ba146922b11d89f (patch) | |
tree | 393534e42e54081b2b542398e6d3cdcc368688a5 /Lib/pickletools.py | |
parent | 53dd8167ff548233373a75c4884ae5490b91f010 (diff) | |
download | cpython-git-28d271ef6b0eb37e27b5b3234ba146922b11d89f.tar.gz |
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 74b65cea71..a1c3f13162 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() |