New submission from mainro <romain.pic...@oakbits.com>:

When the future returned by shield is cancelled, its completion callback of the 
inner future is not removed. This makes the callback list of inner inner future 
grow each time a shield is created.

----------
components: asyncio
files: shield_cancel.patch
keywords: patch
messages: 328997
nosy: asvetlov, mainro, yselivanov
priority: normal
severity: normal
status: open
title: asyncio shield: remove inner callback on outer cancellation
type: behavior
versions: Python 3.7
Added file: https://bugs.python.org/file47897/shield_cancel.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35125>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to