Author serhiy.storchaka
Recipients BTaskaya, inada.naoki, levkivskyi, remi.lapeyre, rhettinger, serhiy.storchaka
Date 2019-02-20.17:06:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550682408.63.0.606287260833.issue36042@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-02-20 17:06:48serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, inada.naoki, levkivskyi, remi.lapeyre, BTaskaya
2019-02-20 17:06:48serhiy.storchakasetmessageid: <1550682408.63.0.606287260833.issue36042@roundup.psfhosted.org>
2019-02-20 17:06:48serhiy.storchakalinkissue36042 messages
2019-02-20 17:06:48serhiy.storchakacreate