See haata/pycapnp#1 for a discussion. The cause of this bug is still unknown to me. But it likely has been fixed in Python 3.10. For some crazy reason, you can just keep retrying the offending call, and the attribute will magically 'reappear'.
I was able to reproduce this locally (in a slightly different way than in CI), and the problem goes away with this fix (no infinite loops have occurred). There are a bunch of CI tests running here: https://github.com/LasseBlaauwbroek/pycapnp/commits/fix-attribute-error-ci-test
I'd suggest waiting for them to be green to merge this.
… 'call_soon'
See haata/pycapnp#1 for a discussion. The cause of this bug is still unknown to me. But it likely has been fixed in Python 3.10. For some crazy reason, you can just keep retrying the offending call, and the attribute will magically 'reappear'.
I was able to reproduce this locally (in a slightly different way than in CI), and the problem goes away with this fix (no infinite loops have occurred). There are a bunch of CI tests running here: https://github.com/LasseBlaauwbroek/pycapnp/commits/fix-attribute-error-ci-test I'd suggest waiting for them to be green to merge this.