Message 118429 - Python tracker
Another syntax could be attached to if-else and try-except. Given:
if ...:
<block 1>
else:
<block 2>
or
try:
<block 1>
except ...:
<block 2>
if 2to3 would translate <block 1> to <block 2> or vise versa, sans
whitespace/comment differences, then it does not do so. Instead it
assumes the blocks are for running under Python 2 and 3 respectively.