lidavidm commented on PR #36986: URL: https://github.com/apache/arrow/pull/36986#issuecomment-1673553903
Looking at these: - https://github.com/Delgan/loguru/issues/88 - https://github.com/cython/cython/issues/2735 It looks like Cython indeed doesn't generate stack frames for calls, and also modifying `wakeup` here to try to call `sys._getframe` like `asyncio.event.Handle` does crashes with `call stack is not deep enough`. So indeed, it seems we should avoid touching asyncio or generating exceptions from the native callback. Bouncing through a Python thread seems unavoidable from that perspective, unfortunately. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
