lupko commented on issue #36540:
URL: https://github.com/apache/arrow/issues/36540#issuecomment-1627657446

   of course, although I suspect there is very little that could be done on 
PyArrow side - it all looks like a Python thing to me:
   
   For example if I fiddle-up the existing reproducer (`repro_client.py`) so 
that the `_do_exchange` method raises any error from Python-land and I hold 
onto that error, then I observe the same symptoms: because the exception 
references the traceback which references the stack frames and one of them 
references all local variables of `_do_exchange` - even those that are backed 
by instances of Arrow classes.
   
   FYI here is some extra info about the exception funny stuff: 
https://cosmicpercolator.com/2016/01/13/exception-leaks-in-python-2-and-3/


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