[issue39313] lib2to3 provide a way to use exec as a function in RefactoringTool

2020-01-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39313] lib2to3 provide a way to use exec as a function in RefactoringTool

2020-01-12 Thread miss-islington
miss-islington added the comment: New changeset 61b14151cc92021a10f94765eaa152ed04eb262a by Miss Islington (bot) (Batuhan Taşkaya) in branch 'master': bpo-39313: Add an option to RefactoringTool for using exec as a function (GH-17967)

[issue39313] lib2to3 provide a way to use exec as a function in RefactoringTool

2020-01-12 Thread Batuhan
Batuhan added the comment: After discussing with @pablogsal, instead of offering 2 options that one overlaps another we added -e option to 2to3.main and exec_function option (alongside print_funtion) to RefactoringTool. -- nosy: +pablogsal title: lib2to3 RefactoringTool