[Patches] [ python-Patches-554716 ] __va_copy patches
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 28 Jul 2002 03:24:12 -0700
Patches item #554716, was opened at 2002-05-11 02:08
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=554716&group_id=5470
Category: Core (C code)
Group: Python 2.2.x
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Matt Behrens (mattbehrens)
Assigned to: Nobody/Anonymous (nobody)
Summary: __va_copy patches
Initial Comment:
This issue was discovered when preparing for OpenBSD
3.1, and compiling on our non-i386 arches. Let me
quote a mail from drahn@openbsd.org:
> [Tell the Python guys] the vararg handling is poor,
and that this is possible solution, but not a great
solution. If possible It would be best to not parse
the varargs argument twice.
> Different architectures deal with varargs
differently, __va_copy is a way that some
architectures use do a deep copy. __va_copy is present
in solaris and powerpc (*BSD and Linux) as far as I
know.
Attached is the patches we are using to build our
Python package; without it we cannot build Python 2.2
on arches like powerpc as the built python cores.
Python 2.1 does not need these patches.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-07-28 12:24
Message:
Logged In: YES
user_id=21627
Thanks for the patch, applied as
abstract.c 2.93.6.5
stringobject.c 2.147.6.6
getargs.c 2.90.6.1
modsupport.c 2.58.16.2
abstract.c 2.104
stringobject.c 2.171
getargs.c 2.93
modsupport.c 2.61
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=554716&group_id=5470