[Python-checkins] CVS: python/dist/src/Misc NEWS,1.331,1.332

Tim Peters tim_one@users.sourceforge.net
Tue, 11 Dec 2001 10:51:10 -0800


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv2320/python/Misc

Modified Files:
	NEWS 
Log Message:
SF bug #491415 PyDict_UpdateFromSeq2() unused
PyDict_UpdateFromSeq2():  removed it.
PyDict_MergeFromSeq2():  made it public and documented it.
PyDict_Merge() docs:  updated to reveal <wink> that the second
argument can be any mapping object.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.331
retrieving revision 1.332
diff -C2 -d -r1.331 -r1.332
*** NEWS	2001/12/07 20:35:42	1.331
--- NEWS	2001/12/11 18:51:08	1.332
***************
*** 76,81 ****
  C API
  
  - PyArg_ParseTupleAndKeywords() requires that the number of entries in
!   the keyword list equals the number of argument specifiers.  This
    wasn't checked correctly, and PyArg_ParseTupleAndKeywords could even
    dump core in some bad cases.  This has been repaired.  As a result,
--- 76,85 ----
  C API
  
+ - New function PyDict_MergeFromSeq2() exposes the builtin dict
+   constructor's logic for updating a dictionary from an iterable object
+   producing key-value pairs.
+ 
  - PyArg_ParseTupleAndKeywords() requires that the number of entries in
!   the keyword list equal the number of argument specifiers.  This
    wasn't checked correctly, and PyArg_ParseTupleAndKeywords could even
    dump core in some bad cases.  This has been repaired.  As a result,