Message118429
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. |
|
Date |
User |
Action |
Args |
2010-10-12 15:25:25 | hfuru | set | recipients:
+ hfuru, loewis |
2010-10-12 15:25:23 | hfuru | link | issue10070 messages |
2010-10-12 15:25:23 | hfuru | create | |
|