Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3.10] bpo-46707: Avoid potential exponential backtracking in some sy…
…ntax errors (GH-31241). (GH-31242) (cherry picked from commit b71dc71) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
- Loading branch information
Showing
4 changed files
with
901 additions
and
884 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Core and Builtins/2022-02-10-03-13-18.bpo-46707.xeSEh0.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Avoid potential exponential backtracking when producing some syntax errors | ||
involving lots of brackets. Patch by Pablo Galindo. |
Oops, something went wrong.