This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients msmhrt, pitrou, skrah
Date 2014-07-02.00:16:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404260176.73.0.491361998982.issue21897@psf.upfronthosting.co.za>
In-reply-to
Content
Following patch seems to fix it, but I have to cook a proper test:

diff --git a/Objects/frameobject.c b/Objects/frameobject.c
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -786,7 +786,7 @@ map_to_dict(PyObject *map, Py_ssize_t nm
         PyObject *key = PyTuple_GET_ITEM(map, j);
         PyObject *value = values[j];
         assert(PyUnicode_Check(key));
-        if (deref) {
+        if (deref && value != NULL) {
             assert(PyCell_Check(value));
             value = PyCell_GET(value);
         }
History
Date User Action Args
2014-07-02 00:16:17pitrousetrecipients: + pitrou, skrah, msmhrt
2014-07-02 00:16:16pitrousetmessageid: <1404260176.73.0.491361998982.issue21897@psf.upfronthosting.co.za>
2014-07-02 00:16:16pitroulinkissue21897 messages
2014-07-02 00:16:16pitroucreate