-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python/Ice/asyncio failure (Windows) #3271
Comments
I have been running this for a while on Windows with Python 3.13.1 but cannot reproduce. Looking at the code we have ice/python/python/Ice/Future.py Lines 20 to 56 in 075234d
Here the wrap future takes care of forwarding state changes between Ice.Future and asyncio.future. In the failing test the cancel call correspond to ice/python/python/Ice/InvocationFuture.py Lines 20 to 22 in 075234d
Which first cancels the C++ requests through the AsyncInvocationContext, and then cancels the Ice.Future. My understanding here is that the cancelation of the C++ asynchronous request always set the exception asynchronously. ice/cpp/src/Ice/OutgoingAsync.cpp Line 293 in 075234d
ice/cpp/src/Ice/ConnectionI.cpp Lines 874 to 877 in 075234d
ice/cpp/src/Ice/OutgoingAsync.cpp Lines 74 to 82 in 075234d
So here I would expect that But the error seems to indicate otherwise, for example it seems like the set_exception callback was run before that |
From https://github.com/zeroc-ice/ice/actions/runs/12351181365/job/34465600576?pr=3270:
The text was updated successfully, but these errors were encountered: