Staging
v0.5.1
https://github.com/python/cpython
Revision c310185c081110741fae914c06c7aaf673ad3d0d authored by Victor Stinner on 27 October 2020, 20:34:33 UTC, committed by GitHub on 27 October 2020, 20:34:33 UTC
Use PyLong_FromLong(0) and PyLong_FromLong(1) of the public C API
instead. For Python internals, _PyLong_GetZero() and _PyLong_GetOne()
of pycore_long.h can be used.
1 parent 0564aaf
Raw File
Tip revision: c310185c081110741fae914c06c7aaf673ad3d0d authored by Victor Stinner on 27 October 2020, 20:34:33 UTC
bpo-42161: Remove private _PyLong_Zero and _PyLong_One (GH-23003)
Tip revision: c310185
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