summaryrefslogtreecommitdiffstats
path: root/Lib/textwrap.py
diff options
context:
space:
mode:
authorOm G <34579088+OmG-117@users.noreply.github.com>2020-12-16 12:18:05 (GMT)
committerGitHub <noreply@github.com>2020-12-16 12:18:05 (GMT)
commitc71581c7a4192e6ba9a79eccc583aaadab300efa (patch)
tree9d42fd9c2bbf583cd7259672abe62c98c28cedc0 /Lib/textwrap.py
parent8203c73f3bb1f51614279b6e23af2ec587d1fa22 (diff)
downloadcpython-c71581c7a4192e6ba9a79eccc583aaadab300efa.zip
cpython-c71581c7a4192e6ba9a79eccc583aaadab300efa.tar.gz
cpython-c71581c7a4192e6ba9a79eccc583aaadab300efa.tar.bz2
bpo-42615: Delete redundant jump instructions that only bypass empty blocks (GH-23733)
* Delete jump instructions that bypass empty blocks * Add news entry * Explicitly check for unconditional jump opcodes Using the is_jump function results in the inclusion of instructions like returns for which this optimization is not really valid. So, instead explicitly check that the instruction is an unconditional jump. * Handle conditional jumps, delete jumps gracefully * Ensure b_nofallthrough and b_reachable are valid * Add test for redundant jumps * Regenerate importlib.h and edit Misc/ACKS * Fix bad whitespace
Diffstat (limited to 'Lib/textwrap.py')
0 files changed, 0 insertions, 0 deletions