New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

In tee.fromiterable() the non-initialized tee object can be deleted by  without 
calling _Py_ForgetReference() in debug build.

See also issue44553 and issue44562.

The proposed PR rewrites the code so that it no longer need to delete not 
completely initialized tee object.

----------
components: Extension Modules
messages: 396952
nosy: kj, pablogsal, rhettinger, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Failed tee.fromiterable() corrupts the linked list of all GC objects in 
debug build
type: crash
versions: Python 3.10, Python 3.11, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44563>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to