[New-bugs-announce] [issue35417] Double parenthesis in print function running 2to3 in already correct call

Jonathan Alush-Aben report at bugs.python.org
Wed Dec 5 05:10:19 EST 2018


New submission from Jonathan Alush-Aben <jonathandaa at gmail.com>:

If 2to3 is run on a file with the following contents:
a="string"
print ("%s" % a)

The output is:

a="string"
print (("%s" % a))

Although it was already a valid call to print in python3.

----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 331098
nosy: jondaa
priority: normal
severity: normal
status: open
title: Double parenthesis in print function running 2to3 in already correct call

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35417>
_______________________________________


More information about the New-bugs-announce mailing list