Skip to content

Commit 0be8ed3

Browse files
author
thomas.heller
committed
Merged revisions 63897-63898 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r63897 | thomas.heller | 2008-06-02 20:41:30 +0200 (Mon, 02 Jun 2008) | 1 line Fix misspelled sys.platform name and misspelled filename. ........ r63898 | thomas.heller | 2008-06-02 22:07:46 +0200 (Mon, 02 Jun 2008) | 1 line Fix the -x flag so that is does work. ........ git-svn-id: http://svn.python.org/projects/python/branches/py3k@63979 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent ee1064c commit 0be8ed3

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/ctypes/test/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def main(*packages):
178178
elif flag == "-u":
179179
use_resources.extend(value.split(","))
180180
elif flag == "-x":
181-
exclude.append(value.split(","))
181+
exclude.extend(value.split(","))
182182

183183
mask = "test_*.py"
184184
if args:

Modules/_ctypes/libffi/fficonfig.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ffi_platforms = {
2525
'SH64': ['src/sh64/sysv.S', 'src/sh64/ffi.c'],
2626
'PA': ['src/pa/linux.S', 'src/pa/ffi.c'],
2727
'PA_LINUX': ['src/pa/linux.S', 'src/pa/ffi.c'],
28-
'PA_HPUX': ['src/pa/hpux32.s', 'src/pa/ffi.c'],
28+
'PA_HPUX': ['src/pa/hpux32.S', 'src/pa/ffi.c'],
2929
}
3030

3131
ffi_srcdir = '@srcdir@'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ def detect_ctypes(self, inc_dirs, lib_dirs):
14161416
# finding some -z option for the Sun compiler.
14171417
extra_link_args.append('-mimpure-text')
14181418

1419-
elif sys.platform.startswith('hpux'):
1419+
elif sys.platform.startswith('hp-ux'):
14201420
extra_link_args.append('-fPIC')
14211421

14221422
ext = Extension('_ctypes',

0 commit comments

Comments
 (0)