Message321305
It seems to me as if the current implementation forces the user to violate SRP, but I'm not going to argue about that. I don't feel equipped well enough to judge.
> Could this have been done with: setattr(self.__class__, "do_" + command, func)?
Isn't that worse than doing that on an instance? It will work as long as there's only one. |
|
Date |
User |
Action |
Args |
2018-07-09 09:20:50 | Błażej Michalik | set | recipients:
+ Błażej Michalik, rhettinger, tuxtimo, remi.lapeyre |
2018-07-09 09:20:50 | Błażej Michalik | set | messageid: <1531128050.06.0.56676864532.issue28657@psf.upfronthosting.co.za> |
2018-07-09 09:20:50 | Błażej Michalik | link | issue28657 messages |
2018-07-09 09:20:49 | Błażej Michalik | create | |
|