]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[Backport r51222 | neal.norwitz -- if you hack the code to set r=NULL,
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 5 Oct 2006 19:32:52 +0000 (19:32 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 5 Oct 2006 19:32:52 +0000 (19:32 +0000)
commit20cc6be1aada880f0267eaca39ebb70d0e790692
tree960568e2aa33be711ec67ea08a2167272632a446
parent6d0bc3e9f4ca48e43b823f7c4207d5549824a24a
[Backport r51222 | neal.norwitz -- if you hack the code to set r=NULL,
 you find that Python does print "MemoryError".  There's no traceback
 and no indication of which line of code is responsible, but it's
 better than a segfault.]

Handle NULL nodes while parsing.  I'm not entirely sure this is correct.
There might be something else that needs to be done to setup the error.

Klocwork #295.
Parser/parsetok.c