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 2018-03-02.04:18:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519964330.97.0.467229070634.issue16806@psf.upfronthosting.co.za>
In-reply-to
Content
Still a problem in 3.7:

$ python3.7
Python 3.7.0b2 (default, Feb 28 2018, 06:59:18) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ast
>>> ast.parse("""x = '''foo\n'''""").body[-1].value
<_ast.Str object at 0x7fcde6898358>
>>> ast.parse("""x = '''foo\n'''""").body[-1].value.col_offset
-1
History
Date User Action Args
2018-03-02 04:18:51Anthony Sottilesetrecipients: + Anthony Sottile, terry.reedy, benjamin.peterson, carsten.klein@axn-software.de, Aivar.Annamaa, karamanolev, asottile
2018-03-02 04:18:50Anthony Sottilesetmessageid: <1519964330.97.0.467229070634.issue16806@psf.upfronthosting.co.za>
2018-03-02 04:18:50Anthony Sottilelinkissue16806 messages
2018-03-02 04:18:50Anthony Sottilecreate