[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

Santoso Wijaya report at bugs.python.org
Wed Mar 9 03:53:55 CET 2011


Santoso Wijaya <santoso.wijaya at gmail.com> added the comment:

I'm attaching a patch against 2.7 tip for an initial implementation of this decorator feature as well as sample usage in unittest, to get the ball rolling.

The modified function should work as a decorator while preserving backward compatibility to be used in a traditional method call.

----------
components: +Library (Lib) -Extension Modules
keywords: +patch
Added file: http://bugs.python.org/file21057/xmlrpc_register_decorator_py27.patch

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


More information about the Python-bugs-list mailing list