[issue5135] Expose simplegeneric function in functools module
report at bugs.python.org
Wed Feb 4 21:19:42 CET 2009
Walter Dörwald <walter at livinglogic.de> added the comment:
The patch looks fine to me. Tests pass.
I have no opinion about the name. Both "simplegeneric" and "generic" are
OK to me.
I wonder if being able to use register() directly instead of as a
decorator should be dropped.
Also IMHO the Python 2.3 backwards compatibility (__name__ isn't
setable) can be dropped.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list