-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Open
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
For the following example CPython runs infinitely (at least on my Windows build)
def test():
class Wrong:
def __del__(self):
Wrong()
Wrong()
test()It works infinitely because of the trashcan mechanism. Should we address this, or should we consider it as another example of CPython VM abuse?
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
efimov-mikhail
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error