[Python-Dev] Decorator PEP elaborations

Raymond Hettinger raymond.hettinger at verizon.net
Mon Sep 13 23:23:01 CEST 2004

If one of the authors gets a chance, it would be nice to document the
rationale for the order of application being inside-out instead of

    def myfunc(args):
        . . .

Also, it would be nice to document the reasons for the approach to
argument handling:

    @deco             # calls deco(f)
    @decomaker(arg)   # calls tmp(f) where tmp=decomaker(arg)

Raymond Hettinger

More information about the Python-Dev mailing list