I have improved the implementation of
NamedParamBinding. Now, we store the _Caller class on a
class attribute on Binding.
* Don't repeat the code for __getattr__
* Easier to subclass Binding in multiple ways (eg. in
combination with patch #1187145, you could easily
create a Binding that accepted named parameters and
used a proxy).
* None I can think of
There are probably other ways to do this (eg. pass the
_Caller class in as an __init__ parameter), but this is
what occurred to me.
Log in to post a comment.