This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author thehesiod
Recipients asvetlov, methane, thehesiod, vstinner
Date 2018-05-24.01:57:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527127079.67.0.682650639539.issue33565@psf.upfronthosting.co.za>
In-reply-to
Content
ok fair enough, however a caveat is that it's not necessarily end of function as I was able to expand the function by a few more lines and the callstack stayed the same, however I'm guessing the interpreter was smart enough to realize the calls below the try/except had no references.  

it would be nice if there was a virtual "socket.__del__` or something at the end of the stack.  Basically if it could plug into the extension callbacks.  That way we could have a little more visibility.

closing, thanks guys. This fixes the issue in botocore, on to the next related leak found via aiobotocore in aiohttp, where it now has no tracemalloc entries, so I'm guessing a leak via the ssl module to openssl :(

thanks again guys for the help, I really appreciate it, I hope in the future, my some mechanism, scenarios like these will be a lot easier to decipher.
History
Date User Action Args
2018-05-24 01:57:59thehesiodsetrecipients: + thehesiod, vstinner, asvetlov, methane
2018-05-24 01:57:59thehesiodsetmessageid: <1527127079.67.0.682650639539.issue33565@psf.upfronthosting.co.za>
2018-05-24 01:57:59thehesiodlinkissue33565 messages
2018-05-24 01:57:59thehesiodcreate