[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SoC proposal: "pythonificating the python bindings"

From: Walter Mundt <emage_at_spamcop.net>
Date: 2006-05-02 19:41:37 CEST

Daniel Berlin wrote:
> While it's early, and I haven't thought of all possible problems in this
> approach (noting at the same time that it is more or less what we do
> right now in C explicitly), the main one that pops out to me is the
> python version requirement (IE decorators are 2.4+).

Not really a problem. You see, the nice @decorator _syntax_ is Python
2.4-dependent, but actually implementing a decorator is just writing a
callable, and you can still use the clunky f = decorator(decparams)(f)
syntax to apply decorators in Python <= 2.3.

-Walter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 2 19:42:09 2006

This is an archived mail posted to the Subversion Dev mailing list.