merlimat commented on issue #6463: URL: https://github.com/apache/pulsar/issues/6463#issuecomment-910786724
> The cyclic GC works "all right", not perfectly, in Python 2, but is much improved in 3. I think this can be done without changes in the native code. I wouldn't even need to be a cyclic dependency. There are 2 layers of wrappers: ``` pure-python object --> boost-python generated wrapper --> C++ class ``` We just need to retain a reference to the client boost-python object from the pure-python producer object. -- 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]
