Is there a way I can make class decorators work on Google App Engine, which is limited to Python 2.5
?
Decorators are just syntactic sugar. Just change instances of decorator usage, that is,
@decorated
class Foo(object): pass
becomes
class Foo(object): pass
Foo = decorated(Foo)
You can't, realistically, change the parser.
Though, you could automate the above process using the ast module (in a new version of Python).