pywin32: Remove reference to stubgen dll analysis issue (#11323)

This commit is contained in:
Avasam
2024-01-29 06:06:56 -05:00
committed by GitHub
parent fd89040900
commit 5785712eff
3 changed files with 9 additions and 15 deletions

View File

@@ -1,6 +1,3 @@
# Can't generate with stubgen because:
# "Critical error during semantic analysis: mypy: can't decode file '.venv\Lib\site-packages\pywin32_system32\pythoncom39.dll': 'utf-8' codec can't decode byte 0x90 in position 2: invalid start byte"
# https://github.com/python/mypy/issues/13822
from _typeshed import Incomplete
from typing_extensions import TypeAlias
@@ -44,11 +41,13 @@ def CoRevokeClassObject(reg, /) -> None: ...
def CoTreatAsClass(clsidold: _win32typing.PyIID, clsidnew: _win32typing.PyIID, /) -> None: ...
def CoWaitForMultipleHandles(Flags, Timeout, Handles: list[int], /): ...
def Connect(cls, /) -> _win32typing.PyIDispatch: ...
def connect(*args): ... # incomplete
def CreateGuid() -> _win32typing.PyIID: ...
def CreateBindCtx() -> _win32typing.PyIBindCtx: ...
def CreateFileMoniker(filename: str, /) -> _win32typing.PyIMoniker: ...
def CreateItemMoniker(delim: str, item: str, /) -> _win32typing.PyIMoniker: ...
def CreatePointerMoniker(IUnknown: _win32typing.PyIUnknown, /) -> _win32typing.PyIMoniker: ...
def CreateURLMonikerEx(*args): ... # incomplete
def CreateTypeLib(): ...
def CreateTypeLib2(): ...
def CreateStreamOnHGlobal(hGlobal: int | None = ..., DeleteOnRelease: bool = ..., /) -> _win32typing.PyIStream: ...
@@ -73,6 +72,7 @@ def MakePyFactory(iid: _win32typing.PyIID, /) -> _win32typing.PyIClassFactory: .
def MkParseDisplayName(
displayName: str, bindCtx: _win32typing.PyIBindCtx | None = ..., /
) -> tuple[_win32typing.PyIMoniker, Incomplete, _win32typing.PyIBindCtx]: ...
def new(iid: _win32typing.PyIID | str, /): ...
def New(cls, /) -> _win32typing.PyIDispatch: ...
def ObjectFromAddress(address, iid: _win32typing.PyIID, /) -> _win32typing.PyIUnknown: ...
def ObjectFromLresult(lresult, iid: _win32typing.PyIID, wparm, /) -> _win32typing.PyIUnknown: ...
@@ -137,8 +137,6 @@ def CoGetCancelObject(riid: _win32typing.PyIID, ThreadID: int = ..., /) -> _win3
def CoSetCancelObject(Unk: _win32typing.PyIUnknown, /) -> None: ...
def CoEnableCallCancellation() -> None: ...
def CoDisableCallCancellation() -> None: ...
def CreateURLMonikerEx(*args): ... # incomplete
def new(iid: _win32typing.PyIID | str, /): ...
ACTIVEOBJECT_STRONG: int
ACTIVEOBJECT_WEAK: int
@@ -159,7 +157,6 @@ COINIT_MULTITHREADED: int
COINIT_SPEED_OVER_MEMORY: int
COWAIT_ALERTABLE: int
COWAIT_WAITALL: int
DATADIR_GET: int
DATADIR_SET: int
DESCKIND_FUNCDESC: int
@@ -448,8 +445,6 @@ VT_VARIANT: int
VT_VECTOR: int
VT_VOID: int
def connect(*args): ... # incomplete
dcom: int
fdexNameCaseInsensitive: int
fdexNameCaseSensitive: int