This issue was reported in the mailing list.
I've come across a small bug with web.py on python 2.4 (which is what I'm stuck with for the forseeable future).
The following works fine:
fails with the message:
TypeError: exceptions must be classes, instances, or strings (deprecated), not Forbidden
Fixed by #82.