Commits

Mike Gilbert committed c7b8764

Updates for 3.3.5

  • Participants
  • Parent commits 0776087
  • Branches 3.3.5, 3.4.0 3
    1. 3.4.1
    2. 3.4.2
    3. 3.4.3
  • Tags 3.3.5-0

Comments (0)

Files changed (4)

patches/01_all_static_library_location.patch

  
  bininstall: altbininstall
  	-if test -f $(DESTDIR)$(BINDIR)/python3$(EXE) -o -h $(DESTDIR)$(BINDIR)/python3$(EXE); \
-@@ -1199,18 +1212,6 @@
+@@ -1200,18 +1213,6 @@
  		else	true; \
  		fi; \
  	done

patches/05_all_regenerate_platform-specific_modules.patch

  # Build static library
  # avoid long command lines, same as LIBRARY_OBJS
  $(LIBRARY): $(LIBRARY_OBJS)
-@@ -1073,7 +1099,7 @@
+@@ -1074,7 +1100,7 @@
  		unittest unittest/test unittest/test/testmock \
  		venv venv/scripts venv/scripts/posix \
  		curses pydoc_data $(MACHDEPS)
  	@for i in $(SCRIPTDIR) $(LIBDEST); \
  	do \
  		if test ! -d $(DESTDIR)$$i; then \
-@@ -1156,23 +1182,6 @@
+@@ -1157,23 +1183,6 @@
  	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  		$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt
  
  python-config: $(srcdir)/Misc/python-config.in
  	# Substitution happens here, as the completely-expanded BINDIR
  	# is not available in configure
-@@ -1475,7 +1484,7 @@
+@@ -1476,7 +1485,7 @@
  Python/thread.o: @THREADHEADERS@
  
  # Declare targets that aren't real files

patches/24_all_sqlite-3.8.4.patch

+http://bugs.python.org/issue20901
+http://hg.python.org/cpython/rev/dbc9e3ed5e9f
+
+--- Lib/sqlite3/test/hooks.py
++++ Lib/sqlite3/test/hooks.py
+@@ -162,7 +162,7 @@
+             create table bar (a, b)
+             """)
+         second_count = len(progress_calls)
+-        self.assertGreater(first_count, second_count)
++        self.assertGreaterEqual(first_count, second_count)
+ 
+     def CheckCancelOperation(self):
+         """

patches/61_all_process_data.patch

  
 --- Modules/posixmodule.c
 +++ Modules/posixmodule.c
-@@ -1158,6 +1158,10 @@
+@@ -1157,6 +1157,10 @@
          char *p = strchr(*e, '=');
          if (p == NULL)
              continue;
          PyMem_Free(argv_copy2[i]);
 --- Python/sysmodule.c
 +++ Python/sysmodule.c
-@@ -1779,6 +1779,10 @@
+@@ -1778,6 +1778,10 @@
  makeargvobject(int argc, wchar_t **argv)
  {
      PyObject *av;
      if (argc <= 0 || argv == NULL) {
          /* Ensure at least one (empty) argument is seen */
          static wchar_t *empty_argv[1] = {L""};
-@@ -1803,7 +1807,16 @@
+@@ -1802,7 +1806,16 @@
              } else
                  v = PyUnicode_FromString(argv[i]);
  #else
  #endif
              if (v == NULL) {
                  Py_DECREF(av);
-@@ -1823,7 +1836,12 @@
+@@ -1822,7 +1835,12 @@
  static void
  sys_update_path(int argc, wchar_t **argv)
  {
      wchar_t *p = NULL;
      Py_ssize_t n = 0;
      PyObject *a;
-@@ -1843,7 +1861,14 @@
+@@ -1842,7 +1860,14 @@
      if (path == NULL)
          return;
  
  
  #ifdef HAVE_READLINK
      if (_HAVE_SCRIPT_ARGUMENT(argc, argv))
-@@ -1920,6 +1945,7 @@
+@@ -1919,6 +1944,7 @@
      if (PyList_Insert(path, 0, a) < 0)
          Py_FatalError("sys.path.insert(0) failed");
      Py_DECREF(a);