Dirkjan Ochtman added the comment: I came up with a patch that shifts the compatibility hack we have for the tuple form of exec from run-time (in exec_statement()) to the CST-to-AST transformation (in ast_for_exec_stmt()). It seems to pass the tests (including the ones Robert pasted in here). Please review.
---------- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file36061/bug21591.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21591> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com