Changeset 3402
- Timestamp:
- Jun 11, 2007, 12:50:36 AM (19 years ago)
- Location:
- trunk/essentials/dev-lang/python
- Files:
-
- 9 edited
-
Lib/distutils/ccompiler.py (modified) (2 diffs)
-
Lib/distutils/unixccompiler.py (modified) (1 diff)
-
Lib/os.py (modified) (1 diff)
-
Lib/popen2.py (modified) (1 diff)
-
Lib/tempfile.py (modified) (1 diff)
-
Lib/test/regrtest.py (modified) (1 diff)
-
Lib/test/test_tempfile.py (modified) (2 diffs)
-
Makefile.pre.in (modified) (1 diff)
-
configure.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/dev-lang/python/Lib/distutils/ccompiler.py
r3225 r3402 1026 1026 def debug_print (self, msg): 1027 1027 from distutils.debug import DEBUG 1028 if DEBUG:1029 print msg1028 if DEBUG: 1029 print msg 1030 1030 1031 1031 def warn (self, msg): … … 1059 1059 # compiler 1060 1060 ('cygwin.*', 'unix'), 1061 ('os2emx', 'emx'), 1061 ('os2knix', 'unix'), 1062 #('os2emx', 'emx'), - revert later. 1062 1063 1063 1064 # OS name mappings -
trunk/essentials/dev-lang/python/Lib/distutils/unixccompiler.py
r3225 r3402 120 120 dylib_lib_extension = ".dylib" 121 121 static_lib_format = shared_lib_format = dylib_lib_format = "lib%s%s" 122 if sys.platform == "cygwin" :122 if sys.platform == "cygwin": 123 123 exe_extension = ".exe" 124 124 -
trunk/essentials/dev-lang/python/Lib/os.py
r3225 r3402 75 75 except ImportError: 76 76 pass 77 if sys.version.find('EMX GCC') == -1 :77 if sys.version.find('EMX GCC') == -1: 78 78 import ntpath as path 79 79 else: -
trunk/essentials/dev-lang/python/Lib/popen2.py
r3225 r3402 136 136 137 137 138 if sys.platform[:3] == "win" or sys.platform == "os2emx" :138 if sys.platform[:3] == "win" or sys.platform == "os2emx": 139 139 # Some things don't make sense on non-Unix platforms. 140 140 del Popen3, Popen4 -
trunk/essentials/dev-lang/python/Lib/tempfile.py
r3390 r3402 437 437 return _TemporaryFileWrapper(file, name) 438 438 439 if _os.name != 'posix' or _os.sys.platform == 'cygwin' or _os.sys.platform == 'os2emx' :439 if _os.name != 'posix' or _os.sys.platform == 'cygwin' or _os.sys.platform == 'os2emx': 440 440 # On non-POSIX and Cygwin systems, assume that we cannot unlink a file 441 441 # while it is open. -
trunk/essentials/dev-lang/python/Lib/test/regrtest.py
r3225 r3402 1181 1181 test_sunaudiodev 1182 1182 """, 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1183 1208 'freebsd4': 1184 1209 """ -
trunk/essentials/dev-lang/python/Lib/test/test_tempfile.py
r3225 r3402 265 265 mode = stat.S_IMODE(os.stat(file.name).st_mode) 266 266 expected = 0600 267 if sys.platform in ('win32', 'os2emx', ' mac'):267 if sys.platform in ('win32', 'os2emx', 'mac'): 268 268 # There's no distinction among 'user', 'group' and 'world'; 269 269 # replicate the 'user' bits. … … 484 484 mode &= 0777 # Mask off sticky bits inherited from /tmp 485 485 expected = 0700 486 if sys.platform in ('win32', 'os2emx', ' mac'):486 if sys.platform in ('win32', 'os2emx', 'mac'): 487 487 # There's no distinction among 'user', 'group' and 'world'; 488 488 # replicate the 'user' bits. -
trunk/essentials/dev-lang/python/Makefile.pre.in
r3399 r3402 409 409 $(LN) -fsn Versions/Current/Resources $(PYTHONFRAMEWORKDIR)/Resources 410 410 411 if eq ($(MACHDEP),os2emx) # bird hack!411 if 412 412 $(DLLLIBRARY) $(LDLIBRARY): $(LIBRARY_OBJS) 413 413 $(LDSHARED) -o $(DLLLIBRARY) $^ $(LIBS) $(MODLIBS) $(SYSLIBS) -
trunk/essentials/dev-lang/python/configure.in
r3400 r3402 184 184 atheos*) MACHDEP="atheos";; 185 185 irix646) MACHDEP="irix6";; 186 os2*|OS/2*|emx*) MACHDEP="os2 emx";;186 os2*|OS/2*|emx*) MACHDEP="os2x";; 187 187 188 188 '') MACHDEP="unknown";; … … 3419 3419 if test ! -f Modules/Setup 3420 3420 then 3421 if test "$MACHDEP" = "os2emx" ; then3421 if test "$MACHDEP" = "os2emx"; then 3422 3422 cp $srcdir/PC/os2emx/Setup.os2emx Modules/Setup 3423 3423 else
Note:
See TracChangeset
for help on using the changeset viewer.
