Ronald Oussoren <ronaldousso...@mac.com> added the comment:
Note that there is a way to avoid this crash using the trashcan API (see the use of Py_TRASHCAN_BEGIN in various implementation). This API is generally only used for recursive data structures and because it has a performance cost (based on what I've read in other issues). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42887> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com