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
On this page
Latest version 312, released June 4, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
- From 309 to 312: 3 breaking changes in 1 version.
- From 305 to 312: 46 breaking changes in 5 versions.
pywin32 312 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 - 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 - 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
pywin32 309 breaking changes
- Signature changed
win32.lib.win32pdhquery.QueryError
Was class QueryError; now class QueryError(Exception). pypi.org - 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 - Signature changed
win32.lib.win32timezone.RangeMap
Was class RangeMap(dict); now class RangeMap(Dict[_RangeMapKT, _VT]). pypi.org - Signature changed
win32.lib.win32timezone.TimeZoneDefinition.current
Was @classmethod def current(class_); now @classmethod def current(cls). pypi.org - 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 - Signature changed
win32.lib.win32timezone.TimeZoneInfo.local
Was @classmethod def local(class_); now @classmethod def local(cls) -> Self. pypi.org - Signature changed
win32.lib.win32timezone.TimeZoneInfo.utc
Was @classmethod def utc(class_); now @classmethod def utc(cls) -> Self. pypi.org - Signature changed
win32.lib.winerror.FAILED
Was def FAILED(Status); now def FAILED(hr). pypi.org - Signature changed
win32.lib.winerror.HRESULT_FROM_WIN32
Was def HRESULT_FROM_WIN32(scode); now def HRESULT_FROM_WIN32(x). pypi.org - Signature changed
win32.lib.winerror.SUCCEEDED
Was def SUCCEEDED(Status); now def SUCCEEDED(hr). pypi.org
pywin32 308 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 - 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
pywin32 307 breaking changes
- Signature changed
adodbapi.apibase.Error
Was class Error(_BaseException); now class Error(Exception). pypi.org - Signature changed
adodbapi.apibase.MultiMap
Was class MultiMap(dict); now class MultiMap(Dict[int, Callable[[object], object]]). pypi.org - Signature changed
adodbapi.apibase.Warning
Was class Warning(_BaseException); now class Warning(Exception). pypi.org - Signature changed
adodbapi.Error
Was class Error(_BaseException); now class Error(Exception). pypi.org - Signature changed
adodbapi.Warning
Was class Warning(_BaseException); now class Warning(Exception). pypi.org - Signature changed
pythonwin.pywin.framework.editor.editor.ParentEditorDocument
Was ParentEditorDocument; now class EditorDocumentBase(ParentEditorDocument). pypi.org - Signature changed
pythonwin.pywin.mfc.dialog.Dialog.has_key
Was def has_key(self, key); now has_key. pypi.org - Signature changed
pythonwin.pywin.mfc.dialog.PrintDialog.has_key
Was def has_key(self, key); now has_key. pypi.org - Signature changed
pythonwin.pywin.scintilla.formatter.Formatter.ColorizeString
Was def ColorizeString(self, str, charStart, styleStart); now def ColorizeString(self, str, styleStart). pypi.org - 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
And 19 more in this version. Sign up to see every change
pywin32 306 breaking changes
- Signature changed
pythonwin.pywin.framework.scriptutils.DlgRunScript.OnBrowse
Was def OnBrowse(self, id, cmd); now def OnBrowse(self, id, code). pypi.org - 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
pywin32 305 breaking changes
- Signature changed
win32.lib.win32serviceutil.LocatePythonServiceExe
Was def LocatePythonServiceExe(exeName=None); now def LocatePythonServiceExe(exe=None). pypi.org - Signature changed
win32com.client.combrowse.main
Was def main(modal=False); now def main(modal=True, mdi=False). pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.