This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients benjamin.peterson, n_rosenstein, terry.reedy
Date 2018-12-07.21:51:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544219489.03.0.788709270274.issue35383@psf.upfronthosting.co.za>
In-reply-to
Content
In 2.x, 'print' is a reserved keyword and compiling foo fails with SyntaxError.  AFAIK, 2to3 expects the input to be *valid* 2.x code that compiles.  So it seems to me that the bug is in the input, not 2to3, and that this issue should be closed as 'not a bug'.
History
Date User Action Args
2018-12-07 21:51:29terry.reedysetrecipients: + terry.reedy, benjamin.peterson, n_rosenstein
2018-12-07 21:51:29terry.reedysetmessageid: <1544219489.03.0.788709270274.issue35383@psf.upfronthosting.co.za>
2018-12-07 21:51:28terry.reedylinkissue35383 messages
2018-12-07 21:51:28terry.reedycreate