Staging
v0.5.1
https://github.com/python/cpython
Revision e6376f8849175789c371f292f896ecdccb88b5b1 authored by Victor Stinner on 20 August 2010, 11:08:18 UTC, committed by Victor Stinner on 20 August 2010, 11:08:18 UTC
There are buildbot failures on "x86 FreeBSD 3.x" and "sparc solaris10 gcc 3.x".
I suppose that _Py_char2wchar() doesn't fail even if the locale encoding is
unable to decode the byte string, because _Py_char2wchar() has a special mode
for platform without mbrtowc() (ISO C99) function.

Let's check my theory by avoid error on the Python print() instruction.
1 parent 89d8f82
Raw File
Tip revision: e6376f8849175789c371f292f896ecdccb88b5b1 authored by Victor Stinner on 20 August 2010, 11:08:18 UTC
test_main_invalid_unicode() of test_sys: print string as ascii
Tip revision: e6376f8
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