Re: [PATCH v2 01/25] python/aqmp: add __del__ method to legacy interface

2021-12-16 Thread John Snow
On Thu, Dec 16, 2021 at 4:31 AM Vladimir Sementsov-Ogievskiy < vsement...@virtuozzo.com> wrote: > 15.12.2021 22:39, John Snow wrote: > > asyncio can complain *very* loudly if you forget to back out of things > > gracefully before the garbage collector starts destroying objects that > > contain liv

Re: [PATCH v2 01/25] python/aqmp: add __del__ method to legacy interface

2021-12-16 Thread Beraldo Leal
On Wed, Dec 15, 2021 at 02:39:15PM -0500, John Snow wrote: > asyncio can complain *very* loudly if you forget to back out of things > gracefully before the garbage collector starts destroying objects that > contain live references to asyncio Tasks. > > The usual fix is just to remember to call aqm

Re: [PATCH v2 01/25] python/aqmp: add __del__ method to legacy interface

2021-12-16 Thread Vladimir Sementsov-Ogievskiy
15.12.2021 22:39, John Snow wrote: asyncio can complain *very* loudly if you forget to back out of things gracefully before the garbage collector starts destroying objects that contain live references to asyncio Tasks. The usual fix is just to remember to call aqmp.disconnect(), but for the sake

[PATCH v2 01/25] python/aqmp: add __del__ method to legacy interface

2021-12-15 Thread John Snow
asyncio can complain *very* loudly if you forget to back out of things gracefully before the garbage collector starts destroying objects that contain live references to asyncio Tasks. The usual fix is just to remember to call aqmp.disconnect(), but for the sake of the legacy wrapper and quick, one