Batuhan Taskaya <batuhanosmantask...@gmail.com> added the comment:

__init_subclass__ is called way before (in the type_new, when type is in the 
process of getting created) the object's __new__ (object_new) (which raises 
that TypeError).

----------

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

Reply via email to