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 Anthony Sottile
Recipients Aivar.Annamaa, Anthony Sottile, asottile, benjamin.peterson, carsten.klein@axn-software.de, karamanolev, terry.reedy
Date 2017-07-10.01:05:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499648741.17.0.134837657815.issue16806@psf.upfronthosting.co.za>
In-reply-to
Content
pypy seems to have this right (though I don't know enough about their internals to know if cpython can benefit from their patch) $ venvpypy/bin/pythonPython 2.7.10 (3260adbeba4a, Apr 19 2016, 17:42:20) [PyPy 5.1.0 with GCC 4.8.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>> import ast, astpretty >>>> astpretty.pprint(ast.parse('"""\n"""')) Module( body=[ Expr( lineno=1, col_offset=0, value=Str(lineno=1, col_offset=0, s='\n'), ), ], )
History
Date User Action Args
2017-07-10 01:05:41Anthony Sottilesetrecipients: + Anthony Sottile, terry.reedy, benjamin.peterson, carsten.klein@axn-software.de, Aivar.Annamaa, karamanolev, asottile
2017-07-10 01:05:41Anthony Sottilesetmessageid: <1499648741.17.0.134837657815.issue16806@psf.upfronthosting.co.za>
2017-07-10 01:05:41Anthony Sottilelinkissue16806 messages
2017-07-10 01:05:40Anthony Sottilecreate