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.
Created on 2013年07月05日 20:24 by Aivar.Annamaa, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| col_offset_bug.py | Aivar.Annamaa, 2013年07月05日 20:24 | reproduces the bug | ||
| Messages (3) | |||
|---|---|---|---|
| msg192355 - (view) | Author: Aivar Annamaa (Aivar.Annamaa) * | Date: 2013年07月05日 20:24 | |
AST nodes for triple-quoted strings have -1 in col_offset field, as presented in the attached file. |
|||
| msg192359 - (view) | Author: Aivar Annamaa (Aivar.Annamaa) * | Date: 2013年07月05日 20:55 | |
Didn't notice before: the lineno attribute is also wrong |
|||
| msg192395 - (view) | Author: Aivar Annamaa (Aivar.Annamaa) * | Date: 2013年07月06日 09:44 | |
Seems this issue is a duplicate of http://bugs.python.org/issue16806 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:47 | admin | set | github: 62570 |
| 2013年07月06日 16:51:43 | brett.cannon | set | superseder: col_offset is -1 and lineno is wrong for multiline string expressions |
| 2013年07月06日 09:44:32 | Aivar.Annamaa | set | status: open -> closed resolution: duplicate messages: + msg192395 |
| 2013年07月05日 21:09:13 | Aivar.Annamaa | set | title: ast.parse produces -1 as col_offset for triple-quoted strings -> ast.parse produces wrong lineno and col_offset for triple-quoted strings |
| 2013年07月05日 20:55:42 | Aivar.Annamaa | set | messages: + msg192359 |
| 2013年07月05日 20:24:05 | Aivar.Annamaa | create | |