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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      STM 2019-06-03
    • Linked BF Score:
      18
    • Story Points:
      1

      Description

      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).

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: