what is lambda used for in real code?
Diez B. Roggisch
deetsNOSPAM at web.de
Sat Jan 1 10:19:30 EST 2005
> Why not improve your metaclass wrapping so it knows about properties and
> replaces them with properties containing wrapped functions?
Erg - never thought of that, actually - it was so fast to introduce the
lambda...
But after some tinkering with metaclasses, I think it can be done - I have
to create a mapping between the pure, unwrapped function and the wrapped
one so that I can recreate all properties.
Thanks for nudging me in that direction :)
--
Regards,
Diez B. Roggisch
More information about the Python-list
mailing list