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 xiang.zhang
Recipients methane, python-dev, vstinner, xiang.zhang
Date 2016-09-12.13:28:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473686924.24.0.483429477223.issue28077@psf.upfronthosting.co.za>
In-reply-to
Content
Just need to delete the lines :) :

diff -r 0773e5cb8608 Objects/dictobject.c
--- a/Objects/dictobject.c	Mon Sep 12 14:43:14 2016 +0200
+++ b/Objects/dictobject.c	Mon Sep 12 21:26:41 2016 +0800
@@ -1011,10 +1011,7 @@
     ep = &ep0[mp->ma_keys->dk_nentries];
     *hashpos = i & mask;
     assert(ep->me_value == NULL);
-    if (mp->ma_values)
-        *value_addr = &mp->ma_values[ix];
-    else
-        *value_addr = &ep->me_value;
+    *value_addr = &ep->me_value;
     return ix;
 }
History
Date User Action Args
2016-09-12 13:28:44xiang.zhangsetrecipients: + xiang.zhang, vstinner, methane, python-dev
2016-09-12 13:28:44xiang.zhangsetmessageid: <1473686924.24.0.483429477223.issue28077@psf.upfronthosting.co.za>
2016-09-12 13:28:44xiang.zhanglinkissue28077 messages
2016-09-12 13:28:44xiang.zhangcreate