Message313126
| 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 |
|