Change r60575 broke test_compile:
there is no need to emit co_lnotab item when both offsets are zeros.
diff --git a/Lib/test/test_trace.py b/Lib/test/test_trace.py
index 7f7db33..6ad38d1 100644
--- a/Lib/test/test_trace.py
+++ b/Lib/test/test_trace.py
@@ -366,6 +366,15 @@
(3, 'line'),
(3, 'return')])
+ def test_16_blank_lines(self):
+ exec("def f():\n" + "\n" * 256 + " pass")
+ self.run_and_compare(
+ f,
+ [(0, 'call'),
+ (257, 'line'),
+ (257, 'return')])
+
+
class RaisingTraceFuncTestCase(unittest.TestCase):
def trace(self, frame, event, arg):
"""A trace function that raises an exception in response to a