Skip to content

Calls to PyErr_PrintEx in destructors cause calling async functions to incorrectly return None #89196

@zbentley

Description

@zbentley
mannequin
BPO 45033
Nosy @asvetlov, @1st1, @iritkatriel, @zbentley

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2022-03-10.09:11:29.962>
created_at = <Date 2021-08-27.23:56:25.931>
labels = ['interpreter-core', 'type-bug', '3.9', 'expert-C-API', 'invalid', 'expert-asyncio']
title = 'Calls to PyErr_PrintEx in destructors cause calling async functions to incorrectly return None'
updated_at = <Date 2022-03-10.09:11:29.961>
user = 'https://github.com/zbentley'

bugs.python.org fields:

activity = <Date 2022-03-10.09:11:29.961>
actor = 'gregory.p.smith'
assignee = 'none'
closed = True
closed_date = <Date 2022-03-10.09:11:29.962>
closer = 'gregory.p.smith'
components = ['Interpreter Core', 'asyncio', 'C API']
creation = <Date 2021-08-27.23:56:25.931>
creator = 'zbentley'
dependencies = []
files = []
hgrepos = []
issue_num = 45033
keywords = []
message_count = 5.0
messages = ['400448', '409363', '409371', '409372', '414824']
nosy_count = 4.0
nosy_names = ['asvetlov', 'yselivanov', 'iritkatriel', 'zbentley']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45033'
versions = ['Python 3.9']

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions