Message414240
| Author | adriangb |
|---|---|
| Recipients | JelleZijlstra, adriangb, gvanrossum, kj, lukasz.langa, uriyyo |
| Date | 2022-03-01.06:00:41 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1646114441.81.0.80808056915.issue44807@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Agreed. What if we allow protocols that implement `__init__` but still disallow instantiating a protocol that does not? It's a 1 line change, all existing tests pass and it would still catch what I think was the original intention (trying to instantiate a Protocol class with no __init__): https://github.com/python/cpython/pull/31628/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-03-01 06:00:41 | adriangb | set | recipients: + adriangb, gvanrossum, lukasz.langa, JelleZijlstra, uriyyo, kj |
| 2022-03-01 06:00:41 | adriangb | set | messageid: <1646114441.81.0.80808056915.issue44807@roundup.psfhosted.org> |
| 2022-03-01 06:00:41 | adriangb | link | issue44807 messages |
| 2022-03-01 06:00:41 | adriangb | create | |