diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-02-12 10:35:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 10:35:10 (GMT) |
commit | efd878cdb46d9c7038d93fb36eb1ff7dc5baf9ec (patch) | |
tree | 25eaf1cdfc0890bc3bc3c8bf71748e6750836ff7 /Python/ast.c | |
parent | 0b8f738eb3ee0110461e7da28c0b6b452f91999d (diff) | |
download | cpython-efd878cdb46d9c7038d93fb36eb1ff7dc5baf9ec.zip cpython-efd878cdb46d9c7038d93fb36eb1ff7dc5baf9ec.tar.gz cpython-efd878cdb46d9c7038d93fb36eb1ff7dc5baf9ec.tar.bz2 |
bpo-39219: Fix SyntaxError attributes in the tokenizer. (GH-17828)
* Always set the text attribute.
* Correct the offset attribute for non-ascii sources.
(cherry picked from commit 0cc6b5e559b8303b18fdd56c2befd900fe7b5e35)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions