[issue46025] Raising in an atexit function in dev mode crashes

Pablo Galindo Salgado report at bugs.python.org
Thu Dec 9 06:20:52 EST 2021


New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:

Issue found by Matt Wozniski:

Running this with python3.10 -X dev segfaults:

import atexit
def func():
    atexit.unregister(func)
    1/0
atexit.register(func)

----------
keywords: 3.10regression, 3.11regression
messages: 408106
nosy: pablogsal
priority: normal
severity: normal
status: open
title: Raising in an atexit function in dev mode crashes
versions: Python 3.10, Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46025>
_______________________________________


More information about the Python-bugs-list mailing list