Comtypes

Latest version: v1.4.10

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

1.4.10

--------------
* Replace ``GetModuleFileNameA`` with ``GetModuleFileNameW`` to prevent a ``TypeError``. By junkmd.
* Refactor ``server.register``. By junkmd.
* ``PythonClass`` and ``PythonPath`` are no longer registered in the registry for a frozen server. By junkmd.
* Use ``WinDLL``/``OleDLL`` instead of ``windll``/``oledll``. By moi15moi.
* In ``tools.tlbparser``, replace ``windll.oleaut32.QueryPathOfRegTypeLib`` with ``typeinfo.QueryPathOfRegTypeLib``. By moi15moi.
* Adjust ``QueryPathOfRegTypeLib`` docstring. By moi15moi.
* Reserve blank lines in the generated modules. By junkmd.
* Refactor ``tools`` subpackage. By junkmd.
* Add ``ActiveObjTest`` to ``test_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 ``ruff`` lint rules from ``pyproject.toml``. By moi15moi.
* Refactor some code from ``client/__init__.py`` into 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.

1.4.9

--------------
* Separate patch processing within ``_com_interface_meta`` into a module. By junkmd.
* Replace ``Literal`` and ``Protocol`` with 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.py`` into production code and test code. By junkmd.
* Add docstrings to the module defining the ``GUID`` symbol. By junkmd.
* Fix broken unregistration of 64bit type libraries. By forderud.
* Replace alias definitions with ``ctypes.wintypes`` imports. By fmtabler.
* Revive ``pywin32`` related tests. By junkmd.
* Revive comserver related tests. By junkmd.
* Separate the part that creates entries from ``server.register.Registrar`` and refactor it. By junkmd.
* Add ``Test_Registrar_...``. By junkmd.
* Many typing improvements. By junkmd.
* Separate ``vtbl`` creation within ``_comobject`` into a module. By junkmd.
* Migrate the documentation from PythonHosted to ReadTheDocs. By junkmd.

1.4.8

--------------
* 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

--------------
* 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

--------------
* 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

--------------
* 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 ``SAFEARRAY``s 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.

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.