summaryrefslogtreecommitdiff
path: root/Lib/asyncio/subprocess.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2019-09-28 08:22:00 -0700
committerGitHub <noreply@github.com>2019-09-28 08:22:00 -0700
commit36c6fa968016a46a39c3cdbd0a17ea5490dfa343 (patch)
tree48e7d90e64baeb03445a200c263cf37c56b7d75a /Lib/asyncio/subprocess.py
parent8f478b489ae11633d2609dff0ef21d0e1a857417 (diff)
downloadcpython-git-36c6fa968016a46a39c3cdbd0a17ea5490dfa343.tar.gz
bpo-38115: Deal with invalid bytecode offsets in lnotab (GH-16079) (GH-16464)
Document that lnotab can contain invalid bytecode offsets (because of terrible reasons that are difficult to fix). Make dis.findlinestarts() ignore invalid offsets in lnotab. All other uses of lnotab in CPython (various reimplementations of addr2line or line2addr in Python, C and gdb) already ignore this, because they take an address to look for, instead. Add tests for the result of dis.findlinestarts() on wacky constructs in test_peepholer.py, because it's the easiest place to add them. (cherry picked from commit c8165036f374cd2ee64d4314eeb2514f7acb5026)
Diffstat (limited to 'Lib/asyncio/subprocess.py')
0 files changed, 0 insertions, 0 deletions