[Python-checkins] r68474 - in python/branches/py3k: Lib/tkinter/tix.py PC/VC6/_tkinter.dsp PC/VC6/build_tkinter.py PC/VC6/readme.txt PC/VC6/tcl852.patch

hirokazu.yamamoto python-checkins at python.org
Sat Jan 10 12:48:27 CET 2009


Author: hirokazu.yamamoto
Date: Sat Jan 10 12:48:27 2009
New Revision: 68474
Log:
Merged revisions 68468-68470 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk
........
 r68468 | hirokazu.yamamoto | 2009年01月10日 17:09:43 +0900 | 1 line
 
 Bump up Tcl/Tk version on VC6. (tcl8.4.12 -> tcl8.5.2, tk8.4.12 -> tk8.5.2, tix8.4.0 -> tix8.4.3)
........
 r68469 | hirokazu.yamamoto | 2009年01月10日 17:12:09 +0900 | 1 line
 
 Link to debug version of Tcl/Tk when python is built as debug version.
........
 r68470 | hirokazu.yamamoto | 2009年01月10日 18:18:16 +0900 | 1 line
 
 Added helper script to build Tcl/Tk.
........
Added:
 python/branches/py3k/PC/VC6/build_tkinter.py
 - copied unchanged from r68470, /python/trunk/PC/VC6/build_tkinter.py
 python/branches/py3k/PC/VC6/tcl852.patch
 - copied unchanged from r68470, /python/trunk/PC/VC6/tcl852.patch
Modified:
 python/branches/py3k/ (props changed)
 python/branches/py3k/Lib/tkinter/tix.py
 python/branches/py3k/PC/VC6/_tkinter.dsp
 python/branches/py3k/PC/VC6/readme.txt
Modified: python/branches/py3k/Lib/tkinter/tix.py
==============================================================================
--- python/branches/py3k/Lib/tkinter/tix.py	(original)
+++ python/branches/py3k/Lib/tkinter/tix.py	Sat Jan 10 12:48:27 2009
@@ -293,7 +293,7 @@
 else:
 static_options = ['options']
 
- for k,v in cnf.items()[:]:
+ for k,v in list(cnf.items()):
 if k in static_options:
 extra = extra + ('-' + k, v)
 del cnf[k]
@@ -448,7 +448,7 @@
 # we must be careful not to destroy the frame widget since this
 # also destroys the parent NoteBook thus leading to an exception
 # in Tkinter when it finally calls Tcl to destroy the NoteBook
- for c in self.children.values(): c.destroy()
+ for c in list(self.children.values()): c.destroy()
 if self._name in self.master.children:
 del self.master.children[self._name]
 if self._name in self.master.subwidget_list:
Modified: python/branches/py3k/PC/VC6/_tkinter.dsp
==============================================================================
--- python/branches/py3k/PC/VC6/_tkinter.dsp	(original)
+++ python/branches/py3k/PC/VC6/_tkinter.dsp	Sat Jan 10 12:48:27 2009
@@ -54,7 +54,7 @@
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 ..\..\..\tcltk\lib\tk84.lib ..\..\..\tcltk\lib\tcl84.lib odbc32.lib odbccp32.lib user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /base:"0x1e190000" /subsystem:windows /dll /debug /machine:I386 /out:"./_tkinter_d.pyd" /pdbtype:sept /libpath:"C:\Program Files\Tcl\lib"
+# ADD LINK32 ..\..\..\tcltk\lib\tk85g.lib ..\..\..\tcltk\lib\tcl85g.lib odbc32.lib odbccp32.lib user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /base:"0x1e190000" /subsystem:windows /dll /debug /machine:I386 /out:"./_tkinter_d.pyd" /pdbtype:sept
 # SUBTRACT LINK32 /pdb:none
 
 !ELSEIF "$(CFG)" == "_tkinter - Win32 Release"
@@ -82,7 +82,7 @@
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
-# ADD LINK32 ..\..\..\tcltk\lib\tk84.lib ..\..\..\tcltk\lib\tcl84.lib odbc32.lib odbccp32.lib user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /base:"0x1e190000" /subsystem:windows /dll /debug /machine:I386 /out:"./_tkinter.pyd" /libpath:"C:\Program Files\Tcl\lib"
+# ADD LINK32 ..\..\..\tcltk\lib\tk85.lib ..\..\..\tcltk\lib\tcl85.lib odbc32.lib odbccp32.lib user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /base:"0x1e190000" /subsystem:windows /dll /debug /machine:I386 /out:"./_tkinter.pyd"
 # SUBTRACT LINK32 /pdb:none
 
 !ENDIF 
Modified: python/branches/py3k/PC/VC6/readme.txt
==============================================================================
--- python/branches/py3k/PC/VC6/readme.txt	(original)
+++ python/branches/py3k/PC/VC6/readme.txt	Sat Jan 10 12:48:27 2009
@@ -64,18 +64,25 @@
 
 _tkinter
 Python wrapper for the Tk windowing system. Requires building
- Tcl/Tk first. Following are instructions for Tcl/Tk 8.4.12.
+ Tcl/Tk first. Following are instructions for Tcl/Tk 8.5.2.
 
 Get source
 ----------
 In the dist directory, run
- svn export http://svn.python.org/projects/external/tcl8.4.12
- svn export http://svn.python.org/projects/external/tk8.4.12
- svn export http://svn.python.org/projects/external/tix-8.4.0
+ svn export http://svn.python.org/projects/external/tcl-8.5.2.1 tcl8.5.2
+ svn export http://svn.python.org/projects/external/tk-8.5.2.0 tk8.5.2
+ svn export http://svn.python.org/projects/external/tix-8.4.3.1 tix8.4.3
+
+ Debug Build
+ -----------
+ To build debug version, add DEBUG=1 to all nmake call bellow.
 
 Build Tcl first (done here w/ MSVC 6 on Win2K)
 ---------------
- cd dist\tcl8.4.12\win
+ If your environment doesn't have struct _stat64, you need to apply
+ tcl852.patch in this directory to dist\tcl8.5.2\generic\tcl.h.
+
+ cd dist\tcl8.5.2\win
 run vcvars32.bat
 nmake -f makefile.vc
 nmake -f makefile.vc INSTALLDIR=..\..\tcltk install
@@ -85,16 +92,16 @@
 Optional: run tests, via
 nmake -f makefile.vc test
 
- all.tcl: Total 10835 Passed 10096 Skipped 732 Failed 7
- Sourced 129 Test Files.
- Files with failing tests: exec.test expr.test io.test main.test string.test stri
+ all.tcl: Total 24242 Passed 23358 Skipped 877 Failed 7
+ Sourced 137 Test Files.
+ Files with failing tests: exec.test http.test io.test main.test string.test stri
 ngObj.test
 
 Build Tk
 --------
- cd dist\tk8.4.12\win
- nmake -f makefile.vc TCLDIR=..\..\tcl8.4.12
- nmake -f makefile.vc TCLDIR=..\..\tcl8.4.12 INSTALLDIR=..\..\tcltk install
+ cd dist\tk8.5.2\win
+ nmake -f makefile.vc TCLDIR=..\..\tcl8.5.2
+ nmake -f makefile.vc TCLDIR=..\..\tcl8.5.2 INSTALLDIR=..\..\tcltk install
 
 XXX Should we compile with OPTS=threads?
 
@@ -102,11 +109,11 @@
 XXX failed. It popped up tons of little windows, and did lots of
 XXX stuff, and nothing blew up.
 
- Built Tix
- ---------
- cd dist\tix-8.4.0\win
- nmake -f python.mak
- nmake -f python.mak install
+ Build Tix
+ ---------
+ cd dist\tix8.4.3\win
+ nmake -f python.mak TCL_MAJOR=8 TCL_MINOR=5 TCL_PATCH=2 MACHINE=IX86 DEBUG=0
+ nmake -f python.mak TCL_MAJOR=8 TCL_MINOR=5 TCL_PATCH=2 MACHINE=IX86 DEBUG=0 INSTALL_DIR=..\..\tcltk install
 
 bz2
 Python wrapper for the libbz2 compression library. Homepage


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /