[Python-bugs-list] [ python-Bugs-476852 ] Some bad macros in abstract.h
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 28 Nov 2001 08:22:07 -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: Closed
>Resolution: Fixed
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).
----------------------------------------------------------------------
>Comment By: Jeremy Hylton (jhylton)
Date: 2001-11-28 08:22
Message:
Logged In: YES
user_id=31392
Fixed in rev 2.42 of abstract.h
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=476852&group_id=5470