https://bugs.freedesktop.org/show_bug.cgi?id=50470

--- Comment #2 from Thomas Kluyver <[email protected]> 2012-05-30 03:20:30 
PDT ---
It's not completely trivial: obj.__members__ is a list itself, while
obj.__dir__ should be a method that returns a list when called. The PyUno class
doesn't yet have any regular methods defined, so it will need a bit of
adaptation to declare a method to the Python C-API. The docs are here:
http://docs.python.org/c-api/typeobj.html#PyTypeObject.tp_methods

But all the code needed is already there, so I think it still qualifies as an
Easy Hack. If I wanted to have a go at it, can pyuno be built by itself, or
would I have to build the whole of LO to test it?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to