Message336121
| Author | serhiy.storchaka |
|---|---|
| Recipients | BTaskaya, levkivskyi, methane, 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:48 | serhiy.storchaka | set | recipients: + serhiy.storchaka, rhettinger, methane, levkivskyi, remi.lapeyre, BTaskaya |
| 2019-02-20 17:06:48 | serhiy.storchaka | set | messageid: <1550682408.63.0.606287260833.issue36042@roundup.psfhosted.org> |
| 2019-02-20 17:06:48 | serhiy.storchaka | link | issue36042 messages |
| 2019-02-20 17:06:48 | serhiy.storchaka | create | |