diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2023-10-30 19:24:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 19:24:21 (GMT) |
commit | cd6e0a04a16535d8bc727c84f73730c53267184e (patch) | |
tree | f3df1c90e9cf0fd082ba478174fde12ebb107dc5 /Misc | |
parent | 624ace5a2f02715d084c29eaf2211cd0dd550690 (diff) | |
download | cpython-cd6e0a04a16535d8bc727c84f73730c53267184e.zip cpython-cd6e0a04a16535d8bc727c84f73730c53267184e.tar.gz cpython-cd6e0a04a16535d8bc727c84f73730c53267184e.tar.bz2 |
gh-111366: Correctly show custom syntax error messages in the codeop module functions (#111384)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2023-10-27-12-17-49.gh-issue-111366._TSknV.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-10-27-12-17-49.gh-issue-111366._TSknV.rst b/Misc/NEWS.d/next/Core and Builtins/2023-10-27-12-17-49.gh-issue-111366._TSknV.rst new file mode 100644 index 0000000..7e76ce9 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2023-10-27-12-17-49.gh-issue-111366._TSknV.rst @@ -0,0 +1,3 @@ +Fix an issue in the :mod:`codeop` that was causing :exc:`SyntaxError` +exceptions raised in the presence of invalid syntax to not contain precise +error messages. Patch by Pablo Galindo |