Hello,

I'm using Django and metaWeblog.

s = xmlrpclib.Server("http://localhost:8000/xmlrpc/";)
# Let's call a method
s.metaWeblog.test()
"Test"
# It works

#But it won't output available methods if I try to use dir() for this
purpose
dir(s.metaWeblog)
['_Method__name', '_Method__send', '__call__', '__doc__',
'__getattr__', '__init__', '__module__']
# It doesn't contain my test method

Is this a bug or some sort of encapsulation?


Regards
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to