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

I don't like complicating the code and adding a performance penalty to support 
such uncommon case.

The documentation for __class_getitem__ precisely describes the current 
behavior: "when defined in the class body, this method is implicitly a class 
method". Nothing should be changed here.

The documentation for __init_subclass__ could be rewritten in similar words.

----------
nosy: +serhiy.storchaka

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

Reply via email to