Message246516
Ah, I see.
So you say up-front if you are willing to have redefinition occur later.
That doesn't feel like a consenting-adults attitude, and could also make testing harder.
I prefer adding an option to the register method, and move towards making the default be "don't allow".
If we don't want to go that route, would having singledispatch issue a warning on redefinition be sufficient? |
|
Date |
User |
Action |
Args |
2015-07-09 18:30:56 | ethan.furman | set | recipients:
+ ethan.furman, rhettinger, ncoghlan, pitrou, r.david.murray, lukasz.langa |
2015-07-09 18:30:56 | ethan.furman | set | messageid: <1436466656.92.0.576441954682.issue24597@psf.upfronthosting.co.za> |
2015-07-09 18:30:56 | ethan.furman | link | issue24597 messages |
2015-07-09 18:30:56 | ethan.furman | create | |
|