[issue5135] Expose simplegeneric function in functools module

Walter Dörwald 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.

----------
nosy: +doerwalter

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5135>
_______________________________________


More information about the Python-bugs-list mailing list