Author rhettinger
Recipients jab, rhettinger, serhiy.storchaka
Date 2015-05-26.03:57:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432612647.17.0.595306679288.issue24286@psf.upfronthosting.co.za>
In-reply-to
Content
The fix looks something like this:

diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py
--- a/Lib/_abcoll.py
+++ b/Lib/_abcoll.py
@@ -473,6 +473,7 @@
         for key in self._mapping:
             yield (key, self._mapping[key])
 
+ItemsView.register(type({}.viewitems()))

Will add a more thorough patch with tests later.
History
Date User Action Args
2015-05-26 03:57:27rhettingersetrecipients: + rhettinger, jab, serhiy.storchaka
2015-05-26 03:57:27rhettingersetmessageid: <1432612647.17.0.595306679288.issue24286@psf.upfronthosting.co.za>
2015-05-26 03:57:27rhettingerlinkissue24286 messages
2015-05-26 03:57:26rhettingercreate