-
- Downloads
py: Check explicitly for memory allocation failure in parser.
Previously, a failed malloc/realloc would throw an exception, which was not caught. I think it's better to keep the parser free from NLR (exception throwing), hence this patch.
Showing
- py/malloc.c 20 additions, 0 deletionspy/malloc.c
- py/misc.h 3 additions, 0 deletionspy/misc.h
- py/objexcept.c 2 additions, 2 deletionspy/objexcept.c
- py/parse.c 52 additions, 14 deletionspy/parse.c
- py/parse.h 1 addition, 0 deletionspy/parse.h
- py/parsehelper.c 8 additions, 0 deletionspy/parsehelper.c
Please register or sign in to comment