[Python-checkins] python/dist/src/Python ceval.c,2.376,2.377
mwh at users.sourceforge.net
mwh at users.sourceforge.net
Thu Feb 12 10:28:29 EST 2004
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19895/Python
Modified Files:
ceval.c
Log Message:
This is my patch #876198 plus a NEWS entry and a header frob.
Remove the ability to use (from C) arbitrary objects supporting the
read buffer interface as the co_code member of code objects.
Index: ceval.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ceval.c,v
retrieving revision 2.376
retrieving revision 2.377
diff -C2 -d -r2.376 -r2.377
*** ceval.c 10 Feb 2004 16:50:20 -0000 2.376
--- ceval.c 12 Feb 2004 15:28:26 -0000 2.377
***************
*** 755,759 ****
fastlocals = f->f_localsplus;
freevars = f->f_localsplus + f->f_nlocals;
! _PyCode_GETCODEPTR(co, &first_instr);
/* An explanation is in order for the next line.
--- 755,759 ----
fastlocals = f->f_localsplus;
freevars = f->f_localsplus + f->f_nlocals;
! first_instr = PyString_AS_STRING(co->co_code);
/* An explanation is in order for the next line.
More information about the Python-checkins
mailing list