[Python-checkins] r58698 - in python/trunk: Lib/posixfile.py Lib/test/regrtest.py Lib/test/test_fcntl.py Lib/test/test_socket.py setup.py
hyeshik.chang
python-checkins at python.org
Sun Oct 28 13:38:10 CET 2007
Author: hyeshik.chang
Date: Sun Oct 28 13:38:09 2007
New Revision: 58698
Modified:
python/trunk/Lib/posixfile.py
python/trunk/Lib/test/regrtest.py
python/trunk/Lib/test/test_fcntl.py
python/trunk/Lib/test/test_socket.py
python/trunk/setup.py
Log:
Enable platform-specific tweaks for FreeBSD 8 (exactly same to FreeBSD 7's yet)
Modified: python/trunk/Lib/posixfile.py
==============================================================================
--- python/trunk/Lib/posixfile.py (original)
+++ python/trunk/Lib/posixfile.py Sun Oct 28 13:38:09 2007
@@ -181,7 +181,7 @@
if sys.platform in ('netbsd1',
'openbsd2',
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
- 'freebsd6', 'freebsd7',
+ 'freebsd6', 'freebsd7', 'freebsd8',
'bsdos2', 'bsdos3', 'bsdos4'):
flock = struct.pack('lxxxxlxxxxlhh', \
l_start, l_len, os.getpid(), l_type, l_whence)
Modified: python/trunk/Lib/test/regrtest.py
==============================================================================
--- python/trunk/Lib/test/regrtest.py (original)
+++ python/trunk/Lib/test/regrtest.py Sun Oct 28 13:38:09 2007
@@ -1104,6 +1104,7 @@
_expectations['freebsd5'] = _expectations['freebsd4']
_expectations['freebsd6'] = _expectations['freebsd4']
_expectations['freebsd7'] = _expectations['freebsd4']
+_expectations['freebsd8'] = _expectations['freebsd4']
class _ExpectedSkips:
def __init__(self):
Modified: python/trunk/Lib/test/test_fcntl.py
==============================================================================
--- python/trunk/Lib/test/test_fcntl.py (original)
+++ python/trunk/Lib/test/test_fcntl.py Sun Oct 28 13:38:09 2007
@@ -23,7 +23,7 @@
if sys.platform in ('netbsd1', 'netbsd2', 'netbsd3',
'Darwin1.2', 'darwin',
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
- 'freebsd6', 'freebsd7',
+ 'freebsd6', 'freebsd7', 'freebsd8',
'bsdos2', 'bsdos3', 'bsdos4',
'openbsd', 'openbsd2', 'openbsd3', 'openbsd4'):
if struct.calcsize('l') == 8:
Modified: python/trunk/Lib/test/test_socket.py
==============================================================================
--- python/trunk/Lib/test/test_socket.py (original)
+++ python/trunk/Lib/test/test_socket.py Sun Oct 28 13:38:09 2007
@@ -330,7 +330,7 @@
# I've ordered this by protocols that have both a tcp and udp
# protocol, at least for modern Linuxes.
if sys.platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
- 'freebsd7', 'darwin'):
+ 'freebsd7', 'freebsd8', 'darwin'):
# avoid the 'echo' service on this platform, as there is an
# assumption breaking non-standard port/protocol entry
services = ('daytime', 'qotd', 'domain')
Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py (original)
+++ python/trunk/setup.py Sun Oct 28 13:38:09 2007
@@ -1159,7 +1159,7 @@
missing.append('linuxaudiodev')
if platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
- 'freebsd7'):
+ 'freebsd7', 'freebsd8'):
exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
else:
missing.append('ossaudiodev')
More information about the Python-checkins
mailing list