<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - id of objects changes on every access"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126487#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - id of objects changes on every access"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126487">bug 126487</a>
              from <span class="vcard"><a class="email" href="mailto:noelgrandin@gmail.com" title="Noel Grandin <noelgrandin@gmail.com>"> <span class="fn">Noel Grandin</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>