[Python-Dev] Use of PyObject_NEW

Martin v. Loewis martin@v.loewis.de
15 Mar 2002 20:45:56 +0100


Tim Peters <tim.one@comcast.net> writes:
> > I recommend to deprecate PyObject_NEW (and correspondingly
> > PyObject_NEW_VAR, PyObject_DEL).
>> I think that's pointless -- lots of code uses these things, and we have no
> effective way to deprecate pieces of the C API anyway. I'd be in favor of
> redefining
>> #define PyObject_NEW PyObject_New
>> to get rid of the MemoryError bug, though.

Will do. I'll also change the docs to tell people tha the macros are
there for historic reasons, only.
Regards,
Martin

AltStyle によって変換されたページ (->オリジナル) /