[Libreoffice-bugs] [Bug 126487] id of objects changes on every access
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 22 08:29:42 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=126487
--- Comment #2 from Noel Grandin <noelgrandin at gmail.com> ---
Those are different objects (in the python sense) which is why they return
different id() values.
There is no way to fix that, id() cannot be overridden.
However, it might be possible to make == work, by checking the underlying
remote object identity, if that is exposed by the UNO bridge, I'm not sure.
Code pointers for anyone who is interested on working on this:
That would require changes to the code in /pyuno
I suspect we need the equivalent of m_oid from
bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java
implemented in the pyuno bridge.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190722/246e8687/attachment.html>
More information about the Libreoffice-bugs
mailing list