Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-03-01 07:47:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/python/python-base.changes 2012-10-26 17:47:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2013-03-01 07:47:18.000000000 +0100 @@ -1,0 +2,17 @@ +Wed Feb 27 17:04:32 UTC 2013 - [email protected] + +- Add aarch64 to the list of lib64 platforms + +------------------------------------------------------------------- +Sat Feb 9 16:24:10 UTC 2013 - [email protected] + +- Add ctypes-libffi-aarch64.patch: import aarch64 support for libffi in + _ctypes module + +------------------------------------------------------------------- +Fri Feb 8 14:49:45 UTC 2013 - [email protected] + +- multiprocessing: thread joining itself (bnc#747794) +- gettext: fix cases where no bundle is found (bnc#794139) + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python/python.changes 2012-08-13 19:54:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2013-03-01 07:47:18.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Feb 25 17:24:52 UTC 2013 - [email protected] + +- fix pythonstart failing on $HOME-less users (bnc#804978) + +------------------------------------------------------------------- New: ---- ctypes-libffi-aarch64.patch python-2.7.3-multiprocessing-join.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-base.spec ++++++ --- /var/tmp/diff_new_pack.dT97fg/_old 2013-03-01 07:47:21.000000000 +0100 +++ /var/tmp/diff_new_pack.dT97fg/_new 2013-03-01 07:47:21.000000000 +0100 @@ -52,6 +52,9 @@ Patch19: python-2.7.3-fix-dbm-64bit-bigendian.patch # PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 [email protected] -- gettext: when looking in default_localedir also check in locale-bundle. Patch20: python-bundle-lang.patch +Patch21: python-2.7.3-multiprocessing-join.patch +# PATCH-FIX-OPENSUSE Import aarch64 support for libffi in _ctypes module +Patch22: ctypes-libffi-aarch64.patch # COMMON-PATCH-END %define python_version %(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -142,6 +145,8 @@ %patch18 %patch19 -p1 %patch20 -p1 +%patch21 -p1 +%patch22 -p1 # COMMON-PREP-END # drop Autoconf version requirement ++++++ python-doc.spec ++++++ --- /var/tmp/diff_new_pack.dT97fg/_old 2013-03-01 07:47:21.000000000 +0100 +++ /var/tmp/diff_new_pack.dT97fg/_new 2013-03-01 07:47:21.000000000 +0100 @@ -49,6 +49,9 @@ Patch19: python-2.7.3-fix-dbm-64bit-bigendian.patch # PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 [email protected] -- gettext: when looking in default_localedir also check in locale-bundle. Patch20: python-bundle-lang.patch +Patch21: python-2.7.3-multiprocessing-join.patch +# PATCH-FIX-OPENSUSE Import aarch64 support for libffi in _ctypes module +Patch22: ctypes-libffi-aarch64.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -98,6 +101,8 @@ %patch18 %patch19 -p1 %patch20 -p1 +%patch21 -p1 +%patch22 -p1 # COMMON-PREP-END %build ++++++ python.spec ++++++ --- /var/tmp/diff_new_pack.dT97fg/_old 2013-03-01 07:47:21.000000000 +0100 +++ /var/tmp/diff_new_pack.dT97fg/_new 2013-03-01 07:47:21.000000000 +0100 @@ -57,6 +57,9 @@ Patch19: python-2.7.3-fix-dbm-64bit-bigendian.patch # PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 [email protected] -- gettext: when looking in default_localedir also check in locale-bundle. Patch20: python-bundle-lang.patch +Patch21: python-2.7.3-multiprocessing-join.patch +# PATCH-FIX-OPENSUSE Import aarch64 support for libffi in _ctypes module +Patch22: ctypes-libffi-aarch64.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -181,6 +184,8 @@ %patch18 %patch19 -p1 %patch20 -p1 +%patch21 -p1 +%patch22 -p1 # COMMON-PREP-END # drop Autoconf version requirement ++++++ ctypes-libffi-aarch64.patch ++++++ ++++ 3220 lines (skipped) ++++++ python-2.7.3-multiprocessing-join.patch ++++++ # HG changeset patch # User Richard Oudkerk <[email protected]> # Date 1340030251 -3600 # Node ID 4c07b9c49b75a10874d98841bb2d826f118835a3 # Parent 8b38a81ba3bfa0535b3e7719c3b0e62343a56698 Issue #15101: Make pool finalizer avoid joining current thread diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py --- a/Lib/multiprocessing/pool.py +++ b/Lib/multiprocessing/pool.py @@ -489,7 +489,8 @@ class Pool(object): # We must wait for the worker handler to exit before terminating # workers because we don't want workers to be restarted behind our back. debug('joining worker handler') - worker_handler.join() + if threading.current_thread() is not worker_handler: + worker_handler.join(1e100) # Terminate workers which haven't already finished. if pool and hasattr(pool[0], 'terminate'): @@ -499,10 +500,12 @@ class Pool(object): p.terminate() debug('joining task handler') - task_handler.join(1e100) + if threading.current_thread() is not task_handler: + task_handler.join(1e100) debug('joining result handler') - result_handler.join(1e100) + if threading.current_thread() is not result_handler: + result_handler.join(1e100) if pool and hasattr(pool[0], 'terminate'): debug('joining pool workers') ++++++ python-2.7.3rc2-multilib.patch ++++++ --- /var/tmp/diff_new_pack.dT97fg/_old 2013-03-01 07:47:21.000000000 +0100 +++ /var/tmp/diff_new_pack.dT97fg/_new 2013-03-01 07:47:21.000000000 +0100 @@ -33,7 +33,7 @@ +esac + +case $ARCH:$python_cv_cc_64bit_output in -+ppc64:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) ++aarch64:yes | ppc64:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) + LIB="lib64" + ;; +*:*) ++++++ python-bundle-lang.patch ++++++ --- /var/tmp/diff_new_pack.dT97fg/_old 2013-03-01 07:47:21.000000000 +0100 +++ /var/tmp/diff_new_pack.dT97fg/_new 2013-03-01 07:47:21.000000000 +0100 @@ -16,7 +16,7 @@ def find(domain, localedir=None, languages=None, all=0): + if localedir in [None, _default_localedir]: + bundle = find(domain, localedir=_default_bundlelocaledir, languages=languages, all=all) -+ if len(bundle): ++ if bundle: + return bundle # Get some reasonable defaults for arguments that were not supplied if localedir is None: ++++++ pythonstart ++++++ --- /var/tmp/diff_new_pack.dT97fg/_old 2013-03-01 07:47:21.000000000 +0100 +++ /var/tmp/diff_new_pack.dT97fg/_new 2013-03-01 07:47:21.000000000 +0100 @@ -13,7 +13,10 @@ # handler for saving history def save_history(historyPath=historyPath): import readline - readline.write_history_file(historyPath) + try: + readline.write_history_file(historyPath) + except: + pass # read history, if it exists if os.path.exists(historyPath): -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
