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 vikram.invincible.pal4
Recipients paul.moore, steve.dower, tim.golden, vikram.invincible.pal4, zach.ware
Date 2020-11-29.05:33:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606628038.54.0.800502181623.issue42499@roundup.psfhosted.org>
In-reply-to
Content
Using PowerShell in Windows, double quotes in argument given with "-c" flag to python does not work. E.g.

> Write-Host 's = "fn main() {"; s += "\n".join("let x = 0;" for _ in range(2)); s+= "}"; print(s)'
s = "fn main() {"; s += "\n".join("let x = 0;" for _ in range(6000)); s+= "}"; print(s)

> python -c 's = "fn main() {"; s += "\n".join("let x = 0;" for _ in range(2)); s+= "}"; print(s)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'fn' is not defined
History
Date User Action Args
2020-11-29 05:33:58vikram.invincible.pal4setrecipients: + vikram.invincible.pal4, paul.moore, tim.golden, zach.ware, steve.dower
2020-11-29 05:33:58vikram.invincible.pal4setmessageid: <1606628038.54.0.800502181623.issue42499@roundup.psfhosted.org>
2020-11-29 05:33:58vikram.invincible.pal4linkissue42499 messages
2020-11-29 05:33:58vikram.invincible.pal4create