[Python-bugs-list] [ python-Bugs-476852 ] Some bad macros in abstract.h
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 27 Nov 2001 15:41:38 -0800
Bugs item #476852, was opened at 2001-10-31 10:01
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=476852&group_id=5470
Category: Python Interpreter Core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Guido van Rossum (gvanrossum)
>Assigned to: Jeremy Hylton (jhylton)
Summary: Some bad macros in abstract.h
Initial Comment:
Greg Chapman reported in c.l.py:
abstract.h defines the following:
#define PyMapping_DelItemString(O,K)
PyDict_DelItemString((O),(K))
#define PyMapping_DelItem(O,K) PyDict_DelItem((O),(K))
It seems to me they should delegate to PyObject_DelItem
(and PyObject_DelItemString, which will have to be
added).
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=476852&group_id=5470