[Python-bugs-list] [ python-Bugs-498915 ] PyMapping_DelItemString doesn't exists

noreply@sourceforge.net noreply@sourceforge.net
Thu, 03 Jan 2002 10:48:32 -0800


Bugs item #498915, was opened at 2002-01-03 03:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=498915&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Jesús Cea Avión (jcea)
Assigned to: Jeremy Hylton (jhylton)
Summary: PyMapping_DelItemString doesn't exists

Initial Comment:
This bug seems related to 
https://sourceforge.net/tracker/?
group_id=5470&atid=105470&func=detail&aid=476852

Python 2.2 here.

"PyMapping_DelItemString" is really a macro (defined 
in "abstract.h") which delegates 
to "PyObject_DelItemString". The problem is 
that "PyObjectDelItemString" *DOESN'T* exists.

I have changed my code to call PyDict_* routines 
instead the previous PyMapping_* to overcome this 
issue temporally. This is almost a "showstop" bug :-)

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

>Comment By: Jesús Cea Avión (jcea)
Date: 2002-01-03 10:48

Message:
Logged In: YES 
user_id=97460

This patch should be studied by somebody familiar enough 
with Python inner working, buit it seems to run fine in my 
environment.

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2002-01-03 05:50

Message:
Logged In: YES 
user_id=6380

Oops, you're right! Our apologies. A fix wouldn't be hard,
but since we're all busy here with high priority stuff, it
may take a while. If you can submit a patch, that would make
things easier.

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

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