[issue24597] forbid redefinition of specializations in singledispatch
Ethan Furman
report at bugs.python.org
Thu Jul 9 18:15:44 CEST 2015
Ethan Furman added the comment:
Sure. I just saying that
@f.register(int, replace=True)
requires opt-in to replacing, whilst
@f.register(int, replace=False) # don't replace if one already exists
is still prone to bugs.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24597>
_______________________________________
More information about the Python-bugs-list
mailing list