Provide a decorator function for exposing methods
Not only in preparation for Python 2.4's new decorator syntax, CP2 should supply a decorator function that is used to mark methods as exposed through the web. Example:
from CherryPy import cpg
class Page: def index(self): return "Hi!"
index = cpg.expose(index)
Reported by firstname.lastname@example.org