Staging
v0.5.1
https://github.com/python/cpython
Revision 56cd3710a1ea3ba872d345ea1bebc86ed08bc8b8 authored by Victor Stinner on 21 January 2020, 15:13:09 UTC, committed by GitHub on 21 January 2020, 15:13:09 UTC
The os.unsetenv() function is now also available on Windows.

It is implemented with SetEnvironmentVariableW(name, NULL).
1 parent 59e2d26
Raw File
Tip revision: 56cd3710a1ea3ba872d345ea1bebc86ed08bc8b8 authored by Victor Stinner on 21 January 2020, 15:13:09 UTC
bpo-39413: Implement os.unsetenv() on Windows (GH-18104)
Tip revision: 56cd371
idle.bat
@echo off
rem start idle
rem Usage:  idle [-d]
rem -d   Run Debug build (python_d.exe).  Else release build.

setlocal
set exe=win32\python
PATH %PATH%;..\externals\tcltk\bin

if "%1"=="-d" (set exe=%exe%_d) & shift

set cmd=%exe% ../Lib/idlelib/idle.py %1 %2 %3 %4 %5 %6 %7 %8 %9

echo on
%cmd%
back to top