mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
* bltinmodule.c: added built-in function cmp(a, b)
* flmodule.c: added {do,check}_only_forms to fl's list of functions; and don't print a message when an unknown object is returned. * pythonrun.c: catch SIGHUP and SIGTERM to do essential cleanup. * Made jpegmodule.c smaller by using getargs() and mkvalue() consistently. * Increased parser stack size to 500 in parser.h. * Implemented custom allocation of stack frames to frameobject.c and added dynamic stack overflow checks (value stack only) to ceval.c. (There seems to be a bug left: sometimes stack traces don't make sense.)
This commit is contained in:
parent
2db91358de
commit
a9e7dc1081
7 changed files with 150 additions and 19 deletions
|
@ -24,7 +24,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
/* Parser interface */
|
||||
|
||||
#define MAXSTACK 100
|
||||
#define MAXSTACK 500
|
||||
|
||||
typedef struct _stackentry {
|
||||
int s_state; /* State in current DFA */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue