Releases: enthought/comtypes
Releases · enthought/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 makenumpyinterop opt-in. By @bennyrowland. - Move and redefine generating module functions for fixing cross imports. By @junkmd.
- Refactor creating
__all__part incodegenerator.Generator.generate_code. By @junkmd. - Quit calling
GetModulefromtools.codegenerator. By @junkmd. - Commonize module-creating functions. By @junkmd.
- Shorten the lifetime of
io.StringIOused for code generation. By @junkmd. - Fix import source of
Arrayfrom_ctypestoctypes. By @junkmd. - Add
for_stubmode toImportedNamespaces.getvalue. By @junkmd. - Remove
monkeypatch_COMError. By @junkmd. - Remove
CodeGenerator.need_GUID. By @junkmd. - Carve out
CodeGenerator.type_namemethod toTypeNamerclass. By @junkmd. - Add
__known_symbols__attributes. By @junkmd. - Remove
CodeGenerator.type_namecalls no longer needed and rename to_to_type_name. By @junkmd. - Change
_fix_inout_argsto module-level top level function. By @junkmd. - Fix docstring from
DispInterfaceHead. By @junkmd. ...METHODand...PROPERTYreturn_MemberSpecs instead oftuples. By @junkmd.- Make generating
...propertyDRY. By @junkmd. - Refactor
_MemberSpecstuffs and separate modules. By @junkmd. - Carve out
make_...Methodandmake_...Propertyofcodegenerator. 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.mdstyle. By @junkmd. - Add announcements of plan for renaming
masterbranch tomainand dropping Python2 toREADME.md. By @junkmd.
1.1.14
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_)named_property 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.
Bug fixes
- 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
- 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
- Fix loading module from relative path on Windows 7.
1.1.9 Fix loading module from relative path
- Fix loading module from relative path.
- Use comtypes release version in code generator version check.
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.
1.1.7 Fix installation with "--no-cache-dir" option
1.1.6 Fix "pip install" issue
Fix issue #155.