[Python-checkins] python/dist/src/Python newcompile.c, 1.1.2.54,
1.1.2.55
jhylton at users.sourceforge.net
jhylton at users.sourceforge.net
Sun Nov 23 23:14:37 EST 2003
- Previous message: [Python-checkins] python/dist/src/Objects setobject.c,1.11,1.12
- Next message: [Python-checkins] python/dist/src/Lib/idlelib NEWS.txt, 1.26,
1.27 PyShell.py, 1.82, 1.83 config-keys.def, 1.19,
1.20 configHandler.py, 1.31, 1.32 keybindingDialog.py, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv32293
Modified Files:
Tag: ast-branch
newcompile.c
Log Message:
Pass number of default arguments to MAKE_FUNCTION.
Instead of the number of arguments.
Index: newcompile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/newcompile.c,v
retrieving revision 1.1.2.54
retrieving revision 1.1.2.55
diff -C2 -d -r1.1.2.54 -r1.1.2.55
*** newcompile.c 26 Aug 2003 01:21:13 -0000 1.1.2.54
--- newcompile.c 24 Nov 2003 04:14:34 -0000 1.1.2.55
***************
*** 715,719 ****
/* XXX closure */
ADDOP_O(c, LOAD_CONST, (PyObject *)co, consts);
! ADDOP_I(c, MAKE_FUNCTION, c->u->u_argcount);
if (!compiler_nameop(c, s->v.FunctionDef.name, Store))
return 0;
--- 715,719 ----
/* XXX closure */
ADDOP_O(c, LOAD_CONST, (PyObject *)co, consts);
! ADDOP_I(c, MAKE_FUNCTION, asdl_seq_LEN(args->defaults));
if (!compiler_nameop(c, s->v.FunctionDef.name, Store))
return 0;
- Previous message: [Python-checkins] python/dist/src/Objects setobject.c,1.11,1.12
- Next message: [Python-checkins] python/dist/src/Lib/idlelib NEWS.txt, 1.26,
1.27 PyShell.py, 1.82, 1.83 config-keys.def, 1.19,
1.20 configHandler.py, 1.31, 1.32 keybindingDialog.py, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list