[Python-checkins] python/dist/src/Python compile.c,2.312,2.313
mwh at users.sourceforge.net
mwh at users.sourceforge.net
Wed Aug 4 12:26:11 CEST 2004
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25254
Modified Files:
compile.c
Log Message:
Revert 2.312; turns out interning the file name did do some good (reducing
.pyc size) after all.
Index: compile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/compile.c,v
retrieving revision 2.312
retrieving revision 2.313
diff -C2 -d -r2.312 -r2.313
*** compile.c 3 Aug 2004 10:24:03 -0000 2.312
--- compile.c 4 Aug 2004 10:26:08 -0000 2.313
***************
*** 4732,4736 ****
freevars = dict_keys_inorder(sc.c_freevars,
PyTuple_GET_SIZE(cellvars));
! filename = PyString_FromString(sc.c_filename);
name = PyString_InternFromString(sc.c_name);
if (!PyErr_Occurred())
--- 4732,4736 ----
freevars = dict_keys_inorder(sc.c_freevars,
PyTuple_GET_SIZE(cellvars));
! filename = PyString_InternFromString(sc.c_filename);
name = PyString_InternFromString(sc.c_name);
if (!PyErr_Occurred())
More information about the Python-checkins
mailing list