---
title: "pywin32 312 Breaking Changes on PyPI | Since.dev"
description: "What each pywin32 release removed, renamed or changed: 48 breaking changes in 6 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pywin32
last_updated: 2026-12-04
---

# pywin32 breaking changes

pywin32 312 (June 4, 2026) is its newest release with breaking changes, 3 of them. The first: Signature changed win32com.client.genpy.Generator.finish_writer. Every breaking API change we have recorded in pywin32 on PyPI: 48 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `312`, released June 4, 2026. [Source repository](https://github.com/mhammond/pywin32)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [309](#v-309) to [312](#v-312): 3 breaking changes in 1 version.
- From [305](#v-305) to [312](#v-312): 46 breaking changes in 5 versions.

## pywin32 312 breaking changes

pywin32 312, released June 4, 2026: 3 breaking changes.

- **Signature changed** `win32com.client.genpy.Generator.finish_writer`  

Was def finish_writer(self, filename, f, worked); now def finish_writer(self, filename, f, temp_filename, worked). [pypi.org](https://pypi.org/project/pywin32/312/)
- **Signature changed** `win32com.test.testall.make_test_suite`  

Was def make_test_suite(test_level=1); now def make_test_suite(test_level: int) -> tuple\[unittest.TestSuite, list\[tuple\[str, BaseException\]\]\]. [pypi.org](https://pypi.org/project/pywin32/312/)
- **Signature changed** `win32com.test.testPyComTest.TestQueryInterface`  

Was def TestQueryInterface(long_lived_server=0, iterations=5); now def TestQueryInterface(long_lived_server=False, iterations=5). [pypi.org](https://pypi.org/project/pywin32/312/)

## pywin32 309 breaking changes

pywin32 309, released March 9, 2025: 10 breaking changes.

- **Signature changed** `win32.lib.win32pdhquery.QueryError`  

Was class QueryError; now class QueryError(Exception). [pypi.org](https://pypi.org/project/pywin32/309/)
- **Signature changed** `win32.lib.win32timezone.DYNAMIC_TIME_ZONE_INFORMATION`  

Was class DYNAMIC_TIME_ZONE_INFORMATION(\_SimpleStruct); now class DYNAMIC_TIME_ZONE_INFORMATION(TIME_ZONE_INFORMATION). [pypi.org](https://pypi.org/project/pywin32/309/)
- **Signature changed** `win32.lib.win32timezone.RangeMap`  

Was class RangeMap(dict); now class RangeMap(Dict\[\_RangeMapKT, \_VT\]). [pypi.org](https://pypi.org/project/pywin32/309/)
- **Signature changed** `win32.lib.win32timezone.TimeZoneDefinition.current`  

Was @classmethod def current(class\_); now @classmethod def current(cls). [pypi.org](https://pypi.org/project/pywin32/309/)
- **Signature changed** `win32.lib.win32timezone.TimeZoneInfo.__init__`  

Was def \_\_init\_\_(self, param=None, fix_standard_time=False); now def \_\_init\_\_(self, param: str | TimeZoneDefinition, fix_standard_time: bool = False) -> None. [pypi.org](https://pypi.org/project/pywin32/309/)
- **Signature changed** `win32.lib.win32timezone.TimeZoneInfo.local`  

Was @classmethod def local(class\_); now @classmethod def local(cls) -> Self. [pypi.org](https://pypi.org/project/pywin32/309/)
- **Signature changed** `win32.lib.win32timezone.TimeZoneInfo.utc`  

Was @classmethod def utc(class\_); now @classmethod def utc(cls) -> Self. [pypi.org](https://pypi.org/project/pywin32/309/)
- **Signature changed** `win32.lib.winerror.FAILED`  

Was def FAILED(Status); now def FAILED(hr). [pypi.org](https://pypi.org/project/pywin32/309/)
- **Signature changed** `win32.lib.winerror.HRESULT_FROM_WIN32`  

Was def HRESULT_FROM_WIN32(scode); now def HRESULT_FROM_WIN32(x). [pypi.org](https://pypi.org/project/pywin32/309/)
- **Signature changed** `win32.lib.winerror.SUCCEEDED`  

Was def SUCCEEDED(Status); now def SUCCEEDED(hr). [pypi.org](https://pypi.org/project/pywin32/309/)

## pywin32 308 breaking changes

pywin32 308, released October 12, 2024: 2 breaking changes.

- **Signature changed** `pythonwin.pywin.framework.interact.PythonwinInteractiveInterpreter.showsyntaxerror`  

Was def showsyntaxerror(self, filename=None); now def showsyntaxerror(self, filename=None, \*\*kwargs). [pypi.org](https://pypi.org/project/pywin32/308/)
- **Signature changed** `win32.scripts.VersionStamp.bulkstamp.walk`  

Was def walk(arg, dirname, names); now def walk(vars: Mapping\[str, str\], debug, descriptions, dirname, names) -> int. [pypi.org](https://pypi.org/project/pywin32/308/)

## pywin32 307 breaking changes

pywin32 307, released October 4, 2024: 29 breaking changes.

- **Signature changed** `adodbapi.apibase.Error`  

Was class Error(\_BaseException); now class Error(Exception). [pypi.org](https://pypi.org/project/pywin32/307/)
- **Signature changed** `adodbapi.apibase.MultiMap`  

Was class MultiMap(dict); now class MultiMap(Dict\[int, Callable\[\[object\], object\]\]). [pypi.org](https://pypi.org/project/pywin32/307/)
- **Signature changed** `adodbapi.apibase.Warning`  

Was class Warning(\_BaseException); now class Warning(Exception). [pypi.org](https://pypi.org/project/pywin32/307/)
- **Signature changed** `adodbapi.Error`  

Was class Error(\_BaseException); now class Error(Exception). [pypi.org](https://pypi.org/project/pywin32/307/)
- **Signature changed** `adodbapi.Warning`  

Was class Warning(\_BaseException); now class Warning(Exception). [pypi.org](https://pypi.org/project/pywin32/307/)
- **Signature changed** `pythonwin.pywin.framework.editor.editor.ParentEditorDocument`  

Was ParentEditorDocument; now class EditorDocumentBase(ParentEditorDocument). [pypi.org](https://pypi.org/project/pywin32/307/)
- **Signature changed** `pythonwin.pywin.mfc.dialog.Dialog.has_key`  

Was def has_key(self, key); now has_key. [pypi.org](https://pypi.org/project/pywin32/307/)
- **Signature changed** `pythonwin.pywin.mfc.dialog.PrintDialog.has_key`  

Was def has_key(self, key); now has_key. [pypi.org](https://pypi.org/project/pywin32/307/)
- **Signature changed** `pythonwin.pywin.scintilla.formatter.Formatter.ColorizeString`  

Was def ColorizeString(self, str, charStart, styleStart); now def ColorizeString(self, str, styleStart). [pypi.org](https://pypi.org/project/pywin32/307/)
- **Signature changed** `win32.lib.win32gui_struct.PackDEV_BROADCAST`  

Was def PackDEV_BROADCAST(devicetype, rest_fmt, rest_data, extra_data=\_make_bytes('')); now def PackDEV_BROADCAST(devicetype, rest_fmt, rest_data, extra_data=b''). [pypi.org](https://pypi.org/project/pywin32/307/)

And 19 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## pywin32 306 breaking changes

pywin32 306, released March 25, 2023: 2 breaking changes.

- **Signature changed** `pythonwin.pywin.framework.scriptutils.DlgRunScript.OnBrowse`  

Was def OnBrowse(self, id, cmd); now def OnBrowse(self, id, code). [pypi.org](https://pypi.org/project/pywin32/306/)
- **Signature changed** `win32.lib.win32evtlogutil.AddSourceToRegistry`  

Was def AddSourceToRegistry(appName, msgDLL=None, eventLogType='Application', eventLogFlags=None); now def AddSourceToRegistry(appName, msgDLL=None, eventLogType='Application', eventLogFlags=None, categoryDLL=None, categoryCount=0). [pypi.org](https://pypi.org/project/pywin32/306/)

## pywin32 305 breaking changes

pywin32 305, released November 6, 2022: 2 breaking changes.

- **Signature changed** `win32.lib.win32serviceutil.LocatePythonServiceExe`  

Was def LocatePythonServiceExe(exeName=None); now def LocatePythonServiceExe(exe=None). [pypi.org](https://pypi.org/project/pywin32/305/)
- **Signature changed** `win32com.client.combrowse.main`  

Was def main(modal=False); now def main(modal=True, mdi=False). [pypi.org](https://pypi.org/project/pywin32/305/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
