Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 340 Bytes

File metadata and controls

5 lines (5 loc) · 340 Bytes

Fix a case where re-entrant imports could corrupt the import deadlock detection code and cause a :exc:`KeyError` to be raised out of :mod:`importlib/_bootstrap`. In addition to the straightforward cases, this could also happen when garbage collection leads to a warning being emitted -- as happens when it collects an open socket or file)