cpython/Tools/peg_generator
Lysandros Nikolaou 2c8cd06afe
bpo-40334: Improvements to error-handling code in the PEG parser (GH-20003)
The following improvements are implemented in this commit:
- `p->error_indicator` is set, in case malloc or realloc fail.
- Avoid memory leaks in the case that realloc fails.
- Call `PyErr_NoMemory()` instead of `PyErr_Format()`, because it requires no memory.

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2020-05-17 04:19:23 +01:00
..
data Fix some scripts in the peg generator folder (GH-19853) 2020-05-02 05:23:06 +01:00
peg_extension Fix some scripts in the peg generator folder (GH-19853) 2020-05-02 05:23:06 +01:00
pegen bpo-40334: Improvements to error-handling code in the PEG parser (GH-20003) 2020-05-17 04:19:23 +01:00
scripts Clean up unused imports for the peg generator module (GH-19891) 2020-05-04 03:03:05 +01:00
.clang-format
.gitignore
Makefile bpo-40334: refactor and cleanup for the PEG generators (GH-19775) 2020-04-29 10:42:21 +01:00
mypy.ini
pyproject.toml
requirements.pip