[Python-checkins] python/dist/src/Python import.c, 2.222.6.2,
2.222.6.3
theller at users.sourceforge.net
theller at users.sourceforge.net
Mon Jun 7 11:00:02 EDT 2004
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31621
Modified Files:
Tag: release23-maint
import.c
Log Message:
Fix a refcount bug in an obscure code corner.
Index: import.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/import.c,v
retrieving revision 2.222.6.2
retrieving revision 2.222.6.3
diff -C2 -d -r2.222.6.2 -r2.222.6.3
*** import.c 23 Mar 2004 16:28:45 -0000 2.222.6.2
--- import.c 7 Jun 2004 14:59:59 -0000 2.222.6.3
***************
*** 944,947 ****
--- 944,948 ----
if (PyErr_ExceptionMatches(PyExc_ImportError)) {
PyErr_Clear();
+ Py_INCREF(m);
}
else
More information about the Python-checkins
mailing list