zbentley commented on issue #11823:
URL: https://github.com/apache/pulsar/issues/11823#issuecomment-907522329


   Actually, after thinking about it a bit, this may be possible for the Pulsar 
client to mitigate (though it still seems like a Boost problem fundamentally).
   
   Since `PyErr_Print` mutates interpreter state (clears the global exception 
bit), calling it in the C++ python bindings is making this bug worse. Without 
that call, any logger interactions during C++ object destruction would still 
fail, and some Python internal interpreter errors would be emitted, but things 
would still generally work.
   
   However, with the call to `PyErr_Print`, other state gets corrupted and 
return values get messed up.


-- 
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]


Reply via email to