Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Python does not finalizes iterators of some types at exit leading to memory leak.
Reproducer:
a=type(iter(tuple[int]))print(a.mro())
Leak:
[<class 'generic_alias_iterator'>, <class 'object'>][119 refs, 46 blocks]
See also#90575