[Python-bugs-list] [ python-Bugs-491415 ] PyDict_UpdateFromSeq2() unused

noreply@sourceforge.net noreply@sourceforge.net
Mon, 10 Dec 2001 20:10:03 -0800


Bugs item #491415, was opened at 2001-12-10 19:16
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=491415&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Guido van Rossum (gvanrossum)
Summary: PyDict_UpdateFromSeq2() unused

Initial Comment:
static int PyDict_UpdateFromSeq2() in
Objects/dictobject.c is not used.  
Should it be used or removed?

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

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-10 20:10

Message:
Logged In: YES 
user_id=6380

let's talk tomorrow.

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

Comment By: Tim Peters (tim_one)
Date: 2001-12-10 19:55

Message:
Logged In: YES 
user_id=31435

PyDict_{Update,Merge}FromSeq2 are parallel to PyDict_
{Update,Merge}, taking a sequence of 2-sequences instead of 
a dict.  The former are both static, and unadvertised in 
the header file, just because it wasn't clear to me at the 
time whether we wanted to bloat the public API with them, 
and I wanted to move on to the next bug.  If you care to 
pronounce that they're not public API material, happy to 
rename merge2 and nuke update2 (or, if they are, to make 
them extern and advertise them).

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-10 19:26

Message:
Logged In: YES 
user_id=6380

Tim? It's static but the name looks public???

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

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