Raising [`ctypes.WinError()`](https://docs.python.org/3/library/ctypes.html#ctypes.WinError) also triggers this. There is a [code snippet here](https://code.activestate.com/recipes/577972-disk-usage/) for example. _Originally posted by @tdulcet in https://github.com/astral-sh/ruff/issues/5416#issuecomment-1686457590_
Raising
ctypes.WinError()also triggers this. There is a code snippet here for example.Originally posted by @tdulcet in #5416 (comment)