[Checkins] [zopefoundation/nt_svcutils] 2efc98: Import pywintypes first.

GitHub noreply at github.com
Mon Feb 25 21:22:37 UTC 2013


  Branch: refs/heads/zope2-Zope-2_8-branch
  Home:   https://github.com/zopefoundation/nt_svcutils
  Commit: 2efc98e396368644b77d36a30bfcd9e041d65af5
      https://github.com/zopefoundation/nt_svcutils/commit/2efc98e396368644b77d36a30bfcd9e041d65af5
  Author: Tim Peters <tim.one at comcast.net>
  Date:   2005-06-08 (Wed, 08 Jun 2005)

  Changed paths:
    A service.py

  Log Message:
  -----------
  Import pywintypes first.

Mark Hammond's checkin comment for Zope 2.7's WinSignalHandler.py,
rev 1.1.2.2:

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

Mysterious error popup boxes have also been seen, on boxes with a
pre-pywin32-204 installation leaving pywin32 DLLs in the system32
directory.


  Commit: 31f4f2879283b8bf355ccd88383f77bcb501da8d
      https://github.com/zopefoundation/nt_svcutils/commit/31f4f2879283b8bf355ccd88383f77bcb501da8d
  Author: Tim Peters <tim.one at comcast.net>
  Date:   2005-06-20 (Mon, 20 Jun 2005)

  Changed paths:
    M service.py

  Log Message:
  -----------
  Port from 2.7 branch.

Shut down cleanly when Windows is shutting down.


  Commit: c1ee46ba126c8e0e502e4c90bac4b83a2779c7a4
      https://github.com/zopefoundation/nt_svcutils/commit/c1ee46ba126c8e0e502e4c90bac4b83a2779c7a4
  Author: Sidnei da Silva <sidnei.da.silva at gmail.com>
  Date:   2005-12-21 (Wed, 21 Dec 2005)

  Changed paths:
    M service.py

  Log Message:
  -----------
        - Collector #1939: When running as a service, Zope could
  potentially collect too much log output filling the NT Event
  Log. When that happened, a 'print' during exception handling
  would cause an IOError because the service had no 'redirection
  pipe' anymore (because it's shutting down) to write to,
  causing the service to not restart automatically.


Compare: https://github.com/zopefoundation/nt_svcutils/compare/2efc98e39636^...c1ee46ba126c


More information about the checkins mailing list