Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
You are right. Although, get_class() can return NULL without set an exception. We have to set an exception in such case (the same exception as for `obj_class != cls` looks appropriate). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34987> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com