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 zelaznik
Recipients zelaznik
Date 2015-06-08.15:50:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433778647.83.0.662569129582.issue24410@psf.upfronthosting.co.za>
In-reply-to
Content
[in] >>> d = {'x':3,'y':4,'z':5}
  [in] >>> set(d.items()) == d.viewitems()
 [out] >>> False
  [in] >>> d.viewitems() == set(d.items())
 [out] >>> True
  [in] >>> set(d.items()).__eq__(d.viewitems())
 [out] >>> False

The last line should return NotImplemented rather than False.  This problem seems to have been addressed in Python3.
History
Date User Action Args
2015-06-08 15:50:47zelazniksetrecipients: + zelaznik
2015-06-08 15:50:47zelazniksetmessageid: <1433778647.83.0.662569129582.issue24410@psf.upfronthosting.co.za>
2015-06-08 15:50:47zelazniklinkissue24410 messages
2015-06-08 15:50:47zelaznikcreate