Skip to content

Releases: enthought/comtypes

1.4.8 Python 3.13 support

20 Oct 23:16
4cbdb03
Compare
Choose a tag to compare
  • 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_type definition to tlbparser. 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 CoGetClassObject and GetClassObject. By @junkmd.
  • Refactor the __new__ methods of _cominterface_meta and _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_function lines. By @newwingbird.
  • Prevent itf to 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.

1.4.7

09 Sep 10:17
960ec48
Compare
Choose a tag to compare
  • Improve _CArrayType alias import. By @junkmd.
  • Rename _byref_type and _carg_obj to _CArgObject. By @junkmd.
  • Fix typos and make the wording more natural in README.md. By @umarbutler.
  • Modernize BSTR definition. By @junkmd.
  • Modernize tagDEC definition. By @junkmd.
  • Remove methods with mangling names in typeinfo. By @junkmd.
  • Rename test_istream to test_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_requires to >=3.8 in setup.cfg. By @junkmd.

1.4.6

04 Aug 23:22
a6ea0c3
Compare
Choose a tag to compare
  • 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 Any and Tuple from the hints stub instead of directly importing them in generated modules. By @junkmd.
  • Modernize GUID.py. By @junkmd.
  • Improve codegenerator.modulenamer static typing. By @junkmd.
  • Avoid using keywords in TYPE_CHECKING blocks. By @junkmd.
  • Improve member defining parts of ParseInterface and ParseDispatch. By @junkmd.
  • Fix Annoying SyntaxWarning. By @v01d-gh.

1.4.5 Add statically defined ``ISequentialStream`` and improve creation of ``SAFEARRAY``s

08 Jul 12:40
d73b917
Compare
Choose a tag to compare
  • Split __init__.py into some modules. By @junkmd.
  • Fix importing _DispMemberSpec in automation. By @junkmd.
  • Fix importing _encode_idl in _comobject. By @junkmd.
  • Change the name of the component that implements the interface for record parameter testing. By @geppi.
  • Implement SAFEARRAY pointers and SAFEARRAYs as method parameters of a Dispatch Interface. By @geppi.
  • Change the default value of the extra parameter in the create method of tagSAFEARRAY subtypes. By @geppi.
  • Implement static import for ISequentialStream. By @jonschz.
  • Modernize test_wmi. By @junkmd.
  • Add static typing for _midlSAFEARRAY. By @junkmd.

1.4.4

07 Jun 16:29
01d5879
Compare
Choose a tag to compare
  • Stop mentioning the last version supporting Windows CE in README.md. By @forderud.
  • Declare the minimum Python version as 3.7. By @jaraco.
  • Move package configuration to declarative config. By @jaraco.

1.4.3

03 Jun 14:05
ce0e393
Compare
Choose a tag to compare
  • Refactor test_findgendir. By @junkmd.
  • Update test_GUID. By @junkmd.
  • Add a feature to typeannotator that interprets the return value. By @junkmd.
  • Update type annotations for _IUnknown_Base and IUnknown. By @junkmd.
  • Add groupby_impltypeflags. By @junkmd.
  • Add static typing for when a CoClass is assigned as the return value type. By @junkmd.
  • Improve EnumerationNamespaces and CodeGenerator.enum_aliases. By @junkmd.
  • Modernize constructor arguments and attributes of each stuff in typedesc. By @junkmd.
  • Split codegenerator into some modules in the sub-package directory. By @junkmd.
  • Implement record pointers as method parameters of a Dispatch Interface. By @geppi.
  • Add npsupport to CI pipeline matrix. By @junkmd.
  • Add "Frequently Asked Questions" to README.md. By @junkmd.

1.4.2

06 May 23:41
3c61129
Compare
Choose a tag to compare
  • Improve the stability of module generation by GetModule. By @junkmd.
  • Define c_int aliases earlier than others in wrapper modules. By @junkmd.
  • Remove trailing newlines generated by codegenerator and typeannotator. 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 Incomplete and Hresult to hints.pyi. By @junkmd.

1.4.1

10 Apr 23:29
040152f
Compare
Choose a tag to compare
  • Fix TypeError when defining enumeration types. By @junkmd

1.4.0 Supporting enumerations in friendly modules

07 Apr 23:25
7fa88e1
Compare
Choose a tag to compare

This is the first major version supporting enumerations in friendly modules.

The names that were used as aliases for c_int within friendly modules will now be used as the names of enumeration types.

  • Add enumeration definitions in generated friendly modules. By @junkmd.
  • Add descriptions to index.rst about the enumeration types. By @junkmd.
  • Add GitHub Actions auto-test workflow. By @junkmd.

1.3.1

25 Feb 23:53
aa770ca
Compare
Choose a tag to compare
  • Add type annotations to dynamically generated modules. By @junkmd.
  • Bring back Excel early-bind test. By @junkmd.
  • update README.md. By @junkmd.