Jun Komoda

Results 421 comments of Jun Komoda

Yes, a single patch to convert the entire package to relative imports would certainly be huge. We are still in a situation where we're unable to gauge the full cost...

This project is a collection of many metaprogramming layers, which makes its interdependencies more complex than a typical application codebase. Please understand that an open-source project's codebase is not always...

COM event handling is consistently one of the more challenging areas for this project. Moreover, dealing with event sinking through late-bind only interfaces adds significant complexity. To help us investigate...

No file is attached. Could you share the files on your public repository?

Hi, Have you read about the automatic invocation of `Release()` here? https://comtypes.readthedocs.io/en/stable/com_interfaces.html#comtypes.IUnknown.Release I believe it would be easier to move the discussion forward if you could provide a reproducer that...

This package is designed to be used with CPython. As you pointed out, the timing of the `__del__` call depends on CPython's `ctypes`. To get a specific release timing, using...

As you said, the automatic release can be handled by carefully implementing code, but it's certainly a concern in corner cases. Let's keep this issue open. We can resume the...

Hi, To get straight to the point, this is a tough one. This package needs `comtypes.client.gen_dir` to be a path that the internal function `_find_gen_dir` can give. https://github.com/enthought/comtypes/blob/6a580b372786728e795c20e0731f4dee48180049/comtypes/client/_code_cache.py#L32-L49 There is...

> So do you think that replacing comtypes generated code is an idea good enough? If you could provide an example of what kind of code you'd like `comtypes` to...

I recommend annotating with the interface type rather than the pointer type for type hints, as shown in https://github.com/enthought/comtypes/issues/516#issuecomment-1956962130. I think this approach will feel more natural if you consider...