[issue40547] 2to3 raise can silently remove code from old 2.4 string exceptions

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker ___

[issue40547] 2to3 raise can silently remove code from old 2.4 string exceptions

2020-05-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue40547] 2to3 raise can silently remove code from old 2.4 string exceptions

2020-05-07 Thread Rémy Oudompheng
New submission from Rémy Oudompheng : When running "2to3 -f raise" on the following code, which uses an old Python 2.4 raise of a string: def f(): raise ("message %s %s" % (1, 2)) try: f() finally: pass I obtain the following quite surprising result. I would have expected to get