Recent Releases of comtypes
comtypes - 1.4.12
- Add support for coverage. By @moi15moi.
- CI/CD Improvements for runners and the codecov badge. By @junkmd.
- Add signed 32-bit hexadecimal converters. By @junkmd.
- Add
Test_Stattotest_stream. By @junkmd. - Add client-side
RegisterActiveObject. By @junkmd. - Remove useless
objectinheritance from every class. By @moi15moi. - Modernize
super()calls by removing explicit class and instance arguments. By @moi15moi. - Eliminate outdated encoding boilerplates. By @moi15moi.
- Update byte string creation to use
b""instead ofstr.encode("utf-8"). By @moi15moi. - Introduce
codecov.yml. By @moi15moi. - Migrate exception catches from older aliases to
OSError. By @moi15moi. - Remove obsolete Python 2 compatibility code in
test_variant. By @junkmd. - Skip
test_evalin INPROC server tests due to instability. By @junkmd. - Adjust structure sizes and alignments for 64-bit Python in
viewobject.py. By @junkmd. - Add
test_viewobject. By @junkmd. - Ensure
test_npsupportpasses withnumpy>=2.0.0by explicitly settingdtype=numpy.int32. By @junkmd. - Add tests for
DictPropertyBagand type hints forIPropertyBag. By @junkmd. - Fix
numpyinteroperability and enabledatetime64tests. By @junkmd. - Revive and correct integer handling logic for
VARIANTs when setting values. By @junkmd. - Add tests for
messageloop. By @junkmd. - Revive
utiland add comprehensive tests. By @junkmd. - Refactor and enhance
utilwith explicit imports and typing. By @junkmd. - Modernize
npsupportby removing the patch for thenp._typecodes. By @junkmd.
- Python
Published by junkmd 6 months ago
comtypes - 1.4.11
- Improve
PARAMFLAG_...andDISPATCH_...constants definitions and imports. By @junkmd. - Introduce the
_CDataTypealias from typeshed. By @junkmd. - Replace
260literals/constant definitions with imports fromctypes.wintypes.MAX_PATH. By @junkmd. - Replace
client._code_cache._get_module_filenamewithtypeinfo.GetModuleFileName. By @junkmd. - Improve
client._code_cache.SHGetSpecialFolderPathdefinition. By @junkmd. - Add type annotations to many modules. By @junkmd.
- Add constants to many modules. By @junkmd.
- Improve import block styles to many modules. By @junkmd.
- Add
SupportErrorInfoTesttotest_comserver. By @junkmd. - Add
test_errorinfo. By @junkmd. - Improve the type safety of
errorinfo.ReportException. By @junkmd. - Change the method of retrieving the values of each field in
_...MemberSpecfrom unpacking to dot access. By @junkmd. - Split
server.connectionpoints.ConnectionPointImpl._call_sinks. By @junkmd. - Refactor
create_vtbl_mapping,create_dispimpland_encode_idl. By @junkmd. - Add
test_hresult. By @junkmd. - Add
Test_Vtbltotest_comobject.py. By @junkmd. - Delint
IUnknown_AddRefandIUnknown_Release. By @junkmd. - Convert
assertRaisesusage to context manager for improved readability. By @junkmd. - Remove the unused
PATHvariable fromclient/_generate.py. By @moi15moi.
- Python
Published by junkmd 10 months ago
comtypes - 1.4.10
- Replace
GetModuleFileNameAwithGetModuleFileNameWto prevent aTypeError. By @junkmd. - Refactor
server.register. By @junkmd. PythonClassandPythonPathare no longer registered in the registry for a frozen server. By @junkmd.- Use
WinDLL/OleDLLinstead ofwindll/oledll. By @moi15moi. - In
tools.tlbparser, replacewindll.oleaut32.QueryPathOfRegTypeLibwithtypeinfo.QueryPathOfRegTypeLib. By @moi15moi. - Adjust
QueryPathOfRegTypeLibdocstring. By @moi15moi. - Reserve blank lines in the generated modules. By @junkmd.
- Refactor
toolssubpackage. By @junkmd. - Add
ActiveObjTesttotest_comserver. By @junkmd. - Replace deprecated install command in CI pipelines. By @moi15moi.
- Remove unused parameters in
_shutdown. By @moi15moi. - Delete
preview.bat. By @moi15moi. - Remove unnecessary
rufflint rules frompyproject.toml. By @moi15moi. - Refactor some code from
client/__init__.pyinto modules. By @junkmd. - Remove workarounds for Windows CE in
find_memleak. By @junkmd. - Format import blocks and add
extend-select = ["I"]to[tool.ruff.lint]. By @junkmd.
- Python
Published by junkmd about 1 year ago
comtypes - 1.4.9
- Separate patch processing within
_com_interface_metainto a module. By @junkmd. - Replace
LiteralandProtocolwith runtime-referable symbols. By @junkmd. - Refactor from
%string formatting to f-strings in many modules. By @newwingbird. - Refactor from
%string formatting to f-strings in_post_coinit.unknwn. By @junkmd. - Remove the script entry point in
comtypes.shelllink. By @cosmastech. - Move the modules that define IDL stuff and
instancemethod. By @junkmd. - Allow the definition of the
_midlSAFEARRAY(HRESULT)type. By @davidschranz. - Split
server/w_getopt.pyinto production code and test code. By @junkmd. - Add docstrings to the module defining the
GUIDsymbol. By @junkmd. - Fix broken unregistration of 64bit type libraries. By @forderud.
- Replace alias definitions with
ctypes.wintypesimports. By @fmtabler. - Revive
pywin32related tests. By @junkmd. - Revive comserver related tests. By @junkmd.
- Separate the part that creates entries from
server.register.Registrarand refactor it. By @junkmd. - Add
Test_Registrar_.... By @junkmd. - Many typing improvements. By @junkmd.
- Separate
vtblcreation within_comobjectinto a module. By @junkmd. - Migrate the documentation from PythonHosted to ReadTheDocs. By @junkmd.
- Python
Published by junkmd about 1 year ago
comtypes - 1.4.8 Python 3.13 support
- Remove Python 3.7 and add Python 3.13 to the CI pipelines. By @junkmd.
- Add constant definitions to
shelllink. By @junkmd. - Add more tests to
test_stream. By @junkmd. - Add the
void_typedefinition totlbparser. By @junkmd. - Modernize
tools.tlbparser.get_tlib_filename. By @junkmd. - Extract the methods for parsing externals and dual interfaces from
Parser.parse_typeinfo. By @junkmd. - Fix type annotations referenced by
tlbparser. By @junkmd. - Modernize
codegenerator.namespaces. By @junkmd. - Improve static typing for
CoGetClassObjectandGetClassObject. By @junkmd. - Refactor the
__new__methods of_cominterface_metaand_coclass_meta. By @junkmd. - Prevent errors caused by defining members with the same name within an enum type. By @junkmd.
- Remove remaining
__cmp__methods. By @newwingbird. - Remove remaining
from __future__ import print_functionlines. By @newwingbird. - Prevent
itfto be an unbound variable in_cominterface_meta.__get_baseinterface_methodcount. By @newwingbird. - Modify the metaclasses to ensure compatibility with Python 3.13 and earlier versions. By @junkmd.
- Python
Published by junkmd over 1 year ago
comtypes - 1.4.7
- Improve
_CArrayTypealias import. By @junkmd. - Rename
_byref_typeand_carg_objto_CArgObject. By @junkmd. - Fix typos and make the wording more natural in
README.md. By @umarbutler. - Modernize
BSTRdefinition. By @junkmd. - Modernize
tagDECdefinition. By @junkmd. - Remove methods with mangling names in
typeinfo. By @junkmd. - Rename
test_istreamtotest_stream. By @junkmd. - Add
test_msvidctl. By @junkmd. - Add
test_storage. By @junkmd. - Add
test_monikers. By @junkmd. - Add
test_shelllink. By @junkmd. - Add
test_persist. By @junkmd. - Modernize
persist. By @junkmd. - Add type annotations to
shelllink. By @junkmd. - Bump
python_requiresto>=3.8insetup.cfg. By @junkmd.
- Python
Published by junkmd over 1 year ago
comtypes - 1.4.6
- Add tests and method annotations for
IRecordInfo. By @junkmd. - Improve static typings in
automation. By @junkmd. - Tidy up import part in some modules. By @junkmd.
- Refer to
AnyandTuplefrom thehintsstub instead of directly importing them in generated modules. By @junkmd. - Modernize
GUID.py. By @junkmd. - Improve
codegenerator.modulenamerstatic typing. By @junkmd. - Avoid using keywords in
TYPE_CHECKINGblocks. By @junkmd. - Improve member defining parts of
ParseInterfaceandParseDispatch. By @junkmd. - Fix Annoying SyntaxWarning. By @v01d-gh.
- Python
Published by junkmd over 1 year ago
comtypes - 1.4.5 Add statically defined ``ISequentialStream`` and improve creation of ``SAFEARRAY``s
- Split
__init__.pyinto some modules. By @junkmd. - Fix importing
_DispMemberSpecinautomation. By @junkmd. - Fix importing
_encode_idlin_comobject. By @junkmd. - Change the name of the component that implements the interface for record parameter testing. By @geppi.
- Implement
SAFEARRAYpointers andSAFEARRAYs as method parameters of a Dispatch Interface. By @geppi. - Change the default value of the
extraparameter in thecreatemethod oftagSAFEARRAYsubtypes. By @geppi. - Implement static import for
ISequentialStream. By @jonschz. - Modernize
test_wmi. By @junkmd. - Add static typing for
_midlSAFEARRAY. By @junkmd.
- Python
Published by junkmd over 1 year ago
comtypes - 1.4.3
- Refactor
test_findgendir. By @junkmd. - Update
test_GUID. By @junkmd. - Add a feature to
typeannotatorthat interprets the return value. By @junkmd. - Update type annotations for
_IUnknown_BaseandIUnknown. By @junkmd. - Add
groupby_impltypeflags. By @junkmd. - Add static typing for when a
CoClassis assigned as the return value type. By @junkmd. - Improve
EnumerationNamespacesandCodeGenerator.enum_aliases. By @junkmd. - Modernize constructor arguments and attributes of each stuff in
typedesc. By @junkmd. - Split
codegeneratorinto some modules in the sub-package directory. By @junkmd. - Implement record pointers as method parameters of a Dispatch Interface. By @geppi.
- Add
npsupportto CI pipeline matrix. By @junkmd. - Add "Frequently Asked Questions" to
README.md. By @junkmd.
- Python
Published by junkmd over 1 year ago
comtypes - 1.4.2
- Improve the stability of module generation by
GetModule. By @junkmd. - Define
c_intaliases earlier than others in wrapper modules. By @junkmd. - Remove trailing newlines generated by
codegeneratorandtypeannotator. By @junkmd. - Determine whether a interface is one of the known symbols not only by its name but also by using its iid. By @junkmd.
- Add
IncompleteandHresulttohints.pyi. By @junkmd.
- Python
Published by junkmd almost 2 years ago
comtypes - 1.4.0 Supporting enumerations in friendly modules
This is the first major version supporting enumerations in friendly modules.
- Add enumeration definitions in generated friendly modules. By @junkmd.
- Add descriptions to
index.rstabout the enumeration types. By @junkmd. - Add GitHub Actions auto-test workflow. By @junkmd.
- Python
Published by junkmd almost 2 years ago
comtypes - 1.3.0 Dropping Python 2.7 support
This is the first major version supporting Python 3 only.
* Improve error message on non Windows environments. By @CristiFati.
* Adjust styles of codebase. By @junkmd.
* Apply black==22.12.0 formatter. By @junkmd.
* Modernize client.dynamic. By @junkmd.
* Add tests for client.dynamic. By @junkmd.
* Fix test_client. By @junkmd.
* Fix test_getactiveobj. By @junkmd.
* Make explicit the symbols that imports from the wrapper module into the friendly module. By @junkmd.
* Modernize type annotations in statically defined modules. By @junkmd.
* Fix several type annotations in statically defined modules. By @jonschz and @junkmd.
* Remove sys.version_info bridges from production codebase. By @junkmd.
* Remove for_stub=True conditional branch from the tools.codegenerator.ImportedNamespaces.getvalue. By @junkmd.
* Fix codegenerator as generating __next__() instead of next() in IEnum.... By @jonschz.
* Add unit test for generated IEnum... interfaces. By @jonschz.
* Remove 'Programming Language :: Python :: 2.7' from setup.py. By @junkmd.
* Change the base class of _ComMemberSpec and _DispMemberSpec to typing.NamedTuple. By @junkmd.
* Delint and remove wildcard-import from typeinfo. By @junkmd.
* Split DISPPARAMS instantiation in IDispatch.Invoke method. By @junkmd.
* Move clear_comtypes_cache to be a callable comtypes.clear_cache module. By @bennyrowland.
* Wrapper modules are now imported into friendly modules using an abstracted name, __wrapper_module__. By @junkmd.
* Fix old index bug in call_with_inout within _fix_inout_args. By @jonschz.
* Fix CONTRIBUTING.md. By @junkmd.
* Update README.md. By @junkmd.
- Python
Published by junkmd about 2 years ago
comtypes - 1.2.1 Python 3.12 support
- Replace
distutilswithsetuptools. By @junkmd. - Add Python 3.12 testing into CI pipeline. By @junkmd.
- Set long description type to "markdown" to fix PyPI description rendering. By @junkmd.
- Add
hints.pyitopackage_datainsetup.pywhich copieshints.pyito correct install location. By @junkmd. - Remove Python >=3.3, <=3.6 from CI pipeline. By @vasily-v-ryabov.
- Python
Published by vasily-v-ryabov about 2 years ago
comtypes - 1.2.0 numpy interop breaking changes & a lot of re-factoring
This is the last major version supporting Python 2.7. Next major one 1.3.0 will be Python3 only.
* Remove all automatic imports of numpy, and make numpy interop opt-in. By @bennyrowland.
* Move and redefine generating module functions for fixing cross imports. By @junkmd.
* Refactor creating __all__ part in codegenerator.Generator.generate_code. By @junkmd.
* Quit calling GetModule from tools.codegenerator. By @junkmd.
* Commonize module-creating functions. By @junkmd.
* Shorten the lifetime of io.StringIO used for code generation. By @junkmd.
* Fix import source of Array from _ctypes to ctypes. By @junkmd.
* Add for_stub mode to ImportedNamespaces.getvalue. By @junkmd.
* Remove monkeypatch_COMError. By @junkmd.
* Remove CodeGenerator.need_GUID. By @junkmd.
* Carve out CodeGenerator.type_name method to TypeNamer class. By @junkmd.
* Add __known_symbols__ attributes. By @junkmd.
* Remove CodeGenerator.type_name calls no longer needed and rename to _to_type_name. By @junkmd.
* Change _fix_inout_args to module-level top level function. By @junkmd.
* Fix docstring from DispInterfaceHead. By @junkmd.
* ...METHOD and ...PROPERTY return _MemberSpecs instead of tuples. By @junkmd.
* Make generating ...property DRY. By @junkmd.
* Refactor _MemberSpec stuffs and separate modules. By @junkmd.
* Carve out make_...Method and make_...Property of codegenerator. By @junkmd.
* Removed extra space in typeinfo.IRecordInfo._methods_. By @j0ker70.
* Add type annotations to many modules. By @junkmd.
* Fix type annotations in many modules. By @j0ker70, @muddi900, and @junkmd.
* Delint setup.py. By @jaraco.
* Add CONTRIBUTING.md. By @junkmd.
* Modernize README.md style. By @junkmd.
* Add announcements of plan for renaming master branch to main and dropping Python2 to README.md. By @junkmd.
- Python
Published by vasily-v-ryabov almost 3 years ago
comtypes - 1.1.13
- Many fixes in code generator. Thanks @junkmd.
- Make tests runnable on AppVeyor CI. Many improvements in tests. Thanks @junkmd and @dmwyatt.
- Update (bound)namedproperty args and attributes names to be similar to builtin property. Thanks @junkmd.
- Refactor function
GetModuleand fix type lib timestamping for incomplete generated module. Thanks @junkmd. - Fix recent numpy versions support. Thanks @mworion.
- Split
Constantsinto a separate module. Thanks @junkmd. client.GetModulecan take a one liner containing lib UUID. Thanks @junkmd.- Use
Generator.importsinstead ofGenerator._externals. Thanks @junkmd. - Rename README to README.md. Thanks @junkmd and @filipporomani.
- No patching or modifying
typedesc.Obj.nameintools.codegenerator. Thanks @junkmd. - Load enumerations into
client.Constants. Thanks @junkmd.
- Python
Published by vasily-v-ryabov over 3 years ago
comtypes - 1.1.11 Remove 2to3 fixer, one more fix for timestamps
- Fix setuptools>=57.5.0 compatibility. Thanks @kdschlosser.
- Fix timestamping for typelib. Thanks @fusentasticus.
- Fix 64bit inproc server. Thanks @klusidy.
- Drop Python 2.6 support (Python 2.7 is still supported).
- Fix IndexError for empty safearray. Thanks @BALOGHBence.
- Make numpy typecodes consistent across numpy versions. Thanks @bennyrowland.
- Python
Published by vasily-v-ryabov about 4 years ago
comtypes - 1.1.10 Fix loading module from relative path on Windows 7
- Fix loading module from relative path on Windows 7.
- Python
Published by vasily-v-ryabov almost 5 years ago
comtypes - 1.1.9 Fix loading module from relative path
- Fix loading module from relative path.
- Use comtypes release version in code generator version check.
- Python
Published by vasily-v-ryabov almost 5 years ago
comtypes - 1.1.8 Several bug fixes
- Fix #161: "No module named 'comtypes.gen.stdole'". Thanks @fxthomas.
- Fix #178, #201 and #205: NumPy >= 1.16 support. Thanks @mobiusklein.
- Fix #115: Use the embedded timestamp for cache invalidation. Thanks @vijairaj.
- SlicerHeart/SlicerHeart#12: Allow customization of shutdown behavior (It fixes crash during exit in applications that embed Python). Thanks @lassoan.
- Fix #208: Extend GetModule() with CLSID support. Thanks @forderud.
- Fix #186: Invalid handling of WindowsError on Python 3. Thanks @leonardder.
- Fix #191, #196 and #199: End bdist_wininst support in setup.py. Thanks @wkschwartz.
- Drop Windows CE support. Thanks @forderud.
- Python
Published by vasily-v-ryabov about 5 years ago
comtypes - 1.1.7 Fix installation with "--no-cache-dir" option
Fix issue #158.
- Python
Published by vasily-v-ryabov over 7 years ago
comtypes - 1.1.6 Fix "pip install" issue
Fix issue #155.
- Python
Published by vasily-v-ryabov over 7 years ago
comtypes - 1.1.5 Bug fixes
See CHANGES.txt for a list of changes since release 1.1.4.
- Python
Published by vasily-v-ryabov over 7 years ago
comtypes - Version 1.1.3
See CHANGES.txt for a list of changes since release 1.1.2.
- Python
Published by cfarrow over 9 years ago
comtypes - 1.1.2
See CHANGES.txt for a list of changes since release 1.1.1.
- Python
Published by cfarrow over 10 years ago
comtypes - 1.1.1
See CHANGES.txt for a list of changes since release 1.1.0.
- Python
Published by cfarrow over 11 years ago
comtypes - 1.1.0
See CHANGES.txt for a list of changes since release 1.0.0.
- Python
Published by cfarrow almost 12 years ago