Martin Natano added the comment:
How would calling `outer.exception()` suppress the message? This happens when
the outer task is cancelled while the inner task is still running. In that case
the exception is never set on outer.
--
___
Python
Martin Natano added the comment:
I'm not sure how to fix this, but here is a regression test for the issue.
(failing on the current master branch)
--
keywords: +patch
Added file: https://bugs.python.org/file49680/regression-test.patch
___
P
New submission from Martin Natano :
A task created with asyncio.shield() never retrieves the task exception, which
results in a log message being generated. See the attached script for a minimal
example. Output looks something like this:
Task exception was never retrieved
future: exception
Martin Natano added the comment:
I just verified that this is not an issue in python 3.8.6 and python 3.9.0. In
those versions a normal stacktrace is generated, as expected.
--
nosy: +natano
___
Python tracker
<https://bugs.python.org/issue42
Changes by Martin Natano :
--
title: Add support for Bitrig -> Add support for Bitrig to 2.7
___
Python tracker
<http://bugs.python.org/issue19853>
___
___
Py
New submission from Martin Natano:
This patch adds support for Bitrig to 3.4.
--
components: Build
files: cpython3.4-bitrig.patch
keywords: patch
messages: 204931
nosy: Martin.Natano
priority: normal
severity: normal
status: open
title: Add support for Bitrig to 3.4
versions: Python 3.4
New submission from Martin Natano:
This patch adds support for Bitrig to 2.7.
--
components: Build
files: cpython2.7-bitrig.patch
keywords: patch
messages: 204930
nosy: Martin.Natano
priority: normal
severity: normal
status: open
title: Add support for Bitrig
versions: Python 2.7
Added