Hallvard B Furuseth <h.b.furus...@usit.uio.no> added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10070> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com