Jun Komoda

Results 421 comments of Jun Komoda

Is there some kind of investigation underway on this? Or is this something that the type checker does not cover?

@erictraut > Have you enabled type checking diagnostics (i.e. set "python.analysis.typeCheckingMode" to "basic") to see if there are any type-related errors reported? Thank you for your response. Indeed, I changed...

@erictraut I'm using Python 3.10. I vaguely remember that I created these py files with `setting.json` set to `"python.analysis.typeCheckingMode": "off"`, so they may be related. I did not force the...

> ... typing symbols ... will ever go away. Really? `typing` documentation said that > Deprecated since version 3.9: builtins.type now supports []. See PEP 585 and Generic Alias Type....

@erictraut I respect your knowledge of Python. > delete these symbols from `typing`. That is exactly the mistake I made. I will use `typing` without hesitation. I am fine with...

from https://github.com/python/typing/issues/1230, > There are currently no plans to remove the aliases from `typing`. Therefore, I use `typing` in version-compatible-project without further hesitation.

This issue contains restoring tests using `InternetExplorer` and have been skipped. Like below: https://github.com/enthought/comtypes/blob/782444957e1133bb40825576540b8a5fc79dd398/comtypes/test/test_client.py#L37-L70 ```py def test_remote(self): obj = comtypes.client.CreateObject( UIAutomationClient.CUIAutomation().IPersist_GetClassID(), interface=UIAutomationClient.IUIAutomation, clsctx=comtypes.CLSCTX_INPROC_SERVER, machine="localhost") self.assertTrue(isinstance(obj, POINTER(UIAutomationClient.IUIAutomation))) self.assertTrue(isinstance(obj, UIAutomationClient.IUIAutomation)) def test_server_info(self):...

## Ideas for `test_csesensitivity` ```py import unittest from comtypes.client import GetModule GetModule("UIAutomationCore.dll") from comtypes.gen import UIAutomationClient as uia class TestCase(unittest.TestCase): def test(self): self.assertTrue(issubclass(uia.IUIAutomation2, uia.IUIAutomation)) self.assertTrue(issubclass(uia.IUIAutomation3, uia.IUIAutomation2)) for name in uia.IUIAutomation.__map_case__:...

Is this error thrown by calling `CreateObject` or `GetModule`? If so, please write down the code and/or traceback so that I may be able to assist you in resolving this...

@rafikor From your comment, I'm guessing that 'SomeApp.Application' is specific to your environment and is a class that can be called from its `VersionIndependentProgID`(, isn't it?). I have been a...