Ethan Furman added the comment: 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? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24597> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com