if I'm using a class that has multiple __getattr__
methods, spyce seems to always invoke the last one
defined. For example, if I have this class
self._name = "stupid class"
self._id = 1
def __getattr__(self, name):
def __getattr__(self, id):
and I have this spyce page
f = Foo.Foo()
<%=f.name%> ! <%=f.id%>
I get "1 ! 1", instead of "stupid class ! 1", which I
would have expected.