diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-12-11 18:51:08 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-12-11 18:51:08 (GMT) |
commit | f582b82fe9ae4c0394ed4f6b281aa8b4ca224617 (patch) | |
tree | 77ade5444df813eb0ff1ccca21bd49611e3f512d /Misc | |
parent | c82bd7281fb52a66c59f567b7da18390ed9957c1 (diff) | |
download | cpython-f582b82fe9ae4c0394ed4f6b281aa8b4ca224617.zip cpython-f582b82fe9ae4c0394ed4f6b281aa8b4ca224617.tar.gz cpython-f582b82fe9ae4c0394ed4f6b281aa8b4ca224617.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -75,8 +75,12 @@ Build 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 equals the number of argument specifiers. This + 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, PyArg_ParseTupleAndKeywords may raise RuntimeError in bad cases that |