Port critical Windows fix from the 2.7 branch.
I hate checking into a tag, but 2.8's Windows release process has been dying from neglect, and I don't see a saner way to proceed. The 2.8b2 Windows installer on zope.org was effectively built from this tag after this patch was applied, although the 2.8b2 tarball on zope.org does not contain this patch. If you try to build a 2.8b2 Windows installer using the 2.8b2 tarball on zope.org as an input, this Windows bug will return. Mark Hammond's original checkin comment: As at pywin32-204, we must ensure pywintypes is the first win32 module imported in our process, otherwise we can end up with 2 pywintypesxx.dll instances in our process resulting in: TypeError: The object is not a PySECURITY_ATTRIBUTES object
Showing
Please register or sign in to comment