diff options
author | Ammar Askar <ammar_askar@hotmail.com> | 2018-09-24 21:12:49 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2018-09-24 21:12:49 (GMT) |
commit | 025eb98dc0c1dc27404df6c544fc2944e0fa9f3a (patch) | |
tree | ad93cb6963abd43430766fa85b629b2d5896889b /Misc | |
parent | 223e501fb9c2b6ae21b96054e20c4c31d94a5d96 (diff) | |
download | cpython-025eb98dc0c1dc27404df6c544fc2944e0fa9f3a.zip cpython-025eb98dc0c1dc27404df6c544fc2944e0fa9f3a.tar.gz cpython-025eb98dc0c1dc27404df6c544fc2944e0fa9f3a.tar.bz2 |
bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh-9338)
Also point to start of tokens in parsing errors.
Fixes bpo-34683
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2018-09-15-19-32-34.bpo-34683.msCiQE.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-09-15-19-32-34.bpo-34683.msCiQE.rst b/Misc/NEWS.d/next/Core and Builtins/2018-09-15-19-32-34.bpo-34683.msCiQE.rst new file mode 100644 index 0000000..43bf61c --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2018-09-15-19-32-34.bpo-34683.msCiQE.rst @@ -0,0 +1 @@ +Fixed a bug where some SyntaxError error pointed to locations that were off-by-one. |