Santoso Wijaya <santoso.wij...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7769>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to