Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
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. ---------- resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34842> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com