Staging
v0.8.1
https://github.com/python/cpython
Revision 4e30a845b4d2496dab25f0016cb597072c7355b1 authored by Christian Heimes on 30 November 2007, 22:12:06 UTC, committed by Christian Heimes on 30 November 2007, 22:12:06 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r59240 | amaury.forgeotdarc | 2007-11-30 21:37:22 +0100 (Fri, 30 Nov 2007) | 2 lines

  Add a NEWS entry for r59231
........
  r59241 | amaury.forgeotdarc | 2007-11-30 21:51:40 +0100 (Fri, 30 Nov 2007) | 5 lines

  Issue #1521: on 64bit platforms, str.decode fails on very long strings.
  The t# and w# formats were not correctly handled.

  Will backport.
........
  r59242 | christian.heimes | 2007-11-30 22:11:28 +0100 (Fri, 30 Nov 2007) | 3 lines

  Fix for feature request #1528 Add os.fchmod
  Georg Brandl has added fchmod() and fchown(). I've contributed lchown but I'm not able to test it on Linux. However it should be available on Mac and some other flavors of Unix.
  I've made a quick test of fchmod() and fchown() on my system. They are working as expected.
........
1 parent 04a4eb3
Raw File
Tip revision: 4e30a845b4d2496dab25f0016cb597072c7355b1 authored by Christian Heimes on 30 November 2007, 22:12:06 UTC
Merged revisions 59239-59244 via svnmerge from
Tip revision: 4e30a84
build.bat
@echo off
setlocal

set target=end

if "%1"=="makeinfo" goto makeinfo
if "%1"=="clean" goto clean
if "%1"=="build" goto build
if "%1"=="setargv" goto setargv
if "%1"=="" goto build

echo Usage: build.bat build
echo        build.bat clean
echo        build.bat setargv
goto end

:clean
del *.pyd *.exe *.dll *.exp *.lib *.pdb *.o
rmdir /S /Q temp
rmdir /S /Q x86-temp-release 
goto %target%

:setargv
cl /c /I"%SDK%\src\crt" /MD /D_CRTBLD "%SDK%\src\crt\setargv.c"
if not exist setargv.obj echo An error occured & goto end
echo copy setargv.obj "%SDK%\Lib"
copy setargv.obj "%SDK%\Lib"
del setargv.obj
goto %target%

:makeinfo
nant -buildfile:python.build all
lib /def: x86-temp-release\make_buildinfo\make_buildinfo.obj
lib /def: x86-temp-release\make_versioninfo\make_versioninfo.obj
goto %target%

:build
if not exist make_buildinfo.lib set target=realbuild & goto makeinfo
if not exist make_versioninfo.lib set target=realbuild & goto makeinfo
if exist "%SDK%\Lib\setargv.obj" goto realbuild
echo !!!!!!!!
echo setargv.obj is missing. Please call build setargv
echo !!!!!!!!

:realbuild
if not exist sqlite3.dll copy ..\..\sqlite-source-3.3.4\sqlite3.dll .
nant -buildfile:python.build all
goto end

:end
back to top