Jun Komoda
Jun Komoda
## Reproducers We can reproduce the `COMError` by adding these tests to `test_storage.Test_IStorage`. ```py def test_RemoteOpenStream(self): storage = self._create_docfile() created_stream = storage.CreateStream("example", self.CREATE_STM_FLAG, 0, 0) test_data = "Some data".encode("utf-8") pv...
I added version bridges to the `PyCArgObject` replicated in `util` to reflect the field definition changes in *Python*'s `PyCArgObject` from [3.13](https://github.com/python/cpython/blob/74607b139d188762bf55ccb9d417b114bac0b12a/Modules/_ctypes/ctypes.h#L376-L394) to [3.14](https://github.com/python/cpython/blob/9663f93a50469828e3c149c6b535227170a29409/Modules/_ctypes/ctypes.h#L481-L502). See also https://github.com/python/cpython/commit/8d0e07eb8993cb8b084a577e79083e8112ef8c7f, https://github.com/python/cpython/pull/133237, https://github.com/python/cpython/issues/61103, and https://github.com/python/cpython/issues/136847.
Due to frequent test failures, `test_comserver.TestInproc_win32com.test_eval` will be skipped on Python 3.14. https://github.com/enthought/comtypes/blob/1e2577a2393aa3de03dd40f5609c1c82af62052f/comtypes/test/test_comserver.py#L144-L149
Thank you for the investigation! With multiple confirmations that this code block seems safe to remove, this is a straightforward good first issue for anyone to tackle.