[Python-checkins] python/dist/src/Include classobject.h,2.40.6.1,2.40.6.2

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Tue, 08 Apr 2003 12:13:17 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv10581/Include

Modified Files:
      Tag: release22-maint
	classobject.h 
Log Message:
More backporting of gc-vs-__del__ fixes.  It should be fixed for instances
of classic classes now.  Alas, new-style classes are still a problem, and
didn't need to be fixed in 2.3 (they were already immune in 2.3 due to the
new-in-2.3 tp_del slot).


Index: classobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/classobject.h,v
retrieving revision 2.40.6.1
retrieving revision 2.40.6.2
diff -C2 -d -r2.40.6.1 -r2.40.6.2
*** classobject.h	8 Apr 2003 19:02:30 -0000	2.40.6.1
--- classobject.h	8 Apr 2003 19:13:10 -0000	2.40.6.2
***************
*** 62,66 ****
   * means "not found").
   */
! PyAPI_FUNC(PyObject *) _PyInstance_Lookup(PyObject *pinst, PyObject *name);
  
  /* Macros for direct access to these values. Type checks are *not*
--- 62,66 ----
   * means "not found").
   */
! extern DL_IMPORT(PyObject *) _PyInstance_Lookup(PyObject *pinst, PyObject *name);
  
  /* Macros for direct access to these values. Type checks are *not*