Message298016
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'),
),
],
) |
|
Date |
User |
Action |
Args |
2017-07-10 01:05:41 | Anthony Sottile | set | recipients:
+ Anthony Sottile, terry.reedy, benjamin.peterson, carsten.klein@axn-software.de, Aivar.Annamaa, karamanolev, asottile |
2017-07-10 01:05:41 | Anthony Sottile | set | messageid: <1499648741.17.0.134837657815.issue16806@psf.upfronthosting.co.za> |
2017-07-10 01:05:41 | Anthony Sottile | link | issue16806 messages |
2017-07-10 01:05:40 | Anthony Sottile | create | |
|