Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41304

Update EXIT_CODE_MAP in resmoke.py for Python 3 changes on Windows

    • Fully Compatible
    • STM 2019-06-03
    • 18
    • 1

      The changes from python/cpython@f2244ea as part of https://bugs.python.org/issue20172 changed the DWORD return value from the GetExitCodeProcess() Win32 API to be correctly interpreted as an unsigned long. That is to say, the code in Python 2.7 previously did

      PyInt_FromLong(exit_code)
      

      and was replaced with

      return_value = Py_BuildValue("k", _return_value)
      

      (where "k" means unsigned long).

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: