Message312096
For now, I'm going to close this as "out of date", with the guidance being "Define a data class instead" (since that gets rid of the historical boilerplate a different way: auto-generating suitable methods based on the field declarations).
If somebody comes up with a use case for this protocol idea that isn't adequately covered by data classes, then they can bring it up on python-ideas, and we can look at revisiting the question. |
|
Date |
User |
Action |
Args |
2018-02-13 02:48:16 | ncoghlan | set | recipients:
+ ncoghlan, rhettinger, pitrou, scoder, cvrebert, martin.panter, josh.r, cheryl.sabella |
2018-02-13 02:48:16 | ncoghlan | set | messageid: <1518490096.34.0.467229070634.issue20632@psf.upfronthosting.co.za> |
2018-02-13 02:48:16 | ncoghlan | link | issue20632 messages |
2018-02-13 02:48:16 | ncoghlan | create | |
|