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 serhiy.storchaka
Recipients BTaskaya, DahlitzFlorian, rhettinger, serhiy.storchaka, zach.ware
Date 2020-05-22.17:19:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590167967.01.0.126567324259.issue40568@roundup.psfhosted.org>
In-reply-to
Content
It would be breaking change.

In addition to multiline strings you can use \n with $' on Posix:

python -c $'with open("somefile.txt") as f:\n  s = f.read()\n  print(len(s))'

Maybe there is similar feature on Windows, but in any case the command line interface on Windows is far from user friendly.
History
Date User Action Args
2020-05-22 17:19:27serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, zach.ware, DahlitzFlorian, BTaskaya
2020-05-22 17:19:27serhiy.storchakasetmessageid: <1590167967.01.0.126567324259.issue40568@roundup.psfhosted.org>
2020-05-22 17:19:26serhiy.storchakalinkissue40568 messages
2020-05-22 17:19:26serhiy.storchakacreate