[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Include
classobject.h,2.33,2.34
M.-A. Lemburg
mal@lemburg.com
Thu, 04 Jan 2001 11:02:35 +0100
Neil Schemenauer wrote:
>
> Update of /cvsroot/python/python/dist/src/Include
> In directory usw-pr-cvs1:/tmp/cvs-serv21006/Include
>
> Modified Files:
> classobject.h
> Log Message:
> Remove PyInstance_*BinOp functions.
>
> Index: classobject.h
> ===================================================================
> RCS file: /cvsroot/python/python/dist/src/Include/classobject.h,v
> retrieving revision 2.33
> retrieving revision 2.34
> diff -C2 -r2.33 -r2.34
> *** classobject.h 2000/09/01 23:29:26 2.33
> --- classobject.h 2001/01/04 01:30:34 2.34
> ***************
> *** 60,71 ****
> extern DL_IMPORT(int) PyClass_IsSubclass(PyObject *, PyObject *);
>
> - extern DL_IMPORT(PyObject *) PyInstance_DoBinOp(PyObject *, PyObject *,
> - char *, char *,
> - PyObject * (*)(PyObject *,
> - PyObject *));
> -
> - extern DL_IMPORT(int)
> - PyInstance_HalfBinOp(PyObject *, PyObject *, char *, PyObject **,
> - PyObject * (*)(PyObject *, PyObject *), int);
Wouldn't it be safer to provide emulation APIs for these ? There
might be code out there using these APIs.
--
Marc-Andre Lemburg
______________________________________________________________________
Company: http://www.egenix.com/
Consulting: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/