summaryrefslogtreecommitdiff
path: root/Lib/pickletools.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pickletools.py')
-rw-r--r--Lib/pickletools.py1
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()