[issue42636] shielded task exception never retrieved when outer task cancelled

2020-12-15 Thread Martin Natano
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

[issue42636] shielded task exception never retrieved when outer task cancelled

2020-12-14 Thread Martin Natano
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

[issue42636] shielded task exception never retrieved when outer task cancelled

2020-12-14 Thread Martin Natano
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

[issue42306] wrong exception handling in case asyncio.shiled usage

2020-12-14 Thread Martin Natano
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

[issue19853] Add support for Bitrig to 2.7

2013-12-01 Thread Martin Natano
Changes by Martin Natano : -- title: Add support for Bitrig -> Add support for Bitrig to 2.7 ___ Python tracker <http://bugs.python.org/issue19853> ___ ___ Py

[issue19854] Add support for Bitrig to 3.4

2013-12-01 Thread Martin Natano
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

[issue19853] Add support for Bitrig

2013-12-01 Thread Martin Natano
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