[Python-bugs-list] [ python-Bugs-431000 ] PyMapping_DelItem[String]() is broken

noreply@sourceforge.net noreply@sourceforge.net
Tue, 11 Dec 2001 21:31:54 -0800


Bugs item #431000, was opened at 2001-06-07 04:21
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=431000&group_id=5470

Category: Python Interpreter Core
Group: None
>Status: Closed
>Resolution: Duplicate
Priority: 3
Submitted By: Guido van Rossum (gvanrossum)
Assigned to: Nobody/Anonymous (nobody)
Summary: PyMapping_DelItem[String]() is broken

Initial Comment:
Somehow nobody ever noticed this, so I doubt this is a
big problem in practice.  But it's a bug nevertheless.

In abstract.h, the abstract APIs PyMapping_DelItem() is
equivalenced to PyDict_DelItem(); likewise for
...DelItemString().

This is broken because the PyMapping_ family of
functions should work for any mapping type, not just
for dictionaries!

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-11 21:31

Message:
Logged In: YES 
user_id=6380

Closed - this is a dup of #476852, which was fixed in
abstract.h rev. 2.42.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=431000&group_id=5470