diff --git a/contrib/win32/hg.bat b/contrib/win32/hg.bat index 12c0df3ccd9d1b1dc2599291c32a5c3040fae8d2_Y29udHJpYi93aW4zMi9oZy5iYXQ=..b6f1174cd69c04ac1e4fa6fe36d7821a435caa92_Y29udHJpYi93aW4zMi9oZy5iYXQ= 100644 --- a/contrib/win32/hg.bat +++ b/contrib/win32/hg.bat @@ -4,8 +4,6 @@ setlocal set HG=%~f0 -set PYTHONLEGACYWINDOWSSTDIO=1 - rem Use a full path to Python (relative to this script) if it exists, rem as the standard Python install does not put python.exe on the PATH... rem Otherwise, expect that python.exe can be found on the PATH. diff --git a/mercurial/exewrapper.c b/mercurial/exewrapper.c index 12c0df3ccd9d1b1dc2599291c32a5c3040fae8d2_bWVyY3VyaWFsL2V4ZXdyYXBwZXIuYw==..b6f1174cd69c04ac1e4fa6fe36d7821a435caa92_bWVyY3VyaWFsL2V4ZXdyYXBwZXIuYw== 100644 --- a/mercurial/exewrapper.c +++ b/mercurial/exewrapper.c @@ -47,10 +47,6 @@ void(__cdecl * Py_SetPythonHome)(TCHAR * home); int(__cdecl * Py_Main)(int argc, TCHAR *argv[]); -#if PY_MAJOR_VERSION >= 3 - _wputenv(L"PYTHONLEGACYWINDOWSSTDIO=1"); -#endif - if (GetModuleFileName(NULL, pyscript, _countof(pyscript)) == 0) { err = "GetModuleFileName failed"; goto bail;