Fix plenty of mypy misc
+name-defined
+attr-defined
and pyright reportAttributeAccessIssue
from pythoncom.py
and pywintypes.py
#2418
Open
Avasam wants to merge 7 commits intomhammond:mainfrom Avasam:mypy-fix-and-re-enable-misc-+-name-defined