Maintained by hand, so what's "notable" is subjective! Contributors are encouraged to add entries for their work.
All changes can be found via git - eg, for all changes after a build:
git log -rb3xx:or
https://github.com/mhammond/pywin32/compare/b3xx...main
As of build 305, installation .exe files have been deprecated; see https://mhammond.github.io/pywin32_installers.html.
- Fixed
axdebugbuild on Python 3.11+ using CPython's new opaque frame APIs, fixed 64-bit overflow in sourceContext and stack addresses, fixed incorrect step-over and step-out behavior, and fixedListEnumeratorGateway.Next()returning lazymapiterator incompatible with C++ COM gateways that require a sequence (#2723, #2724, #2725, @wxinix-2022) - Removed more leftover obsolete
UNICODEconstants since dropping Python 2 support inwin32ui,win32guiandwin32clipboard(#2717, @Avasam) - Implement COM Records as
[out]method parameters (#2708, @geppi, @the-snork) - Implement multidimensional
SAFEARRAY(COM Record)andSAFEARRAY(double)(#2655, @geppi) - Added many missing license and copyright notice files (#2590, @Avasam)
- Fixed missing version stamp on built
.dlland.exefiles (#2647, @Avasam) - Bugfix for COM Record instance creation (#2641, @geppi)
- Fix regression introduced by #2506 (#2640, @geppi)
- Fixed
LoadPerfCounterTextStringsandUnloadPerfCounterTextStrings'sbQuietparam being unused and hardcoded toTrue(#2711, @Avasam) - Removed considerations for unsupported Windows Versions (95/98/ME/2000/2k/Vista, most of XP) (#2711, #2667, #2400, @Avasam)
- Updated a lot of dynamic function loading at runtime to instead use static build linking
- Updated a lot of documentation
- This removes the following constants:
win32con.FILE_ATTRIBUTE_ATOMIC_WRITEwin32con.FILE_ATTRIBUTE_XACTION_WRITE
- Removed considerations for MFC < 9 (VS 2008) (#2669, #2716, @Avasam)
- This removes the unusable
PyCSliderCtrl.VerifyPosmethod
- This removes the unusable
- Dropped support for Python 3.8 (#2413, @Avasam)
- Note that whilst pywin32 hasn't explicitly dropped support for Windows 7 / 8 / Server 2008, Python 3.8 was the last official CPython version to support those versions (Python 3.9 installer requires at least Windows 8.1 / Server 2012).
- Fix use-after-free in CertDeleteCertificateFromStore (#2637)
- Better support for COM identifiers with non-ascii characters (#2632)
- pywin32's own warnings will now refer to the caller, rather than to the internal source of warning itself (#2594, @Avasam)
- Fixed a regression that broke special
__dunder__methods with CoClass. (#1870, #2493, @Avasam, @geppi) - Fixed
TypeError: cannot unpack non-iterable NoneType objectwhen registering an axscript clientScriptItem(#2513, @Avasam) - Fixed a memory leak when SafeArrays are used as out parameters (@the-snork)
- Fixed dispatch handling for properties (@the-snork)
- Resolved a handful of deprecation warnings (#2567, #2576, @Avasam)
- The following classes now produce a valid
evalstring representation when callingrepr: (#2573, @Avasam)pywin.tools.browser.HLIPythonObjectwin32com.server.exception.COMExceptionwin32comext.axscript.client.error.AXScriptExceptionwin32comext.axscript.client.pyscript.NamedScriptAttribute
- Added initial
DECIMAL/VT_DECIMALsupport (#1501, @gesslerpd)
- Fixed a regression where
win32com.client.DispatchWithEventsandwin32com.client.WithEventswould throw aTypeErroron the second call (#2491, @Avasam) - Fixed regression causing
win32com.shell.shellto be missing a number ofIIDs. (#2487, @Avasam) - As part of the above, Windows 7 is now minimum supported.
- Fixed Access Violation crashes in 3.12 by moving
PyWInObject_Free*methods so GIL is acquired (#2467, @Mscht) - Added support for relative path for
pywin32_postinstall's-destinationargument (#2454, @Avasam) - The postinstall script is now available as a console script. You can invoke it in one of two new methods: (#2408, @Avasam)
python -m pywin32_postinstall -install(recommended)pywin32_postinstall -install(shorter but you don't have control over which python environment is used)
- Changed the implementation of 'com_record' to a subclassable Python type (#2437, #2361, @geppi)
- Removed param
hIconfromwin32comext.shell.ShellExecuteEx. It was unusable since Windows Vista (#2423, @Avasam) - Fixed
nbios.NCBStructpacking (#2406, @Avasam) - Restored axdebug builds on Python 3.10 (#2416, @Avasam)
- Fix for Python 3.12 interpreter crashes when accessing a COM Record field (#2415, @geppi)
- Pythonwin: Bumped Scintilla from 1.77 to 4.4.6. The full changelog can be found here: https://www.scintilla.org/ScintillaHistory.html
- Fixed Pythonwin's editor failing due to invalid regex import (#2419, @Avasam)
- Last error wrongly set by some modules (#2302, @CristiFati)
- Dropped support for Python 3.7 (#2207, @Avasam)
- Implement the creation of SAFEARRAY(VT_RECORD) from a sequence of COM Records (#2317, @geppi)
- Implement record pointers as [in, out] method parameters of a Dispatch Interface (#2304, #2310, @geppi)
- Fix memory leak converting to PyObject from some SAFEARRAY elements (#2316)
- Fix bug where makepy support was unnecessarily generated (#2354, #2353, @geppi)
- Fail sooner on invalid
win32timezone.TimeZoneInfocreation (#2338, @Avasam) - Removed temporary
win32com.server.policyreexports hack (#2344, @Avasam) ImportDispatcherWin32traceandDispatcherTracefromwin32com.server.dispatcherinstead. - Fixed
win32timezone.TimeZoneInfoinitialization from a[DYNAMIC_]TIME_ZONE_INFORMATION(#2339, @Avasam) - Added runtime deprecation warning of
win2kras, usewin32rasinstead (#2356, @Avasam) - Improved handling of dict iterations and fallbacks (removes Python 2 support code, small general speed improvement) (#2332, #2330, @Avasam)
- Fixed accidentally trying to raise an undefined name instead of an
Exceptioninpythonwin/pywin/debugger/debugger.py(#2326, @Avasam) - Fixed PythonService DoLogMessage raising fatal GIL lock error (#2426, JacobNolan1)
- Fixed and improved the following demos:
ddeclient,ddeserver,EvtSubscribe_push,openGLDemo,guidemo,ocxserialtest,ocxtest,testMSOffice.TestWord8(#2290, #2281, #2291, #2478 @Avasam)
- Fixes
NameError: name 'os' is not definederror for"getenv"macro inadodbapi.process_connect_string.macro_call(#2283, @Avasam)
- Fix Pythonwin displaying syntax errors in Python 3.13 (#2393)
- Allowed installs from source w/o having pywin32 pre-installed (for instance, from GitHub) (#2349, @Avasam)
- Restored version stamping of installed DLLs (#2349, @Avasam)
- Fixed a circular import between
win32comext.axscript.client.frameworkandwin32comext.axscript.client.error(#2381, @Avasam) - Remove long-deprecated
win32com.server.dispatcher.DispatcherWin32dbg(#2382, @Avasam)
pywin32 is now released from artifacts created by Github actions, whereas previously they were created from an environment where certain tools and libraries were located and installed by hand.
This means some capabilities are no longer provided - this includes some documentation artifacts, such as the .chm file, certain MAPI libraries etc, and .exe installers.
- Remove obsolete and unused
pywin.is_platform_unicode(#2343, @Avasam) - Fix
isapi.ThreadPoolExtension's printing of exception traceback broken on Python 3.8+ (#2312, @Avasam) - Add RealGetWindowClass (#2299, @CristiFati)
- Make it compile on Python 3.13 (#2260, @clin1234)
- Fixed accidentally trying to raise a
strinstead of anExceptionin (#2270, @Avasam)pythonwin/pywin/debugger/debugger.pypythonwin/pywin/framework/dlgappcore.pycom/win32com/server/policy.pywin32/Lib/regutil.pywin32/scripts/VersionStamp/vssutil.py
- Removed the following unused symbols. They were meant to be used as Exceptions, but were accidentally strings (#2270, #2269, @Avasam)
pywin.debugger.debugger.errorpywin.framework.dlgappcore.errorwin32com.server.policy.errorregutil.errorwin32.scripts.VersionStamp.vssutil.errorwin32com.universal.com_errorwin32com.client.build.errorwin32com.client.genpy.error
- Add EnumDesktopWindows (#2219, @CristiFati)
- Marked
exc_typeandexc_tracebackinwin32comext.axscript.client.error.AXScriptException.__init__as deprecated. (#2236, @Avasam)
They are now unused and all information is taken from theexc_valueparameter. - Fixed non-overriden
pywin.scintilla.formatter.Formatter.ColorizeStringraisingTypeErrorinstead ofRuntimeErrordue to too many parameters (#2216, @Avasam) - Fixed broken since Python 3 tokenization in
win32comext.axdebug.codecontainer.pySourceCodeContainer.GetSyntaxColorAttributes(#2216, @Avasam) - Fixed a
TypeErrordue to incorrect kwargs inwin32comext.axscript.client.pydumper.Register(#2216, @Avasam) - Fixed error reporting of file copy failure for for installing debug dlls (#2216, @Avasam)
- Fixed
py.exe -m win32verstampcommand and other quote typos caused by Implied String Concatenation (#2225, @Avasam) - Fixed tons of quote-related typos in strings, docs and comments (#2271 , @Avasam)
- Fixed VT_SAFEARRAY(VT_RECORD) which were missing the last element (#2247)
- Fixed
MFC redist DLLs not foundby preferring corresponding version but accepting different version (#2248, @andreabravetti) - Fixed
pywintypes.error: (5, 'RegOpenKeyEx', 'Access is denied.')when running service with debug parameter and no elevation (#2238, @jmartens) - Fixed handling of
SyntaxErrorexception from a Windows Scripting Host Python Script on Python 3.10+ (#2235, @nbbeatty) - Add
CredGetSessionTypessupport (#2232, @CristiFati) - Fixed
win32clipboardincreasing size of data whenSetClipboardDataused withCF_DIB(#2184, @CristiFati) - Add
StoreLogofftoPyIMsgStoreto prevent possible hang when MAPI uninitializes or during session logoff (#2196, @avivbrg) - Enhance CredDelete to work with dictionaries (#2198, @CristiFati)
- Add UnregisterHotKey support (#2185, @CristiFati)
- IFolderView COM client support (#2180, #2181, #2182, @CristiFati)
- Release GIL when calling CreateService or StartService (#2062, @adamkbmc)
- Drop support for Internet Explorer 10 (#2229, @Avasam)
- Removed considerations for never-built Windows CE (#2218, @Avasam)
- Stopped building
winxpgui(#2217, @Avasam)- Raise
DeprecationWarningwhen importingwinxpgui - Added
GetWindowRgnBoxtowin32gui winxpgui.GetConsoleWindownow aliaseswin32console.GetConsoleWindow- Everything else is re-exported from
win32gui
- Raise
- Fixed and improved the following demos:
ietoolbar,fontdemo,msoffice,shell_view,context_menu,win32clipboardDemo(#2217, #2101, @Avasam) - Fixed undefined names reported by Flake8/Ruff (#2101, @Avasam, @kxrob)
- Fixed the following public API:
- Fixed
NameErrorinWordFrame.Create, even though it wasn't used - Fixed a handful of
NameErrorinpywin.dialogs.ideoptions.OptionsPropPagewith format - Fixed
AttributeErrorinpywin.framework.dlgappcore.AppDialog.OnPaint - Fixed trying to write banner to
sdterrinpywin.framework.interact.InteractiveCore.Init - Fixed a
NameErrorinpywin.framework.mdi_pychecker.TheDocument.doSearch - Removes unusable
HandleToUlong,UlongToHandle,UlongToPtrandUintToPtrfrompywin.scintilla.scintillacon - Fixed a
NameErrorinwin32comext.axscript.client.pydumper.Register
- Fixed
- The following methods no longer throw errors (although their implementation is still unvalidated):
mmsystem.MEVT_EVENTTYPEmmsystem.MEVT_EVENTPARMmmsystem.MCI_MSF_MINUTEmmsystem.MCI_MSF_SECONDmmsystem.MCI_TMSF_TRACKmmsystem.MCI_TMSF_MINUTEmmsystem.MCI_TMSF_SECONDmmsystem.MCI_TMSF_FRAMEmmsystem.MCI_HMS_HOURmmsystem.MCI_HMS_MINUTEmmsystem.MCI_HMS_SECONDmmsystem.DIBINDEXwinnt.IMAGE_SNAP_BY_ORDINALwinnt.IMAGE_ORDINAL
- Fixed the following public API:
- Removed
UnicodeandUnicodeTypefrompywintypesandwin32api(#2200, @Avasam) - Deprecate
afxresin favor ofpywin.mfc.afxres. The modules were identical (#2177, @Avasam) - Improved
DispatcherWin32dbg's deprecation warning and raise an error when used (#2145, @Avasam) - Removed obsolete/legacy way of registering a Pythonwin app and its Idle handlers from
pywin.framework.app(#2144, @Avasam) - Removed unused
win32comext.axscript.server.error(#2202, @Avasam) - Removed deprecated
win32com.server.exception.Exception(#2142, @Avasam) - Removed long-deprecated
UnicodeToStringparam from multiple methods (#2143, @Avasam) - Fixed
win32api.SetClassWordbeing overwritten bywin32api.SetWindowWord(#2199, @Avasam)- If you were using
win32api.SetClassWordfor its current behaviour, usewin32api.SetWindowWordinstead. - This also adds missing support for
win32api.SetWindowWord
- If you were using
- Annotated module-level variables with ambiguous typing (#2175, @Avasam)
win32com.client.build.NoTranslateMapis now aset(#2176, @Avasam)- Fixed
ModuleNotFoundError: No module named 'dialog'inpywin.tools.regpy(#2187, @Avasam) - Fixed passing a
floattorangeinwin32pdhquery.Query.collectdatafor(#2170, @Avasam) - Check that the filename w/o extension ends with
_drather than checking for_danywhere in the file path (#2169, @Avasam) - Cleaned up and fixed Axdebug (#2126, @Avasam)
win32comext.axdebug.codecontainer.SourceCodeContainernow uses thedebugDocumentparameterwin32comext.axdebug.codecontainerscript can now be run independent of location- Fixed Method Resolution Order issue in
win32comext.axdebug.documents(also #2071, @wxinix-2022) - Fixed undefined names (
NameError) inwin32comext.axdebug.expressions.DebugProperty.GetPropertyInfo - Removed unused
win32comext.axdebug.util.all_wrapped - Fixed multiple
ModuleNotFoundErrorinwin32comext.axdebug(#1983, @Avasam)
- Change
mbcsencoding toutf-8incom.win32com.client(#2097, @Avasam) - Avoid using
importlibdirectly (#2123, @Avasam) - Replace most usages of deprecated
distutils: - Replaced usages of the removed (in Python 3.12)
impmodule (#2113, @Avasam)- Fixed registering Python as a scripting language for
axscript - Fixed
isapiinstall
- Fixed registering Python as a scripting language for
- Use collection literals and comprehensions where applicable (slight performance improvement) (#2108, @Avasam)
- Cleanup obsolete code for unsupported Python versions (#1990, #2127, #2205, #2214, @Avasam)
- The following public names have been removed:
pywin.framework.app.Win32RawInputwin32com.client.makepy.error- Long obsoleted
dbimodule, use theodbcmodule instead win32com.client.dynamic.MakeMethod
- Added support for the following Python 3 methods:
pywin.mfc.dialog.Dialog.__contains__win32com.client.CoClassBaseClass.__bool__win32com.client.combrowse.HLIRoot.__lt__win32com.client.genpy.WritableItem.__lt____bool__in classes generated bywin32com.client.genpy.WritableItem.WriteClassBodywin32timezone._SimpleStruct.__le__(subclassed bySYSTEMTIME,TIME_ZONE_INFORMATION,DYNAMIC_TIME_ZONE_INFORMATION,TimeZoneDefinition)
- The following methods no longer throw errors (although their implementation is still unvalidated):
winnt.PRIMARYLANGIDwinnt.SUBLANGIDwinnt.LANGIDFROMLCIDwinnt.SORTIDFROMLCID
- The following public names have been removed:
- Removed obsolete compatibility aliases (#2087, @Avasam)
The following public names have been removed:
win32comext.mapi.mapiutil.TupleTypewin32comext.mapi.mapiutil.ListTypewin32comext.mapi.mapiutil.IntTypenetbios.byte_to_int
- Resolved invalid string escapes warnings (#2045, #2124, @Avasam)
- Idiomatic type comparisons. Better handling of subclasses. (#1991, @Avasam)
- Cleaned up obsolete and redundant code (this should not directly affect the end-user):
- Update and standardise obsolete
OSErroraliases (#2107, @Avasam) - Removed redundant and obsolete references to older python unicode compatibility (#2085, @Avasam)
- Use byte-string (
b"") for constant bytes values instead of superfluous.encodecalls (#2046, @Avasam) - Cleaned up unused imports (#1986, #2051, #1990, #2124, #2126, @Avasam)
- Removed duplicated declarations, constants and definitions (#2050, #1950, #1990, @Avasam)
- Update and standardise obsolete
- Small generalized optimization by using augmented assignments (in-place operators) where possible (#2274, @Avasam)
- General speed and size improvements due to all the removed code. (#2046, #1986, #2050, #1950, #2085, #2087, #2051, #1990, #2106, #2127, #2124, #2126, #2177, #2218, #2202, #2205, #2217)
- Remove references to outdated IronPython (#2049, @Avasam)
This removes the following public names:adodbapi.adodbapi.onWin32adodbapi.apibase.onIronPythonadodbapi.apibase.NullTypesadodbapi.apibase.DateTime
- Remove references to outdated
mxDateTime(#2048, @Avasam)
This removes the following public names:adodbapi.apibase.mxDateTimeadodbapi.apibase.mxDateTimeConverter
- Removed obsolete Python 2 aliases (#2088, @Avasam)
This removes the following public names:adodbapi.adodbapi.unicodeTypeadodbapi.adodbapi.longTypeadodbapi.adodbapi.StringTypesadodbapi.adodbapi.maxintadodbapi.apibase.unicodeTypeadodbapi.apibase.longTypeadodbapi.apibase.StringTypesadodbapi.apibase.makeByteBufferadodbapi.apibase.memoryViewType
- Remove outdated and unused remote feature (#2098, @Avasam)
- Migrated from
distutilstosetuptools(#2133, @Avasam)
- Add GetSystemPowerStatus (#2010, @CristiFati)
- Add CascadeWindows (#1999, @CristiFati)
- Add win32gui.ResetDC
- Fix leak in win32pdh.GetFormattedCounterArray
- Fix IIS on later python versions (#2025)
- Fix for service registration code updated in build 305 (#1985)
- Support for Python 3.6 was dropped, support for later versions was improved.
- Installation .exe files were deprecated.
- @kxrob put a lot of work towards removing use of the deprecated Unicode API so we can build on Python 3.12. This should be largely invisible, but please report any unintended consequences.
- odbc: Handle
varchar(max)/nvarchar(max)column sizes (#1954) - win32api.GetTickCount() now returns an unsigned 64bit integer (@kxrob, #1946)
- win32pipe.GetNamedPipeHandleState() now takes a 3rd optional param indicating whether the username should be returned, and related constants added. (@kxrob, #1946)
- Add win32gui.GetTopWindow() and win32gui.GetAncestor() (#1928, @CristiFati)
- Tweaks to how pywintypes searches for DLLs to better support virtualenvs created with --system-site-packages. (@saaketp, #1933)
- Added win32event.CreateWaitableTimerExW (#1945, @zariiii9003)
- Changes in PARAM handling. Some functions which returned a WPARAM or LPARAM
allowed you to return a pointer to a Python buffer object or a PyUnicode.
These functions now only accept a Python long to be returned. Note that
this DOES NOT apply to functions with accept WPARAM or LPARAM as arguments,
only when they are being returned. Impacted functions are
OnNotifyhandler, LV_ITEM/TV_ITEM objects, PyIContextMenu3::HandleMenuMsg2, and the result of a WNDPROC/DLGPROC (#1927). - service registration had an overhaul, avoiding a complicated, and ultimately
unnecessary "single globally registered service runner" concept.
Now, when registering a service, the host pythonservice.exe runner will be
copied to
sys.exec_prefix, along with possiblypywintypesXX.dlland run from there. (#1908) - Dropped support for allowing a bytes object to be passed where a COM BSTR is expected - this support was accidental on the path from Python 2 -> 3.
- win32crypt's PyCERTSTORE.CertCloseStore()'s
Flagsargument has been deprecated as it is likely to crash the process ifCERT_CLOSE_STORE_FORCE_FLAGis specified. The underlying function is now always called withCERT_CLOSE_STORE_CHECK_FLAG, and support for this param will be dropped at some point in the future. - Fix a bug where win32crypt.CryptQueryObject() would return a PyCTL_CONTEXT object instead of a PyCERT_CONTEXT for base64 encoded certificates (#1859)
- win32crypt.CryptQueryObject() is now able to return PyCTL_CONTEXT objects. This is technically a breaking change as previously it would return the address in memory of the object, but this address wasn't practically usable, so it's very unlikely anyone relied on this behavior. (#1859)
- Fixed Unicode issues in the
ddemodule (#1861, @markuskimius ) - Add
PRINTER_INFO_6support for Set/GetPrinter (#1853, @CristiFati) - Fixed codepage/mojibake issues when non-ascii characters were included in COM exceptions raised by Python apps. This should be invisible, but might break any workarounds which were used, such as using specific encodings in these strings. (#1823, #1833)
- Fixed a bug triggering
win32print.SetJobto fail due to data type (char*/wchar_t*) mismatch (#1849, @CristiFati) - Fix eventlog initialization (#1845, #1846, @kxrob)
- Tweaks to how DLLs are loaded and our installation found, which should improve virtualenv support and version mismatch issues (#1787, #1794)
- Fixed a bug where
win32clipboard.GetClipboardData()may have returned extra data. - Binary installers for 32-bit 3.10+ are no longer released (#1805)
- Fixed support for unicode as a
win32crypt.CREDENTIAL_ATTRIBUTE.Value - Support for Python 3.10, dropped support for Python 3.5 (3.5 security support ended 13 Sep 2020)
- Merged win2kras into win32ras. In the unlikely case that anyone is still using win2kras, there is a win2kras.py that imports all of win32ras. If you import win2kras and it fails with 'you must import win32ras first', then it means an old win2kras.pyd exists, which you should remove.
- GitHub branch 'master' was renamed to 'main'.
- Fix some confusion on how dynamic COM object properties work. The old code was confused, so there's a chance there will be some subtle regression here - please open a bug if you find anything, but this should fix #1427.
- COM objects are now registered with the full path to pythoncomXX.dll, fixes #1704.
- Creating a
win32crypt.CRYPT_ATTRIBUTEobject now correctly setscbData. - Add wrap and unwrap operations defined in the GSSAPI to the sspi module and enhance the examples given in this module. (#1692, Emmanuel Coirier)
- Fix a bug in
win32profile.GetEnvironmentStrings()relating to environment variables with an equals sign (@maxim-krikun in #1661) - Fixed a bug where certain COM dates would fail to be converted to a Python
datetime object with
ValueError: microsecond must be in 0..999999. Shoutout to @hujiaxing for reporting and helping reproduce the issue (#1655) - Added win32com.shell.SHGetKnownFolderPath() and related constants.
- CoClass objects should work better with special methods like
__len__etc. (#1699) - Shifted work in win32.lib.pywin32_bootstrap to Python's import system from manual path manipulations (@wkschwartz in #1651)
- Fixed a bug where win32print.DeviceCapabilities would return strings containing the null character followed by junk characters. (#1654, #1660, Lincoln Puzey)
-
Fixed a bug where win32com.client.VARIANT params were returned in the reverse order. This only happened when win32com.client.VARIANT was explicitly used (ie, not when normal params were passed) For example:
arg1 = VARIANT(pythoncom.VT_R4 | pythoncom.VT_BYREF, 2.0) arg2 = VARIANT(pythoncom.VT_BOOL | pythoncom.VT_BYREF, True) object.SomeFunction(arg1, arg2)
after this call,
arg1.valuewas actually the value forarg2, and vice-versa (#1303, #622). -
Fixed a bug that Pythonwin had an empty
sys.argv(@kxrob in #1607) -
Fixed a bug that prevented win32process.ReadProcessMemory() from working in all scenarios (#1599)
-
Changed how Services implemented with win32serviceutil.ServiceFramework report that they have stopped. Now if the SvcRun() method (or the SvcDoRun() method, which is called by SvcRun() by default) raises on Exception, the Service will report a final SERVICE_STOPPED status with a non-zero error code. This will cause the Service's recovery actions to be triggered if the Service has the "Enable actions for stops with errors" option enabled. (#1563, Lincoln Puzey)
-
adodbapi connect() method now accepts a "mode" keyword argument which is the "Mode" property to set on the ADO "Connection" object before opening the Connection. See "ConnectModeEnum" for valid values. (Lincoln Puzey)
-
The Windows 10 SDK is now used to build the project. This shouldn't cause any visible changes, but should make it much easier to build the project yourself.
Python 2 is no longer supported - so long, Python 2, you served us well!
Notable changes in this transition:
-
Python 3 builds used to erroneously turn "bytes" into a tuple of integers instead of a buffer type object. Because this special-casing is important for performance when using massive buffers, this has been fixed in Python 3 so it matches the old Python 2 behavior. If you use arrays of VT_UI1 and expect get back tuples of integers, your code may break.
-
Pythonwin's default encoding is now utf-8 (#1559)
-
The build environment has been greatly simplified - you just need Visual Studio and a Windows 10 SDK. (The free compilers probably work too, but haven't been tested - let me know your experiences!)
Build 228 (2020-06-13) was the last to support Python 2.0.
Older entries are periodically removed - see the git history of this file for them.