Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

There are two ways of solving this issue: 1) skip this chunk of code if object 
is a type subclass, 2) use `type.__subclasses__(object)` instead of 
`object.__subclasses__()`.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35614>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to