? devel_py-ruledispatch.diff Index: files/patch-src-dispatch___init__.py =================================================================== RCS file: files/patch-src-dispatch___init__.py diff -N files/patch-src-dispatch___init__.py --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-dispatch___init__.py 14 May 2009 21:01:02 -0000 @@ -0,0 +1,20 @@ +--- src/dispatch/__init__.py.orig 2009-05-14 22:55:09.000000000 +0200 ++++ src/dispatch/__init__.py 2009-05-14 22:55:45.000000000 +0200 +@@ -95,7 +95,7 @@ + return decorate_assignment(callback) + + +-def as(*decorators): ++def fas(*decorators): + """Use Python 2.4 decorators w/Python 2.2+ + + Example: +@@ -103,7 +103,7 @@ + import dispatch + + class Foo(object): +- [dispatch.as(classmethod)] ++ [dispatch.fas(classmethod)] + def something(cls,etc): + \"""This is a classmethod\""" + """ Index: files/patch-src-dispatch_predicates.py =================================================================== RCS file: files/patch-src-dispatch_predicates.py diff -N files/patch-src-dispatch_predicates.py --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-dispatch_predicates.py 14 May 2009 21:01:02 -0000 @@ -0,0 +1,29 @@ +--- src/dispatch/predicates.py.orig 2009-05-14 22:55:57.000000000 +0200 ++++ src/dispatch/predicates.py 2009-05-14 22:56:15.000000000 +0200 +@@ -236,7 +236,7 @@ + + return or_, (EXPR_GETTER_ID,) + +- [as(classmethod)] ++ [fas(classmethod)] + def immediate(klass,seq): + for item in seq: + if item: +@@ -260,7 +260,7 @@ + + return and_, (EXPR_GETTER_ID,) + +- [as(classmethod)] ++ [fas(classmethod)] + def immediate(klass,seq): + for item in seq: + if not item: +@@ -278,7 +278,7 @@ + return get(argIds[2]) + return ifelse, (EXPR_GETTER_ID,) + +- [as(classmethod)] ++ [fas(classmethod)] + def immediate(klass,seq): + if seq[1]: return seq[0] + return seq[2]