[python3] 3.3.0-0.3.b2

dmalcolm dmalcolm at fedoraproject.org
Tue Aug 14 01:12:14 UTC 2012


commit 62d7207dd06806bc830fcb77d74fc758dd29f9bc
Author: David Malcolm <dmalcolm at redhat.com>
Date:   Mon Aug 13 21:11:12 2012 -0400

    3.3.0-0.3.b2
    
    * Mon Aug 13 2012 David Malcolm <dmalcolm at redhat.com> - 3.3.0-0.3.b2
    - 3.3b1 -> 3.3b2; drop upstreamed patch 152; refresh patches 3, 102, 111,
    134, 153, 160; regenenerate autotools patch; rework systemtap patch to work
    correctly when LANG=C (patch 55); importlib.test was moved to
    test.test_importlib upstream

 00003-remove-mimeaudio-tests.patch               |   10 +-
 00055-systemtap.patch                            |  123 +++--
 00111-no-static-lib.patch                        |   18 +-
 00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch |   18 +-
 00152-fix-test-gdb-regex.patch                   |   11 -
 00153-fix-test_gdb-noise.patch                   |   14 +-
 00160-disable-test_fs_holes-in-rpm-build.patch   |   10 +-
 00161-fix-test_tools-directory.patch             |   12 -
 00162-distutils-sysconfig-fix-CC-options.patch   |   14 -
 05000-autotool-intermediates.patch               |  667 +---------------------
 python-3.3.0b1-lib64.patch                       |   74 ++--
 python3.spec                                     |   37 +-
 sources                                          |    2 +-
 13 files changed, 174 insertions(+), 836 deletions(-)
---
diff --git a/00003-remove-mimeaudio-tests.patch b/00003-remove-mimeaudio-tests.patch
index 08ae10a..3c5ed1d 100644
--- a/00003-remove-mimeaudio-tests.patch
+++ b/00003-remove-mimeaudio-tests.patch
@@ -1,8 +1,8 @@
-diff -up Python-3.3.0b1/Lib/test/test_email/test_email.py.remove-mimeaudio-tests Python-3.3.0b1/Lib/test/test_email/test_email.py
---- Python-3.3.0b1/Lib/test/test_email/test_email.py.remove-mimeaudio-tests	2012-06-26 16:19:47.000000000 -0400
-+++ Python-3.3.0b1/Lib/test/test_email/test_email.py	2012-07-20 12:04:45.316472136 -0400
-@@ -1285,47 +1285,6 @@ Blah blah blah
- 
+diff -up cpython-59223da36dec/Lib/test/test_email/test_email.py.remove-mimeaudio-tests cpython-59223da36dec/Lib/test/test_email/test_email.py
+--- cpython-59223da36dec/Lib/test/test_email/test_email.py.remove-mimeaudio-tests	2012-08-07 16:39:41.698482943 -0400
++++ cpython-59223da36dec/Lib/test/test_email/test_email.py	2012-08-07 16:39:47.861482521 -0400
+@@ -1307,47 +1307,6 @@ Blah blah blah
+                                   if x.startswith('>From ')]), 2)
  
  
 -# Test the basic MIMEAudio class
diff --git a/00055-systemtap.patch b/00055-systemtap.patch
index 33b82d4..9375ff0 100644
--- a/00055-systemtap.patch
+++ b/00055-systemtap.patch
@@ -1,7 +1,7 @@
-diff -up Python-3.3.0b1/configure.ac.systemtap Python-3.3.0b1/configure.ac
---- Python-3.3.0b1/configure.ac.systemtap	2012-06-26 16:19:58.000000000 -0400
-+++ Python-3.3.0b1/configure.ac	2012-07-20 13:05:39.221792032 -0400
-@@ -2616,6 +2616,23 @@ if test "$with_valgrind" != no; then
+diff -up Python-3.3.0b2/configure.ac.systemtap Python-3.3.0b2/configure.ac
+--- Python-3.3.0b2/configure.ac.systemtap	2012-08-11 02:54:25.000000000 -0400
++++ Python-3.3.0b2/configure.ac	2012-08-13 15:24:22.968120645 -0400
+@@ -2678,6 +2678,23 @@ if test "$with_valgrind" != no; then
      OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT"
  fi
  
@@ -25,10 +25,10 @@ diff -up Python-3.3.0b1/configure.ac.systemtap Python-3.3.0b1/configure.ac
  # -I${DLINCLDIR} is added to the compile rule for importdl.o
  AC_SUBST(DLINCLDIR)
  DLINCLDIR=.
-diff -up Python-3.3.0b1/configure.systemtap Python-3.3.0b1/configure
---- Python-3.3.0b1/configure.systemtap	2012-06-26 16:19:58.000000000 -0400
-+++ Python-3.3.0b1/configure	2012-07-20 13:05:39.220792044 -0400
-@@ -638,6 +638,8 @@ TRUE
+diff -up Python-3.3.0b2/configure.systemtap Python-3.3.0b2/configure
+--- Python-3.3.0b2/configure.systemtap	2012-08-11 02:54:25.000000000 -0400
++++ Python-3.3.0b2/configure	2012-08-13 15:24:22.973120583 -0400
+@@ -618,6 +618,8 @@ TRUE
  MACHDEP_OBJS
  DYNLOADFILE
  DLINCLDIR
@@ -37,7 +37,7 @@ diff -up Python-3.3.0b1/configure.systemtap Python-3.3.0b1/configure
  THREADOBJ
  LDLAST
  USE_THREAD_MODULE
-@@ -793,6 +795,7 @@ with_doc_strings
+@@ -779,6 +781,7 @@ with_doc_strings
  with_tsc
  with_pymalloc
  with_valgrind
@@ -45,7 +45,7 @@ diff -up Python-3.3.0b1/configure.systemtap Python-3.3.0b1/configure
  with_fpectl
  with_libm
  with_libc
-@@ -1468,6 +1471,7 @@ Optional Packages:
+@@ -1456,6 +1459,7 @@ Optional Packages:
    --with(out)-tsc         enable/disable timestamp counter profile
    --with(out)-pymalloc    disable/enable specialized mallocs
    --with-valgrind         Enable Valgrind support
@@ -53,7 +53,7 @@ diff -up Python-3.3.0b1/configure.systemtap Python-3.3.0b1/configure
    --with-fpectl           enable SIGFPE catching
    --with-libm=STRING      math library
    --with-libc=STRING      C library
-@@ -9639,6 +9643,31 @@ fi
+@@ -10065,6 +10069,31 @@ fi
      OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT"
  fi
  
@@ -85,18 +85,18 @@ diff -up Python-3.3.0b1/configure.systemtap Python-3.3.0b1/configure
  # -I${DLINCLDIR} is added to the compile rule for importdl.o
  
  DLINCLDIR=.
-diff -up Python-3.3.0b1/Doc/howto/index.rst.systemtap Python-3.3.0b1/Doc/howto/index.rst
---- Python-3.3.0b1/Doc/howto/index.rst.systemtap	2012-06-26 16:19:37.000000000 -0400
-+++ Python-3.3.0b1/Doc/howto/index.rst	2012-07-20 13:05:39.215792107 -0400
+diff -up Python-3.3.0b2/Doc/howto/index.rst.systemtap Python-3.3.0b2/Doc/howto/index.rst
+--- Python-3.3.0b2/Doc/howto/index.rst.systemtap	2012-08-11 02:54:06.000000000 -0400
++++ Python-3.3.0b2/Doc/howto/index.rst	2012-08-13 15:24:22.973120584 -0400
 @@ -29,4 +29,5 @@ Currently, the HOWTOs are:
     webservers.rst
     argparse.rst
     ipaddress.rst
 +   instrumentation.rst
  
-diff -up Python-3.3.0b1/Doc/howto/instrumentation.rst.systemtap Python-3.3.0b1/Doc/howto/instrumentation.rst
---- Python-3.3.0b1/Doc/howto/instrumentation.rst.systemtap	2012-07-20 13:05:39.215792107 -0400
-+++ Python-3.3.0b1/Doc/howto/instrumentation.rst	2012-07-20 13:05:39.215792107 -0400
+diff -up Python-3.3.0b2/Doc/howto/instrumentation.rst.systemtap Python-3.3.0b2/Doc/howto/instrumentation.rst
+--- Python-3.3.0b2/Doc/howto/instrumentation.rst.systemtap	2012-08-13 15:24:22.975120558 -0400
++++ Python-3.3.0b2/Doc/howto/instrumentation.rst	2012-08-13 15:24:22.975120558 -0400
 @@ -0,0 +1,295 @@
 +.. _instrumentation:
 +
@@ -393,10 +393,10 @@ diff -up Python-3.3.0b1/Doc/howto/instrumentation.rst.systemtap Python-3.3.0b1/D
 +        delete fn_calls;
 +    }
 +
-diff -up Python-3.3.0b1/Lib/test/test_systemtap.py.systemtap Python-3.3.0b1/Lib/test/test_systemtap.py
---- Python-3.3.0b1/Lib/test/test_systemtap.py.systemtap	2012-07-20 13:05:39.215792107 -0400
-+++ Python-3.3.0b1/Lib/test/test_systemtap.py	2012-07-20 13:05:39.215792107 -0400
-@@ -0,0 +1,205 @@
+diff -up Python-3.3.0b2/Lib/test/test_systemtap.py.systemtap Python-3.3.0b2/Lib/test/test_systemtap.py
+--- Python-3.3.0b2/Lib/test/test_systemtap.py.systemtap	2012-08-13 15:24:22.976120545 -0400
++++ Python-3.3.0b2/Lib/test/test_systemtap.py	2012-08-13 15:42:44.278352371 -0400
+@@ -0,0 +1,234 @@
 +# Verify that systemtap static probes work
 +#
 +import subprocess
@@ -567,10 +567,10 @@ diff -up Python-3.3.0b1/Lib/test/test_systemtap.py.systemtap Python-3.3.0b1/Lib/
 +            self.assertIn(b'=> <module> in <string>:1', out,
 +                          msg="stdout: %s\nstderr: %s\n" % (out, err))
 +
-+    def test_encoding(self):
-+        # Ensure that scripts and function names containing non-Latin 1 code
++    def test_function_encoding(self):
++        # Ensure that function names containing non-Latin 1 code
 +        # points are handled:
-+        pythonfile = TESTFN + '_☠.py'
++        pythonfile = TESTFN
 +        try:
 +            unlink(pythonfile)
 +            f = open(pythonfile, "wb")
@@ -597,15 +597,44 @@ diff -up Python-3.3.0b1/Lib/test/test_systemtap.py.systemtap Python-3.3.0b1/Lib/
 +        finally:
 +            unlink(pythonfile)
 +
++    @unittest.skipIf(sys.getfilesystemencoding() == 'ascii',
++                     'the test filename is not encodable with ASCII')
++    def test_filename_encoding(self):
++        # Ensure that scripts names containing non-Latin 1 code
++        # points are handled:
++        pythonfile = TESTFN + '_☠.py'
++        try:
++            unlink(pythonfile)
++            f = open(pythonfile, "wb")
++            f.write("""
++def foo():
++    '''Function with non-ASCII identifier; I believe this reads "mojibake"'''
++    print("hello world!")
++
++foo()
++""".encode('utf-8'))
++            f.close()
++
++            out, err = invoke_python_under_systemtap(hierarchy_script,
++                                                     pythonfile=pythonfile)
++            out_utf8 = out.decode('utf-8')
++            with ErrorDumper(out, err):
++                self.assertIn('=> <module> in %s:2' % pythonfile, out_utf8)
++                self.assertIn(' => foo in %s:2' % pythonfile, out_utf8)
++                self.assertIn(' <= foo in %s:4' % pythonfile, out_utf8)
++                self.assertIn('<= <module> in %s:6' % pythonfile, out_utf8)
++        finally:
++            unlink(pythonfile)
++
 +def test_main():
 +    run_unittest(SystemtapTests)
 +
 +if __name__ == "__main__":
 +    test_main()
-diff -up Python-3.3.0b1/Makefile.pre.in.systemtap Python-3.3.0b1/Makefile.pre.in
---- Python-3.3.0b1/Makefile.pre.in.systemtap	2012-06-26 16:19:51.000000000 -0400
-+++ Python-3.3.0b1/Makefile.pre.in	2012-07-20 13:05:39.216792095 -0400
-@@ -358,6 +358,7 @@ PYTHON_OBJS=	\
+diff -up Python-3.3.0b2/Makefile.pre.in.systemtap Python-3.3.0b2/Makefile.pre.in
+--- Python-3.3.0b2/Makefile.pre.in.systemtap	2012-08-11 02:54:18.000000000 -0400
++++ Python-3.3.0b2/Makefile.pre.in	2012-08-13 15:24:22.977120532 -0400
+@@ -363,6 +363,7 @@ PYTHON_OBJS=	\
  		Python/formatter_unicode.o \
  		Python/fileutils.o \
  		Python/$(DYNLOADFILE) \
@@ -613,7 +642,7 @@ diff -up Python-3.3.0b1/Makefile.pre.in.systemtap Python-3.3.0b1/Makefile.pre.in
  		$(LIBOBJS) \
  		$(MACHDEP_OBJS) \
  		$(THREADOBJ)
-@@ -708,7 +709,8 @@ Objects/setobject.o: $(srcdir)/Objects/s
+@@ -713,7 +714,8 @@ Objects/setobject.o: $(srcdir)/Objects/s
  $(OPCODETARGETS_H): $(OPCODETARGETGEN_FILES)
  	$(OPCODETARGETGEN) $(OPCODETARGETS_H)
  
@@ -623,7 +652,7 @@ diff -up Python-3.3.0b1/Makefile.pre.in.systemtap Python-3.3.0b1/Makefile.pre.in
  
  Python/formatter_unicode.o: $(srcdir)/Python/formatter_unicode.c \
  				$(BYTESTR_DEPS)
-@@ -719,6 +721,13 @@ Objects/typeobject.o: $(srcdir)/Objects/
+@@ -724,6 +726,13 @@ Objects/typeobject.o: $(srcdir)/Objects/
  $(srcdir)/Objects/typeslots.inc: $(srcdir)/Include/typeslots.h $(srcdir)/Objects/typeslots.py
  	$(PYTHON) $(srcdir)/Objects/typeslots.py < $(srcdir)/Include/typeslots.h > $(srcdir)/Objects/typeslots.inc
  
@@ -637,7 +666,7 @@ diff -up Python-3.3.0b1/Makefile.pre.in.systemtap Python-3.3.0b1/Makefile.pre.in
  ############################################################################
  # Header files
  
-@@ -1335,6 +1344,7 @@ clean: pycremoval
+@@ -1343,6 +1352,7 @@ clean: pycremoval
  	-rm -f Lib/lib2to3/*Grammar*.pickle
  	-rm -f $(SYSCONFIGDATA)
  	-rm -f Modules/_testembed Modules/_freeze_importlib
@@ -645,10 +674,10 @@ diff -up Python-3.3.0b1/Makefile.pre.in.systemtap Python-3.3.0b1/Makefile.pre.in
  
  profile-removal:
  	find . -name '*.gc??' -exec rm -f {} ';'
-diff -up Python-3.3.0b1/Misc/NEWS.systemtap Python-3.3.0b1/Misc/NEWS
---- Python-3.3.0b1/Misc/NEWS.systemtap	2012-06-26 16:19:51.000000000 -0400
-+++ Python-3.3.0b1/Misc/NEWS	2012-07-20 13:05:39.217792083 -0400
-@@ -55,6 +55,11 @@ Core and Builtins
+diff -up Python-3.3.0b2/Misc/NEWS.systemtap Python-3.3.0b2/Misc/NEWS
+--- Python-3.3.0b2/Misc/NEWS.systemtap	2012-08-11 02:54:18.000000000 -0400
++++ Python-3.3.0b2/Misc/NEWS	2012-08-13 15:24:22.980120496 -0400
+@@ -403,6 +403,11 @@ Core and Builtins
  
  - Issue #15038: Optimize python Locks on Windows.
  
@@ -660,9 +689,9 @@ diff -up Python-3.3.0b1/Misc/NEWS.systemtap Python-3.3.0b1/Misc/NEWS
  Library
  -------
  
-diff -up Python-3.3.0b1/pyconfig.h.in.systemtap Python-3.3.0b1/pyconfig.h.in
---- Python-3.3.0b1/pyconfig.h.in.systemtap	2012-06-26 16:19:58.000000000 -0400
-+++ Python-3.3.0b1/pyconfig.h.in	2012-07-20 13:05:39.222792020 -0400
+diff -up Python-3.3.0b2/pyconfig.h.in.systemtap Python-3.3.0b2/pyconfig.h.in
+--- Python-3.3.0b2/pyconfig.h.in.systemtap	2012-08-11 02:54:25.000000000 -0400
++++ Python-3.3.0b2/pyconfig.h.in	2012-08-13 15:24:22.981120483 -0400
 @@ -1306,6 +1306,9 @@
  /* Define if you want to compile in Python-specific mallocs */
  #undef WITH_PYMALLOC
@@ -673,9 +702,9 @@ diff -up Python-3.3.0b1/pyconfig.h.in.systemtap Python-3.3.0b1/pyconfig.h.in
  /* Define if you want to compile in rudimentary thread support */
  #undef WITH_THREAD
  
-diff -up Python-3.3.0b1/Python/ceval.c.systemtap Python-3.3.0b1/Python/ceval.c
---- Python-3.3.0b1/Python/ceval.c.systemtap	2012-06-26 16:19:56.000000000 -0400
-+++ Python-3.3.0b1/Python/ceval.c	2012-07-20 13:05:39.218792070 -0400
+diff -up Python-3.3.0b2/Python/ceval.c.systemtap Python-3.3.0b2/Python/ceval.c
+--- Python-3.3.0b2/Python/ceval.c.systemtap	2012-08-11 02:54:24.000000000 -0400
++++ Python-3.3.0b2/Python/ceval.c	2012-08-13 15:24:22.982120470 -0400
 @@ -18,6 +18,8 @@
  
  #include <ctype.h>
@@ -708,9 +737,9 @@ diff -up Python-3.3.0b1/Python/ceval.c.systemtap Python-3.3.0b1/Python/ceval.c
      Py_LeaveRecursiveCall();
      tstate->frame = f->f_back;
  
-diff -up Python-3.3.0b1/Python/ceval_systemtap.h.systemtap Python-3.3.0b1/Python/ceval_systemtap.h
---- Python-3.3.0b1/Python/ceval_systemtap.h.systemtap	2012-07-20 13:05:39.218792070 -0400
-+++ Python-3.3.0b1/Python/ceval_systemtap.h	2012-07-20 13:05:39.218792070 -0400
+diff -up Python-3.3.0b2/Python/ceval_systemtap.h.systemtap Python-3.3.0b2/Python/ceval_systemtap.h
+--- Python-3.3.0b2/Python/ceval_systemtap.h.systemtap	2012-08-13 15:24:22.983120457 -0400
++++ Python-3.3.0b2/Python/ceval_systemtap.h	2012-08-13 15:24:22.983120457 -0400
 @@ -0,0 +1,86 @@
 +/*
 +  Support for SystemTap static markers  
@@ -798,9 +827,9 @@ diff -up Python-3.3.0b1/Python/ceval_systemtap.h.systemtap Python-3.3.0b1/Python
 +#define systemtap_function_return(f)
 +
 +#endif
-diff -up Python-3.3.0b1/Python/pysystemtap.d.systemtap Python-3.3.0b1/Python/pysystemtap.d
---- Python-3.3.0b1/Python/pysystemtap.d.systemtap	2012-07-20 13:05:39.218792070 -0400
-+++ Python-3.3.0b1/Python/pysystemtap.d	2012-07-20 13:05:39.218792070 -0400
+diff -up Python-3.3.0b2/Python/pysystemtap.d.systemtap Python-3.3.0b2/Python/pysystemtap.d
+--- Python-3.3.0b2/Python/pysystemtap.d.systemtap	2012-08-13 15:24:22.983120457 -0400
++++ Python-3.3.0b2/Python/pysystemtap.d	2012-08-13 15:24:22.983120457 -0400
 @@ -0,0 +1,4 @@
 +provider python {
 +    probe function__entry(const char *, const char *, int, PyFrameObject *);
diff --git a/00111-no-static-lib.patch b/00111-no-static-lib.patch
index 8ba0fd7..91b24b8 100644
--- a/00111-no-static-lib.patch
+++ b/00111-no-static-lib.patch
@@ -1,7 +1,7 @@
-diff -up Python-3.3.0b1/Makefile.pre.in.no-static-lib Python-3.3.0b1/Makefile.pre.in
---- Python-3.3.0b1/Makefile.pre.in.no-static-lib	2012-07-20 13:20:34.056605058 -0400
-+++ Python-3.3.0b1/Makefile.pre.in	2012-07-20 13:21:41.540761389 -0400
-@@ -458,7 +458,7 @@ coverage:
+diff -up cpython-59223da36dec/Makefile.pre.in.no-static-lib cpython-59223da36dec/Makefile.pre.in
+--- cpython-59223da36dec/Makefile.pre.in.no-static-lib	2012-08-07 16:43:43.296466422 -0400
++++ cpython-59223da36dec/Makefile.pre.in	2012-08-07 16:44:13.299464371 -0400
+@@ -464,7 +464,7 @@ coverage:
  
  
  # Build the interpreter
@@ -10,9 +10,9 @@ diff -up Python-3.3.0b1/Makefile.pre.in.no-static-lib Python-3.3.0b1/Makefile.pr
  	$(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Modules/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
  
  platform: $(BUILDPYTHON) $(SYSCONFIGDATA)
-@@ -475,18 +475,6 @@ sharedmods: $(BUILDPYTHON) $(SYSCONFIGDA
- 	*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py build;; \
- 	esac
+@@ -480,18 +480,6 @@ sharedmods: $(BUILDPYTHON) $(SYSCONFIGDA
+ 	$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
+ 		$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
  
 -# Build static library
 -# avoid long command lines, same as LIBRARY_OBJS
@@ -29,7 +29,7 @@ diff -up Python-3.3.0b1/Makefile.pre.in.no-static-lib Python-3.3.0b1/Makefile.pr
  libpython$(LDVERSION).so: $(LIBRARY_OBJS)
  	if test $(INSTSONAME) != $(LDLIBRARY); then \
  		$(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
-@@ -576,7 +564,7 @@ Modules/Setup: $(srcdir)/Modules/Setup.d
+@@ -581,7 +569,7 @@ Modules/Setup: $(srcdir)/Modules/Setup.d
  		echo "-----------------------------------------------"; \
  	fi
  
@@ -38,7 +38,7 @@ diff -up Python-3.3.0b1/Makefile.pre.in.no-static-lib Python-3.3.0b1/Makefile.pr
  	$(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Modules/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
  
  ############################################################################
-@@ -1150,18 +1138,6 @@ libainstall:	all python-config
+@@ -1155,18 +1143,6 @@ libainstall:	all python-config
  		else	true; \
  		fi; \
  	done
diff --git a/00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch b/00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch
index 379385f..087705c 100644
--- a/00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch
+++ b/00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch
@@ -1,21 +1,21 @@
-diff -up Python-3.3.0b1/Lib/test/test_sys.py.fix-COUNT_ALLOCS-failure-in-test_sys Python-3.3.0b1/Lib/test/test_sys.py
---- Python-3.3.0b1/Lib/test/test_sys.py.fix-COUNT_ALLOCS-failure-in-test_sys	2012-07-23 11:18:52.524602807 -0400
-+++ Python-3.3.0b1/Lib/test/test_sys.py	2012-07-23 11:25:54.641325620 -0400
-@@ -863,12 +863,17 @@ class SizeofTest(unittest.TestCase):
+diff -up Python-3.3.0b2/Lib/test/test_sys.py.fix-COUNT_ALLOCS-failure-in-test_sys Python-3.3.0b2/Lib/test/test_sys.py
+--- Python-3.3.0b2/Lib/test/test_sys.py.fix-COUNT_ALLOCS-failure-in-test_sys	2012-08-11 02:54:16.000000000 -0400
++++ Python-3.3.0b2/Lib/test/test_sys.py	2012-08-13 14:50:15.253720597 -0400
+@@ -835,12 +835,17 @@ class SizeofTest(unittest.TestCase):
          # type
          # static type: PyTypeObject
-         s = size(vh + 'P2P15Pl4PP9PP11PI')
+         s = vsize('P2n15Pl4Pn9Pn11PI')
 +        # COUNT_ALLOCS adds a further 3 Py_ssize_t and 2 pointers:
 +        if hasattr(sys, 'getcounts'):
-+            s += size('3P2P')
++            s += struct.calcsize('3P2P')
          check(int, s)
          # (PyTypeObject + PyNumberMethods + PyMappingMethods +
          #  PySequenceMethods + PyBufferProcs + 4P)
-         s = size(vh + 'P2P15Pl4PP9PP11PI') + size('34P 3P 10P 2P 4P')
+         s = vsize('P2n15Pl4Pn9Pn11PI') + struct.calcsize('34P 3P 10P 2P 4P')
          # Separate block for PyDictKeysObject with 4 entries
-         s += size("PPPP") + 4*size("PPP")
+         s += struct.calcsize("2nPn") + 4*struct.calcsize("n2P")
 +        if hasattr(sys, 'getcounts'):
-+            s += size('3P2P')
++            s += struct.calcsize('3P2P')
          # class
          class newstyleclass(object): pass
          check(newstyleclass, s)
diff --git a/00153-fix-test_gdb-noise.patch b/00153-fix-test_gdb-noise.patch
index bc5ee63..cc9ed8c 100644
--- a/00153-fix-test_gdb-noise.patch
+++ b/00153-fix-test_gdb-noise.patch
@@ -1,6 +1,7 @@
---- Lib/test/test_gdb.py.old	2012-04-11 21:04:01.367073855 -0400
-+++ Lib/test/test_gdb.py	2012-04-12 08:52:58.320288761 -0400
-@@ -96,6 +96,15 @@ class DebuggerTests(unittest.TestCase):
+diff -up cpython-59223da36dec/Lib/test/test_gdb.py.fix-test_gdb-noise cpython-59223da36dec/Lib/test/test_gdb.py
+--- cpython-59223da36dec/Lib/test/test_gdb.py.fix-test_gdb-noise	2012-08-07 06:10:57.000000000 -0400
++++ cpython-59223da36dec/Lib/test/test_gdb.py	2012-08-07 17:13:46.592343113 -0400
+@@ -115,6 +115,15 @@ class DebuggerTests(unittest.TestCase):
          # Generate a list of commands in gdb's language:
          commands = ['set breakpoint pending yes',
                      'break %s' % breakpoint,
@@ -16,10 +17,11 @@
                      'run']
          if cmds_after_breakpoint:
              commands += cmds_after_breakpoint
-@@ -135,8 +144,16 @@ class DebuggerTests(unittest.TestCase):
+@@ -154,8 +163,16 @@ class DebuggerTests(unittest.TestCase):
          err = err.replace("warning: Cannot initialize thread debugging"
                            " library: Debugger service failed\n",
                            '')
+-
 +        err = '\n'.join([line
 +                         for line in err.splitlines()
 +                         if not line.startswith('warning: Unable to open')
@@ -27,9 +29,9 @@
 +                         if not line.startswith('Try: yum --disablerepo=')
 +                         # In case 'set print entry-values no' failed:
 +                         if not line.startswith('Undefined set print command')])
- 
++ 
          # Ensure no unexpected error messages:
 +        self.maxDiff = None
          self.assertEqual(err, '')
- 
          return out
+ 
diff --git a/00160-disable-test_fs_holes-in-rpm-build.patch b/00160-disable-test_fs_holes-in-rpm-build.patch
index c0b0777..9fa91d5 100644
--- a/00160-disable-test_fs_holes-in-rpm-build.patch
+++ b/00160-disable-test_fs_holes-in-rpm-build.patch
@@ -1,11 +1,11 @@
-diff -up Python-3.3.0b1/Lib/test/test_posix.py.disable-test_fs_holes-in-rpm-build.patch Python-3.3.0b1/Lib/test/test_posix.py
---- Python-3.3.0b1/Lib/test/test_posix.py.disable-test_fs_holes-in-rpm-build.patch	2012-07-23 13:53:11.636847977 -0400
-+++ Python-3.3.0b1/Lib/test/test_posix.py	2012-07-23 13:54:02.810208218 -0400
-@@ -1022,6 +1022,7 @@ class PosixTester(unittest.TestCase):
+diff -up cpython-59223da36dec/Lib/test/test_posix.py.disable-test_fs_holes-in-rpm-build cpython-59223da36dec/Lib/test/test_posix.py
+--- cpython-59223da36dec/Lib/test/test_posix.py.disable-test_fs_holes-in-rpm-build	2012-08-07 17:15:59.000000000 -0400
++++ cpython-59223da36dec/Lib/test/test_posix.py	2012-08-07 17:16:53.528330330 -0400
+@@ -973,6 +973,7 @@ class PosixTester(unittest.TestCase):
          posix.RTLD_GLOBAL
          posix.RTLD_LOCAL
  
 +    @unittest._skipInRpmBuild('running kernel may not match kernel in chroot')
      @unittest.skipUnless(hasattr(os, 'SEEK_HOLE'),
                           "test needs an OS that reports file holes")
-     @unittest.skipIf(sys.platform in ('freebsd7', 'freebsd8', 'freebsd9'),
+     def test_fs_holes(self):
diff --git a/05000-autotool-intermediates.patch b/05000-autotool-intermediates.patch
index 6cddbf7..bd9aeca 100644
--- a/05000-autotool-intermediates.patch
+++ b/05000-autotool-intermediates.patch
@@ -1,184 +1,7 @@
 diff -up ./configure.autotool-intermediates ./configure
---- ./configure.autotool-intermediates	2012-07-20 14:09:54.811590526 -0400
-+++ ./configure	2012-07-20 14:10:00.525519093 -0400
-@@ -1,11 +1,13 @@
- #! /bin/sh
- # Guess values for system-dependent variables and create Makefiles.
--# Generated by GNU Autoconf 2.69 for python 3.3.
-+# Generated by GNU Autoconf 2.68 for python 3.3.
- #
- # Report bugs to <http://bugs.python.org/>.
- #
- #
--# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
-+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-+# Foundation, Inc.
- #
- #
- # This configure script is free software; the Free Software Foundation
-@@ -134,31 +136,6 @@ export LANGUAGE
- # CDPATH.
- (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
- 
--# Use a proper internal environment variable to ensure we don't fall
--  # into an infinite loop, continuously re-executing ourselves.
--  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
--    _as_can_reexec=no; export _as_can_reexec;
--    # We cannot yet assume a decent shell, so we have to provide a
--# neutralization value for shells without unset; and this also
--# works around shells that cannot unset nonexistent variables.
--# Preserve -v and -x to the replacement shell.
--BASH_ENV=/dev/null
--ENV=/dev/null
--(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
--case $- in # ((((
--  *v*x* | *x*v* ) as_opts=-vx ;;
--  *v* ) as_opts=-v ;;
--  *x* ) as_opts=-x ;;
--  * ) as_opts= ;;
--esac
--exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
--# Admittedly, this is quite paranoid, since all the known shells bail
--# out after a failed `exec'.
--$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
--as_fn_exit 255
--  fi
--  # We don't want this to propagate to other subprocesses.
--          { _as_can_reexec=; unset _as_can_reexec;}
- if test "x$CONFIG_SHELL" = x; then
-   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
-   emulate sh
-@@ -192,8 +169,7 @@ if ( set x; as_fn_ret_success y && test 
- else
-   exitcode=1; echo positional parameters were not saved.
- fi
--test x\$exitcode = x0 || exit 1
--test -x / || exit 1"
-+test x\$exitcode = x0 || exit 1"
-   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
-   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
-   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
-@@ -238,25 +214,21 @@ IFS=$as_save_IFS
- 
- 
-       if test "x$CONFIG_SHELL" != x; then :
--  export CONFIG_SHELL
--             # We cannot yet assume a decent shell, so we have to provide a
--# neutralization value for shells without unset; and this also
--# works around shells that cannot unset nonexistent variables.
--# Preserve -v and -x to the replacement shell.
--BASH_ENV=/dev/null
--ENV=/dev/null
--(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
--case $- in # ((((
--  *v*x* | *x*v* ) as_opts=-vx ;;
--  *v* ) as_opts=-v ;;
--  *x* ) as_opts=-x ;;
--  * ) as_opts= ;;
--esac
--exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
--# Admittedly, this is quite paranoid, since all the known shells bail
--# out after a failed `exec'.
--$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
--exit 255
-+  # We cannot yet assume a decent shell, so we have to provide a
-+	# neutralization value for shells without unset; and this also
-+	# works around shells that cannot unset nonexistent variables.
-+	# Preserve -v and -x to the replacement shell.
-+	BASH_ENV=/dev/null
-+	ENV=/dev/null
-+	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-+	export CONFIG_SHELL
-+	case $- in # ((((
-+	  *v*x* | *x*v* ) as_opts=-vx ;;
-+	  *v* ) as_opts=-v ;;
-+	  *x* ) as_opts=-x ;;
-+	  * ) as_opts= ;;
-+	esac
-+	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
- fi
- 
-     if test x$as_have_required = xno; then :
-@@ -359,14 +331,6 @@ $as_echo X"$as_dir" |
- 
- 
- } # as_fn_mkdir_p
--
--# as_fn_executable_p FILE
--# -----------------------
--# Test if FILE is an executable regular file.
--as_fn_executable_p ()
--{
--  test -f "$1" && test -x "$1"
--} # as_fn_executable_p
- # as_fn_append VAR VALUE
- # ----------------------
- # Append the text in VALUE to the end of the definition contained in VAR. Take
-@@ -488,10 +452,6 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
-   chmod +x "$as_me.lineno" ||
-     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
- 
--  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
--  # already done that, so ensure we don't try to do so again and fall
--  # in an infinite loop.  This has already happened in practice.
--  _as_can_reexec=no; export _as_can_reexec
-   # Don't try to exec as it changes $[0], causing all sort of problems
-   # (the dirname of $[0] is not the place where we might find the
-   # original and so on.  Autoconf is especially sensitive to this).
-@@ -526,16 +486,16 @@ if (echo >conf$$.file) 2>/dev/null; then
-     # ... but there are two gotchas:
-     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
--    # In both cases, we have to default to `cp -pR'.
-+    # In both cases, we have to default to `cp -p'.
-     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
--      as_ln_s='cp -pR'
-+      as_ln_s='cp -p'
-   elif ln conf$$.file conf$$ 2>/dev/null; then
-     as_ln_s=ln
-   else
--    as_ln_s='cp -pR'
-+    as_ln_s='cp -p'
-   fi
- else
--  as_ln_s='cp -pR'
-+  as_ln_s='cp -p'
- fi
- rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
- rmdir conf$$.dir 2>/dev/null
-@@ -547,8 +507,28 @@ else
-   as_mkdir_p=false
- fi
- 
--as_test_x='test -x'
--as_executable_p=as_fn_executable_p
-+if test -x / >/dev/null 2>&1; then
-+  as_test_x='test -x'
-+else
-+  if ls -dL / >/dev/null 2>&1; then
-+    as_ls_L_option=L
-+  else
-+    as_ls_L_option=
-+  fi
-+  as_test_x='
-+    eval sh -c '\''
-+      if test -d "$1"; then
-+	test -d "$1/.";
-+      else
-+	case $1 in #(
-+	-*)set "./$1";;
-+	esac;
-+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-+	???[sx]*):;;*)false;;esac;fi
-+    '\'' sh
-+  '
-+fi
-+as_executable_p=$as_test_x
- 
- # Sed expression to map a string onto a valid CPP name.
- as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-@@ -793,6 +773,8 @@ with_thread
+--- ./configure.autotool-intermediates	2012-08-07 17:21:25.249311751 -0400
++++ ./configure	2012-08-07 17:21:35.503311049 -0400
+@@ -779,6 +779,8 @@ with_thread
  enable_ipv6
  with_doc_strings
  with_tsc
@@ -187,16 +10,7 @@ diff -up ./configure.autotool-intermediates ./configure
  with_pymalloc
  with_valgrind
  with_systemtap
-@@ -1266,6 +1248,8 @@ target=$target_alias
- if test "x$host_alias" != x; then
-   if test "x$build_alias" = x; then
-     cross_compiling=maybe
-+    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
-+    If a cross compiler is detected then cross compile mode will be used" >&2
-   elif test "x$build_alias" != "x$host_alias"; then
-     cross_compiling=yes
-   fi
-@@ -1469,6 +1453,8 @@ Optional Packages:
+@@ -1457,6 +1459,8 @@ Optional Packages:
                            deprecated; use --with(out)-threads
    --with(out)-doc-strings disable/enable documentation strings
    --with(out)-tsc         enable/disable timestamp counter profile
@@ -205,327 +19,7 @@ diff -up ./configure.autotool-intermediates ./configure
    --with(out)-pymalloc    disable/enable specialized mallocs
    --with-valgrind         Enable Valgrind support
    --with(out)-systemtap   disable/enable SystemTap support
-@@ -1556,9 +1542,9 @@ test -n "$ac_init_help" && exit $ac_stat
- if $ac_init_version; then
-   cat <<\_ACEOF
- python configure 3.3
--generated by GNU Autoconf 2.69
-+generated by GNU Autoconf 2.68
- 
--Copyright (C) 2012 Free Software Foundation, Inc.
-+Copyright (C) 2010 Free Software Foundation, Inc.
- This configure script is free software; the Free Software Foundation
- gives unlimited permission to copy, distribute and modify it.
- _ACEOF
-@@ -1634,7 +1620,7 @@ $as_echo "$ac_try_echo"; } >&5
- 	 test ! -s conftest.err
-        } && test -s conftest$ac_exeext && {
- 	 test "$cross_compiling" = yes ||
--	 test -x conftest$ac_exeext
-+	 $as_test_x conftest$ac_exeext
-        }; then :
-   ac_retval=0
- else
-@@ -1932,8 +1918,7 @@ int
- main ()
- {
- static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
--test_array [0] = 0;
--return test_array [0];
-+test_array [0] = 0
- 
-   ;
-   return 0;
-@@ -1987,8 +1972,7 @@ int
- main ()
- {
- static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
--test_array [0] = 0;
--return test_array [0];
-+test_array [0] = 0
- 
-   ;
-   return 0;
-@@ -2004,8 +1988,7 @@ main ()
- {
- static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
- 		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
--test_array [0] = 0;
--return test_array [0];
-+test_array [0] = 0
- 
-   ;
-   return 0;
-@@ -2055,8 +2038,7 @@ int
- main ()
- {
- static int test_array [1 - 2 * !(($2) >= 0)];
--test_array [0] = 0;
--return test_array [0];
-+test_array [0] = 0
- 
-   ;
-   return 0;
-@@ -2072,8 +2054,7 @@ int
- main ()
- {
- static int test_array [1 - 2 * !(($2) <= $ac_mid)];
--test_array [0] = 0;
--return test_array [0];
-+test_array [0] = 0
- 
-   ;
-   return 0;
-@@ -2099,8 +2080,7 @@ int
- main ()
- {
- static int test_array [1 - 2 * !(($2) < 0)];
--test_array [0] = 0;
--return test_array [0];
-+test_array [0] = 0
- 
-   ;
-   return 0;
-@@ -2116,8 +2096,7 @@ int
- main ()
- {
- static int test_array [1 - 2 * !(($2) >= $ac_mid)];
--test_array [0] = 0;
--return test_array [0];
-+test_array [0] = 0
- 
-   ;
-   return 0;
-@@ -2151,8 +2130,7 @@ int
- main ()
- {
- static int test_array [1 - 2 * !(($2) <= $ac_mid)];
--test_array [0] = 0;
--return test_array [0];
-+test_array [0] = 0
- 
-   ;
-   return 0;
-@@ -2395,7 +2373,7 @@ This file contains any messages produced
- running configure, to aid debugging if configure makes a mistake.
- 
- It was created by python $as_me 3.3, which was
--generated by GNU Autoconf 2.69.  Invocation command line was
-+generated by GNU Autoconf 2.68.  Invocation command line was
- 
-   $ $0 $@
- 
-@@ -2765,7 +2743,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_HAS_HG="found"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -3508,7 +3486,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_CC="${ac_tool_prefix}gcc"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -3548,7 +3526,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_ac_ct_CC="gcc"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -3601,7 +3579,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_CC="${ac_tool_prefix}cc"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -3642,7 +3620,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
-        ac_prog_rejected=yes
-        continue
-@@ -3700,7 +3678,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -3744,7 +3722,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_ac_ct_CC="$ac_prog"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -4190,7 +4168,8 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
- /* end confdefs.h.  */
- #include <stdarg.h>
- #include <stdio.h>
--struct stat;
-+#include <sys/types.h>
-+#include <sys/stat.h>
- /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
- struct buf { int x; };
- FILE * (*rcsopen) (struct buf *, struct stat *, int);
-@@ -4329,7 +4308,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -4370,7 +4349,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -4411,7 +4390,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -4460,7 +4439,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_CXX="$ac_prog"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -4691,7 +4670,7 @@ do
-     for ac_prog in grep ggrep; do
-     for ac_exec_ext in '' $ac_executable_extensions; do
-       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
--      as_fn_executable_p "$ac_path_GREP" || continue
-+      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
- # Check for GNU ac_path_GREP and select it if it is found.
-   # Check for GNU $ac_path_GREP
- case `"$ac_path_GREP" --version 2>&1` in
-@@ -4757,7 +4736,7 @@ do
-     for ac_prog in egrep; do
-     for ac_exec_ext in '' $ac_executable_extensions; do
-       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
--      as_fn_executable_p "$ac_path_EGREP" || continue
-+      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
- # Check for GNU ac_path_EGREP and select it if it is found.
-   # Check for GNU $ac_path_EGREP
- case `"$ac_path_EGREP" --version 2>&1` in
-@@ -4964,8 +4943,8 @@ else
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h.  */
- 
--#         define __EXTENSIONS__ 1
--          $ac_includes_default
-+#	  define __EXTENSIONS__ 1
-+	  $ac_includes_default
- int
- main ()
- {
-@@ -5359,7 +5338,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -5399,7 +5378,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_ac_ct_RANLIB="ranlib"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -5453,7 +5432,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_AR="$ac_prog"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -5504,7 +5483,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_HAS_PYTHON="found"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -5577,7 +5556,7 @@ case $as_dir/ in #((
-     # by default.
-     for ac_prog in ginstall scoinst install; do
-       for ac_exec_ext in '' $ac_executable_extensions; do
--	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
-+	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- 	  if test $ac_prog = install &&
- 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- 	    # AIX install.  It has an incompatible calling convention.
-@@ -5646,7 +5625,7 @@ do
-   test -z "$as_dir" && as_dir=.
-     for ac_prog in mkdir gmkdir; do
- 	 for ac_exec_ext in '' $ac_executable_extensions; do
--	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
-+	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
- 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
- 	     'mkdir (GNU coreutils) '* | \
- 	     'mkdir (coreutils) '* | \
-@@ -8538,7 +8517,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -8581,7 +8560,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -9591,6 +9570,50 @@ $as_echo "no" >&6; }
+@@ -10017,6 +10021,50 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -576,155 +70,4 @@ diff -up ./configure.autotool-intermediates ./configure
  # Check for Python-specific malloc support
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
  $as_echo_n "checking for --with-pymalloc... " >&6; }
-@@ -10208,7 +10231,7 @@ do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-     for ac_exec_ext in '' $ac_executable_extensions; do
--  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_TRUE="$ac_prog"
-     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-@@ -11645,8 +11668,7 @@ int
- main ()
- {
- static int test_array [1 - 2 * !(((char) -1) < 0)];
--test_array [0] = 0;
--return test_array [0];
-+test_array [0] = 0
- 
-   ;
-   return 0;
-@@ -11677,11 +11699,11 @@ else
- int
- main ()
- {
--
-+/* FIXME: Include the comments suggested by Paul. */
- #ifndef __cplusplus
--  /* Ultrix mips cc rejects this sort of thing.  */
-+  /* Ultrix mips cc rejects this.  */
-   typedef int charset[2];
--  const charset cs = { 0, 0 };
-+  const charset cs;
-   /* SunOS 4.1.1 cc rejects this.  */
-   char const *const *pcpcc;
-   char **ppc;
-@@ -11698,9 +11720,8 @@ main ()
-   ++pcpcc;
-   ppc = (char**) pcpcc;
-   pcpcc = (char const *const *) ppc;
--  { /* SCO 3.2v4 cc rejects this sort of thing.  */
--    char tx;
--    char *t = &tx;
-+  { /* SCO 3.2v4 cc rejects this.  */
-+    char *t;
-     char const *s = 0 ? (char *) 0 : (char const *) 0;
- 
-     *t++ = 0;
-@@ -11716,10 +11737,10 @@ main ()
-     iptr p = 0;
-     ++p;
-   }
--  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
-+  { /* AIX XL C 1.02.0.0 rejects this saying
-        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
--    struct s { int j; const int *ap[3]; } bx;
--    struct s *b = &bx; b->j = 5;
-+    struct s { int j; const int *ap[3]; };
-+    struct s *b; b->j = 5;
-   }
-   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
-     const int foo = 10;
-@@ -15008,16 +15029,16 @@ if (echo >conf$$.file) 2>/dev/null; then
-     # ... but there are two gotchas:
-     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
--    # In both cases, we have to default to `cp -pR'.
-+    # In both cases, we have to default to `cp -p'.
-     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
--      as_ln_s='cp -pR'
-+      as_ln_s='cp -p'
-   elif ln conf$$.file conf$$ 2>/dev/null; then
-     as_ln_s=ln
-   else
--    as_ln_s='cp -pR'
-+    as_ln_s='cp -p'
-   fi
- else
--  as_ln_s='cp -pR'
-+  as_ln_s='cp -p'
- fi
- rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
- rmdir conf$$.dir 2>/dev/null
-@@ -15077,16 +15098,28 @@ else
-   as_mkdir_p=false
- fi
- 
--
--# as_fn_executable_p FILE
--# -----------------------
--# Test if FILE is an executable regular file.
--as_fn_executable_p ()
--{
--  test -f "$1" && test -x "$1"
--} # as_fn_executable_p
--as_test_x='test -x'
--as_executable_p=as_fn_executable_p
-+if test -x / >/dev/null 2>&1; then
-+  as_test_x='test -x'
-+else
-+  if ls -dL / >/dev/null 2>&1; then
-+    as_ls_L_option=L
-+  else
-+    as_ls_L_option=
-+  fi
-+  as_test_x='
-+    eval sh -c '\''
-+      if test -d "$1"; then
-+	test -d "$1/.";
-+      else
-+	case $1 in #(
-+	-*)set "./$1";;
-+	esac;
-+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-+	???[sx]*):;;*)false;;esac;fi
-+    '\'' sh
-+  '
-+fi
-+as_executable_p=$as_test_x
- 
- # Sed expression to map a string onto a valid CPP name.
- as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-@@ -15108,7 +15141,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
- # values after options handling.
- ac_log="
- This file was extended by python $as_me 3.3, which was
--generated by GNU Autoconf 2.69.  Invocation command line was
-+generated by GNU Autoconf 2.68.  Invocation command line was
- 
-   CONFIG_FILES    = $CONFIG_FILES
-   CONFIG_HEADERS  = $CONFIG_HEADERS
-@@ -15170,10 +15203,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
- ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
- ac_cs_version="\\
- python config.status 3.3
--configured by $0, generated by GNU Autoconf 2.69,
-+configured by $0, generated by GNU Autoconf 2.68,
-   with options \\"\$ac_cs_config\\"
- 
--Copyright (C) 2012 Free Software Foundation, Inc.
-+Copyright (C) 2010 Free Software Foundation, Inc.
- This config.status script is free software; the Free Software Foundation
- gives unlimited permission to copy, distribute and modify it."
- 
-@@ -15263,7 +15296,7 @@ fi
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- if \$ac_cs_recheck; then
--  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-   shift
-   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
-   CONFIG_SHELL='$SHELL'
 diff -up ./pyconfig.h.in.autotool-intermediates ./pyconfig.h.in
diff --git a/python-3.3.0b1-lib64.patch b/python-3.3.0b1-lib64.patch
index 110ed0d..5ae03aa 100644
--- a/python-3.3.0b1-lib64.patch
+++ b/python-3.3.0b1-lib64.patch
@@ -1,6 +1,6 @@
-diff -up Python-3.3.0b1/Lib/distutils/command/install.py.lib64 Python-3.3.0b1/Lib/distutils/command/install.py
---- Python-3.3.0b1/Lib/distutils/command/install.py.lib64	2012-06-26 16:19:41.000000000 -0400
-+++ Python-3.3.0b1/Lib/distutils/command/install.py	2012-07-20 13:09:38.760797382 -0400
+diff -up cpython-59223da36dec/Lib/distutils/command/install.py.lib64 cpython-59223da36dec/Lib/distutils/command/install.py
+--- cpython-59223da36dec/Lib/distutils/command/install.py.lib64	2012-08-07 06:10:57.000000000 -0400
++++ cpython-59223da36dec/Lib/distutils/command/install.py	2012-08-07 16:41:00.573477549 -0400
 @@ -45,14 +45,14 @@ else:
  INSTALL_SCHEMES = {
      'unix_prefix': {
@@ -18,10 +18,10 @@ diff -up Python-3.3.0b1/Lib/distutils/command/install.py.lib64 Python-3.3.0b1/Li
          'headers': '$base/include/python/$dist_name',
          'scripts': '$base/bin',
          'data'   : '$base',
-diff -up Python-3.3.0b1/Lib/distutils/sysconfig.py.lib64 Python-3.3.0b1/Lib/distutils/sysconfig.py
---- Python-3.3.0b1/Lib/distutils/sysconfig.py.lib64	2012-06-26 16:19:41.000000000 -0400
-+++ Python-3.3.0b1/Lib/distutils/sysconfig.py	2012-07-20 13:12:48.017431348 -0400
-@@ -138,8 +138,12 @@ def get_python_lib(plat_specific=0, stan
+diff -up cpython-59223da36dec/Lib/distutils/sysconfig.py.lib64 cpython-59223da36dec/Lib/distutils/sysconfig.py
+--- cpython-59223da36dec/Lib/distutils/sysconfig.py.lib64	2012-08-07 06:10:57.000000000 -0400
++++ cpython-59223da36dec/Lib/distutils/sysconfig.py	2012-08-07 16:41:00.573477549 -0400
+@@ -139,8 +139,12 @@ def get_python_lib(plat_specific=0, stan
              prefix = plat_specific and EXEC_PREFIX or PREFIX
  
      if os.name == "posix":
@@ -35,9 +35,9 @@ diff -up Python-3.3.0b1/Lib/distutils/sysconfig.py.lib64 Python-3.3.0b1/Lib/dist
          if standard_lib:
              return libpython
          else:
-diff -up Python-3.3.0b1/Lib/site.py.lib64 Python-3.3.0b1/Lib/site.py
---- Python-3.3.0b1/Lib/site.py.lib64	2012-06-26 16:19:45.000000000 -0400
-+++ Python-3.3.0b1/Lib/site.py	2012-07-20 13:09:38.762797357 -0400
+diff -up cpython-59223da36dec/Lib/site.py.lib64 cpython-59223da36dec/Lib/site.py
+--- cpython-59223da36dec/Lib/site.py.lib64	2012-08-07 06:10:57.000000000 -0400
++++ cpython-59223da36dec/Lib/site.py	2012-08-07 16:41:00.573477549 -0400
 @@ -303,12 +303,16 @@ def getsitepackages(prefixes=None):
          if sys.platform in ('os2emx', 'riscos'):
              sitepackages.append(os.path.join(prefix, "Lib", "site-packages"))
@@ -55,9 +55,9 @@ diff -up Python-3.3.0b1/Lib/site.py.lib64 Python-3.3.0b1/Lib/site.py
              sitepackages.append(os.path.join(prefix, "lib", "site-packages"))
          if sys.platform == "darwin":
              # for framework builds *only* we add the standard Apple
-diff -up Python-3.3.0b1/Lib/sysconfig.py.lib64 Python-3.3.0b1/Lib/sysconfig.py
---- Python-3.3.0b1/Lib/sysconfig.py.lib64	2012-06-26 16:19:45.000000000 -0400
-+++ Python-3.3.0b1/Lib/sysconfig.py	2012-07-20 13:14:59.721784816 -0400
+diff -up cpython-59223da36dec/Lib/sysconfig.py.lib64 cpython-59223da36dec/Lib/sysconfig.py
+--- cpython-59223da36dec/Lib/sysconfig.py.lib64	2012-08-07 06:10:57.000000000 -0400
++++ cpython-59223da36dec/Lib/sysconfig.py	2012-08-07 16:41:00.574477549 -0400
 @@ -21,10 +21,10 @@ __all__ = [
  
  _INSTALL_SCHEMES = {
@@ -86,9 +86,9 @@ diff -up Python-3.3.0b1/Lib/sysconfig.py.lib64 Python-3.3.0b1/Lib/sysconfig.py
          'include': '{userbase}/include/python{py_version_short}',
          'scripts': '{userbase}/bin',
          'data': '{userbase}',
-diff -up Python-3.3.0b1/Lib/test/test_site.py.lib64 Python-3.3.0b1/Lib/test/test_site.py
---- Python-3.3.0b1/Lib/test/test_site.py.lib64	2012-06-26 16:19:48.000000000 -0400
-+++ Python-3.3.0b1/Lib/test/test_site.py	2012-07-20 13:09:38.764797333 -0400
+diff -up cpython-59223da36dec/Lib/test/test_site.py.lib64 cpython-59223da36dec/Lib/test/test_site.py
+--- cpython-59223da36dec/Lib/test/test_site.py.lib64	2012-08-07 06:10:57.000000000 -0400
++++ cpython-59223da36dec/Lib/test/test_site.py	2012-08-07 16:41:00.574477549 -0400
 @@ -239,12 +239,15 @@ class HelperFunctionsTests(unittest.Test
              self.assertEqual(dirs[2], wanted)
          elif os.sep == '/':
@@ -108,10 +108,10 @@ diff -up Python-3.3.0b1/Lib/test/test_site.py.lib64 Python-3.3.0b1/Lib/test/test
          else:
              # other platforms
              self.assertEqual(len(dirs), 2)
-diff -up Python-3.3.0b1/Makefile.pre.in.lib64 Python-3.3.0b1/Makefile.pre.in
---- Python-3.3.0b1/Makefile.pre.in.lib64	2012-07-20 13:09:38.742797608 -0400
-+++ Python-3.3.0b1/Makefile.pre.in	2012-07-20 13:09:38.765797321 -0400
-@@ -107,7 +107,7 @@ LIBDIR=		@libdir@
+diff -up cpython-59223da36dec/Makefile.pre.in.lib64 cpython-59223da36dec/Makefile.pre.in
+--- cpython-59223da36dec/Makefile.pre.in.lib64	2012-08-07 16:41:00.557477550 -0400
++++ cpython-59223da36dec/Makefile.pre.in	2012-08-07 16:41:00.575477549 -0400
+@@ -108,7 +108,7 @@ LIBDIR=		@libdir@
  MANDIR=		@mandir@
  INCLUDEDIR=	@includedir@
  CONFINCLUDEDIR=	$(exec_prefix)/include
@@ -120,9 +120,9 @@ diff -up Python-3.3.0b1/Makefile.pre.in.lib64 Python-3.3.0b1/Makefile.pre.in
  ABIFLAGS=	@ABIFLAGS@
  
  # Detailed destination directories
-diff -up Python-3.3.0b1/Modules/getpath.c.lib64 Python-3.3.0b1/Modules/getpath.c
---- Python-3.3.0b1/Modules/getpath.c.lib64	2012-06-26 16:19:54.000000000 -0400
-+++ Python-3.3.0b1/Modules/getpath.c	2012-07-20 13:09:38.766797308 -0400
+diff -up cpython-59223da36dec/Modules/getpath.c.lib64 cpython-59223da36dec/Modules/getpath.c
+--- cpython-59223da36dec/Modules/getpath.c.lib64	2012-08-07 06:10:57.000000000 -0400
++++ cpython-59223da36dec/Modules/getpath.c	2012-08-07 16:41:00.575477549 -0400
 @@ -122,8 +122,8 @@
  #endif
  
@@ -143,7 +143,7 @@ diff -up Python-3.3.0b1/Modules/getpath.c.lib64 Python-3.3.0b1/Modules/getpath.c
  
  static void
  reduce(wchar_t *dir)
-@@ -669,7 +669,7 @@ calculate_path(void)
+@@ -677,7 +677,7 @@ calculate_path(void)
      }
      else
          wcsncpy(zip_path, _prefix, MAXPATHLEN);
@@ -152,7 +152,7 @@ diff -up Python-3.3.0b1/Modules/getpath.c.lib64 Python-3.3.0b1/Modules/getpath.c
      bufsz = wcslen(zip_path);   /* Replace "00" with version */
      zip_path[bufsz - 6] = VERSION[0];
      zip_path[bufsz - 5] = VERSION[2];
-@@ -679,7 +679,7 @@ calculate_path(void)
+@@ -687,7 +687,7 @@ calculate_path(void)
              fprintf(stderr,
                  "Could not find platform dependent libraries <exec_prefix>\n");
          wcsncpy(exec_prefix, _exec_prefix, MAXPATHLEN);
@@ -161,19 +161,19 @@ diff -up Python-3.3.0b1/Modules/getpath.c.lib64 Python-3.3.0b1/Modules/getpath.c
      }
      /* If we found EXEC_PREFIX do *not* reduce it!  (Yet.) */
  
-diff -up Python-3.3.0b1/setup.py.lib64 Python-3.3.0b1/setup.py
---- Python-3.3.0b1/setup.py.lib64	2012-06-26 16:19:58.000000000 -0400
-+++ Python-3.3.0b1/setup.py	2012-07-20 13:09:38.767797295 -0400
-@@ -393,7 +393,7 @@ class PyBuildExt(build_ext):
-         # Ensure that /usr/local is always used, but the local build
+diff -up cpython-59223da36dec/setup.py.lib64 cpython-59223da36dec/setup.py
+--- cpython-59223da36dec/setup.py.lib64	2012-08-07 06:10:57.000000000 -0400
++++ cpython-59223da36dec/setup.py	2012-08-07 16:41:32.153475390 -0400
+@@ -438,7 +438,7 @@ class PyBuildExt(build_ext):
          # directories (i.e. '.' and 'Include') must be first.  See issue
          # 10520.
--        add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
-+        add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib64')
-         add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
-         self.add_multiarch_paths()
- 
-@@ -652,11 +652,11 @@ class PyBuildExt(build_ext):
+         if not cross_compiling:
+-            add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
++            add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib64')
+             add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
+         # only change this for cross builds for 3.3, issues on Mageia
+         if cross_compiling:
+@@ -708,11 +708,11 @@ class PyBuildExt(build_ext):
              elif curses_library:
                  readline_libs.append(curses_library)
              elif self.compiler.find_library_file(lib_dirs +
@@ -187,7 +187,7 @@ diff -up Python-3.3.0b1/setup.py.lib64 Python-3.3.0b1/setup.py
                                     extra_link_args=readline_extra_link_args,
                                     libraries=readline_libs) )
          else:
-@@ -693,8 +693,8 @@ class PyBuildExt(build_ext):
+@@ -749,8 +749,8 @@ class PyBuildExt(build_ext):
              if krb5_h:
                  ssl_incs += krb5_h
          ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
diff --git a/python3.spec b/python3.spec
index c38e0af..8466e7f 100644
--- a/python3.spec
+++ b/python3.spec
@@ -3,7 +3,7 @@
 # ======================================================
 
 %global pybasever 3.3
-%global alphatag  b1
+%global alphatag  b2
 
 # pybasever without the dot:
 %global pyshortver 33
@@ -127,7 +127,7 @@
 Summary: Version 3 of the Python programming language aka Python 3000
 Name: python3
 Version: %{pybasever}.0
-Release: 0.2.%{alphatag}%{?dist}
+Release: 0.3.%{alphatag}%{?dist}
 License: Python
 Group: Development/Languages
 
@@ -229,6 +229,8 @@ Patch3: 00003-remove-mimeaudio-tests.patch
 # 00055 #
 # Systemtap support: add statically-defined probe points
 # Patch sent upstream as http://bugs.python.org/issue14776
+# with some subsequent reworking to cope with LANG=C in an rpmbuild
+# (where sys.getfilesystemencoding() == 'ascii')
 Patch55: 00055-systemtap.patch
 
 Patch102: python-3.3.0b1-lib64.patch
@@ -415,8 +417,9 @@ Patch150: 00150-disable-rAssertAlmostEqual-cmath-on-ppc.patch
 # 00152 #
 # Fix a regex in test_gdb so that it doesn't choke when gdb provides a full
 # path to Python/bltinmodule.c:
-# Not yet sent upstream
-Patch152: 00152-fix-test-gdb-regex.patch
+# Committed upstream as 77824:abcd29c9a791 as part of fix for
+# http://bugs.python.org/issue12605
+#  Patch152: 00152-fix-test-gdb-regex.patch
 
 # 00153 #
 # Strip out lines of the form "warning: Unable to open ..." from gdb's stderr
@@ -477,17 +480,10 @@ Patch157: 00157-uid-gid-overflows.patch
 Patch160: 00160-disable-test_fs_holes-in-rpm-build.patch
 
 # 00161 #
-# http://bugs.python.org/issue13447 added tests for the Tools scripts, but
-# these appear to assume that srcdir == builddir, which isn't the case for our
-# builds.
-# Not yet sent upstream
-Patch161: 00161-fix-test_tools-directory.patch
+# (Was only needed for Python 3.3.0b1)
 
 # 00162 #
-# Fix a bug in distutils.sysconfig.get_config_vars() in which find_executable()
-# would traceback when "CC" contains options (e.g. "gcc -pthread")
-# Not yet sent upstream
-Patch162: 00162-distutils-sysconfig-fix-CC-options.patch
+# (Was only needed for Python 3.3.0b1)
 
 # 00163 #
 # Some tests within test_socket fail intermittently when run inside Koji;
@@ -723,8 +719,8 @@ done
 %patch150 -p1
 %endif
 # 00151: not for python3
-%patch152 -p0
-%patch153 -p0
+# 00152: upstream as of Python 3.3.0b2
+%patch153 -p1
 # 00154: not for this branch
 %patch155 -p1
 %patch156 -p1
@@ -732,8 +728,8 @@ done
 #00158: FIXME
 #00159: FIXME
 %patch160 -p1
-%patch161 -p1
-%patch162 -p1
+# 00161: was only needed for Python 3.3.0b1
+# 00162: was only needed for Python 3.3.0b1
 %patch163 -p1
 %ifarch ppc %{power64}
 %patch164 -p1
@@ -1460,7 +1456,6 @@ rm -fr %{buildroot}
 %defattr(-, root, root)
 %{pylibdir}/ctypes/test
 %{pylibdir}/distutils/tests
-%{pylibdir}/importlib/test
 %{pylibdir}/sqlite3/test
 %{pylibdir}/test
 %{dynload_dir}/_ctypes_test.%{SOABI_optimized}.so
@@ -1593,6 +1588,12 @@ rm -fr %{buildroot}
 # ======================================================
 
 %changelog
+* Mon Aug 13 2012 David Malcolm <dmalcolm at redhat.com> - 3.3.0-0.3.b2
+- 3.3b1 -> 3.3b2; drop upstreamed patch 152; refresh patches 3, 102, 111,
+134, 153, 160; regenenerate autotools patch; rework systemtap patch to work
+correctly when LANG=C (patch 55); importlib.test was moved to
+test.test_importlib upstream
+
 * Mon Aug 13 2012 Karsten Hopp <karsten at redhat.com> 3.3.0-0.2.b1
 - disable some failing checks on PPC* (rhbz#846849)
 
diff --git a/sources b/sources
index b2e8d32..470145a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-710047668636097f7557ba45953fce1a  Python-3.3.0b1.tar.xz
+9caeb68335bb19ef36a6bc83467b0ae4  Python-3.3.0b2.tar.xz


More information about the scm-commits mailing list