Message282332
| Author | ncoghlan |
|---|---|
| Recipients | Arfrever, ncoghlan, serhiy.storchaka, xiang.zhang, yselivanov |
| Date | 2016-12-04.12:00:57 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1480852857.71.0.0229535277647.issue24329@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
"__classcell__" in __slots__ doesn't really make sense, as unlike __qualname__ (which turns into a real class level attribute and can be useful to override on instances), it's only a transient entry in a class definition namespace - types.__new__ pops it automatically so it doesn't get turned into an attribute. However, consistency is a good thing, so allowing it seems reasonable. Regarding the specifics, the pending patch on issue 23722 makes it a TypeError to ever set __classcell__ to anything other than a real cell object. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-12-04 12:00:57 | ncoghlan | set | recipients: + ncoghlan, Arfrever, serhiy.storchaka, yselivanov, xiang.zhang |
| 2016-12-04 12:00:57 | ncoghlan | set | messageid: <1480852857.71.0.0229535277647.issue24329@psf.upfronthosting.co.za> |
| 2016-12-04 12:00:57 | ncoghlan | link | issue24329 messages |
| 2016-12-04 12:00:57 | ncoghlan | create | |