There was a problem hiding this comment.
I have some suggestions for minor cosmetic improvements, but I'm just going to make those directly in order to get the CI running again before I merge it.
Better account for single-line compound statements and semi-colon separated statements when suggesting Py3 replacements for Py2 print statements. Initial patch by Nitish Chandra. (cherry picked from commit 43c0f1a)
|
GH-5380 is a backport of this pull request to the 3.6 branch. |
As per Nick Coghlan's suggestion, used
startattribute passed to_set_legacy_print_statement_msgand also made changes to use only the text before ';' as the suggestion.https://bugs.python.org/issue32685