Skip to content

bpo-40334: Set error_indicator in _PyPegen_raise_error#19887

Merged
pablogsal merged 1 commit intopython:masterfrom
lysnikolaou:raise-error-set-indicator
May 4, 2020
Merged

bpo-40334: Set error_indicator in _PyPegen_raise_error#19887
pablogsal merged 1 commit intopython:masterfrom
lysnikolaou:raise-error-set-indicator

Conversation

@lysnikolaou
Copy link
Copy Markdown
Member

@lysnikolaou lysnikolaou commented May 3, 2020

Due to PyErr_Occurred not being called at the beginning of each rule
(too expensive), we need to set the error indicator, so that
rules do not get expanded, after an exception has been thrown.

https://bugs.python.org/issue40334

Due to PyErr_Occurred not being called at the beginning of each rule
(too expensive), we need to set the error indicator, so that
rules do not get expanded, after an exception has been thrown.
@pablogsal pablogsal merged commit 7f06af6 into python:master May 4, 2020
@lysnikolaou lysnikolaou deleted the raise-error-set-indicator branch May 7, 2020 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants