morten.brekkevold@uninett.no said:
As far as I can grok from the documentation, the latest version of the python bindings still indicate "int" to be the return type of this function. There was a commit in March 2015, however, that changed this into a "long", without updating the corresponding documentation [1].
That would explain the mess! I read the python documentation too and could not understand what had changed.
morten.brekkevold@uninett.no said:
You could try to change the conditional at [2] to check for "long" instead of "int", to see if that helps. If it does, we can write a patch that will accept both.
Changing from "int" to "long" worked nicely. Patch for future versions of NAV would be welcome.
--Ingeborg