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 rhettinger
Recipients bup, rhettinger, serhiy.storchaka
Date 2018-09-29.17:09:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538240943.35.0.545547206417.issue34842@psf.upfronthosting.co.za>
In-reply-to
Content
Dan, thanks for the suggestion.  Changing to PyObject_Size() would have been the right thing to do if the error message had not been fixed.  But since the new error message "TypeError: dict is not a sequence" is more helpful than "TypeError: 'dict' object does not support indexing", we should leave the code as-is.
History
Date User Action Args
2018-09-29 17:09:03rhettingersetrecipients: + rhettinger, serhiy.storchaka, bup
2018-09-29 17:09:03rhettingersetmessageid: <1538240943.35.0.545547206417.issue34842@psf.upfronthosting.co.za>
2018-09-29 17:09:03rhettingerlinkissue34842 messages
2018-09-29 17:09:03rhettingercreate