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 jimli
Recipients jimli
Date 2019-06-26.23:57:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561593470.29.0.490221066261.issue37423@roundup.psfhosted.org>
In-reply-to
Content
I encountered this issue when I was running 2to3 on a package, Python version 3.7.2, CentOS 7.

To reproduce this bug, create a file called test.py and paste the following code into it

def testSomeRequest(self):

    request = {"someRequest": "request"}
    response = self.sendSearchRequest(request)
    print(response.next_page_token)

The 2to3 tool would do the following:

-    print(response.next_page_token)
+    print((response.next_page_token))

Is this behaviour expected? Thank you.
History
Date User Action Args
2019-06-26 23:57:50jimlisetrecipients: + jimli
2019-06-26 23:57:50jimlisetmessageid: <1561593470.29.0.490221066261.issue37423@roundup.psfhosted.org>
2019-06-26 23:57:50jimlilinkissue37423 messages
2019-06-26 23:57:50jimlicreate