-
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Patch for Python 3.11 SyntaxError * Create tests to detect correct syntaxerror detail This does not actually capture the error I am attempting to fix. * Add compatibility for Python 3.8 and 3.9 This also fixes a bug in the unit test (the assert statement was missing). * Fix typo in unit test for parser * Include location of next token when raising indentation error * Wrong expected error message in test_parser * Regenerate Enaml parser * Update release notes with bugfix detail * Add information on how to regenerate Enaml parser * Regenerate parser with pegen 0.1.0 Pegen 0.2.0 results in some IndentationError exceptions being raised as SyntaxError instead. * Pin pegen to 0.1.0 * Update releasenotes.rst --------- Co-authored-by: frm dstryr <[email protected]> Co-authored-by: Matthieu Dartiailh <[email protected]>
- Loading branch information
1 parent
87e9c31
commit 4639e27
Showing
7 changed files
with
255 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Regenerating the Enaml parser | ||
============================= | ||
|
||
To regenerate the parser: | ||
|
||
python -m enaml.core.parser.generate_enaml_parser | ||
black enaml/core/parser/enaml_parser.py |
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
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
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
Oops, something went wrong.