]> granicus.if.org Git - python/commit
No need to emit co_lnotab item when both offsets are zeros.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 4 Feb 2008 23:51:55 +0000 (23:51 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 4 Feb 2008 23:51:55 +0000 (23:51 +0000)
commitbc212104e48eaaf2038c0a3f9dc2e1304a039a8b
tree20e3fdcc6af9daaf53d3169fdb0bad22612f9a66
parentdcf84003c18ccd6e7ccf176dab069b1900bb651c
No need to emit co_lnotab item when both offsets are zeros.
r60579 broke a test test_compile, which seems to test an "implementation detail" IMO.

Also test that this correction does not impact the debugger.
Lib/test/test_trace.py
Python/compile.c