Staging
v0.5.1
https://github.com/python/cpython
Revision 64707923bef2f539c12446b880f715a70ed6c21a authored by Gregory P. Smith on 22 October 2015, 20:12:20 UTC, committed by Gregory P. Smith on 22 October 2015, 20:12:20 UTC
with what findCaller() does when running on non-POSIX platforms.

(alternatively: the normcase calls in both places could be eliminated, but that
touches more code and that refactoring hasn't even been done in 3 yet...)
1 parent 7427a79
Raw File
Tip revision: 64707923bef2f539c12446b880f715a70ed6c21a authored by Gregory P. Smith on 22 October 2015, 20:12:20 UTC
Issue21709: Call os.path.normcase when setting _srcfile for compatibility
Tip revision: 6470792
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=python
PATH %PATH%;..\..\tcltk\bin

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

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

echo on
%cmd%
back to top