Skip to content

Releases: enthought/comtypes

1.2.0 numpy interop breaking changes & a lot of re-factoring

30 May 12:36
d1f5cd7

Choose a tag to compare

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.

1.1.14

19 Aug 08:59
57e4f24

Choose a tag to compare

  • Fix SyntaxError in generated docstring. Thanks @junkmd.

1.1.13

08 Aug 06:30
096bfde

Choose a tag to compare

  • Many fixes in code generator. Thanks @junkmd.
  • Make tests runnable on AppVeyor CI. Many improvements in tests. Thanks @junkmd and @dmwyatt.
  • Update (bound_)named_property args and attributes names to be similar to builtin property. Thanks @junkmd.
  • Refactor function GetModule and fix type lib timestamping for incomplete generated module. Thanks @junkmd.
  • Fix recent numpy versions support. Thanks @mworion.
  • Split Constants into a separate module. Thanks @junkmd.
  • client.GetModule can take a one liner containing lib UUID. Thanks @junkmd.
  • Use Generator.imports instead of Generator._externals. Thanks @junkmd.
  • Rename README to README.md. Thanks @junkmd and @filipporomani.
  • No patching or modifying typedesc.Obj.name in tools.codegenerator. Thanks @junkmd.
  • Load enumerations into client.Constants. Thanks @junkmd.

Bug fixes

05 Mar 09:31
0094a55

Choose a tag to compare

  • Fix _pack_ being returned as a float. Thanks @kdschlosser.
  • More general fix for timestamping a type library. Thanks @kdschlosser.

1.1.11 Remove 2to3 fixer, one more fix for timestamps

12 Feb 16:02
b946aca

Choose a tag to compare

  • 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.

1.1.10 Fix loading module from relative path on Windows 7

24 Apr 18:00

Choose a tag to compare

  • Fix loading module from relative path on Windows 7.

1.1.9 Fix loading module from relative path

13 Mar 10:24

Choose a tag to compare

  • Fix loading module from relative path.
  • Use comtypes release version in code generator version check.

1.1.8 Several bug fixes

25 Dec 16:12
e5eeb5e

Choose a tag to compare

1.1.7 Fix installation with "--no-cache-dir" option

31 Jul 06:28
1d3d38b

Choose a tag to compare

1.1.6 Fix "pip install" issue

10 Jul 07:32
36e997b

Choose a tag to compare