[New-bugs-announce] [issue35125] asyncio shield: remove inner callback on outer cancellation

mainro report at bugs.python.org
Wed Oct 31 11:18:41 EDT 2018


New submission from mainro <romain.picard at 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 <report at bugs.python.org>
<https://bugs.python.org/issue35125>
_______________________________________


More information about the New-bugs-announce mailing list