[Bf-blender-cvs] SVN commit: /data/svn/repos/bf-blender [61889] trunk/lib/darwin-9.x.universal: Update pyton to 3.5.3 MacOS 10.6+ ( i386 is not done as that has not been supported for a long time)

Martijn Berger martijn.berger at gmail.com
Mon May 29 13:25:56 CEST 2017


Revision: 61889
          https://developer.blender.org/rBL61889
Author:   juicyfruit
Date:     2017-05-29 13:25:55 +0200 (Mon, 29 May 2017)
Log Message:
-----------
Update pyton to 3.5.3 MacOS 10.6+ ( i386 is not done as that has not been supported for a long time)

Modified Paths:
--------------
    trunk/lib/darwin-9.x.universal/python/bin/python3.5m
    trunk/lib/darwin-9.x.universal/python/include/python3.5m/abstract.h
    trunk/lib/darwin-9.x.universal/python/include/python3.5m/dictobject.h
    trunk/lib/darwin-9.x.universal/python/include/python3.5m/genobject.h
    trunk/lib/darwin-9.x.universal/python/include/python3.5m/longobject.h
    trunk/lib/darwin-9.x.universal/python/include/python3.5m/moduleobject.h
    trunk/lib/darwin-9.x.universal/python/include/python3.5m/patchlevel.h
    trunk/lib/darwin-9.x.universal/python/include/python3.5m/pyconfig.h
    trunk/lib/darwin-9.x.universal/python/include/python3.5m/pyfpe.h
    trunk/lib/darwin-9.x.universal/python/include/python3.5m/pymacconfig.h
    trunk/lib/darwin-9.x.universal/python/include/python3.5m/pymath.h
    trunk/lib/darwin-9.x.universal/python/include/python3.5m/pyport.h
    trunk/lib/darwin-9.x.universal/python/include/python3.5m/unicodeobject.h
    trunk/lib/darwin-9.x.universal/python/lib/python3.5/libpython3.5m.a
    trunk/lib/darwin-9.x.universal/release/python_x86_64.zip

Modified: trunk/lib/darwin-9.x.universal/python/bin/python3.5m
===================================================================
(Binary files differ)

Modified: trunk/lib/darwin-9.x.universal/python/include/python3.5m/abstract.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.5m/abstract.h	2017-05-29 02:28:51 UTC (rev 61888)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.5m/abstract.h	2017-05-29 11:25:55 UTC (rev 61889)
@@ -266,6 +266,12 @@
      PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable_object,
                                           PyObject *args, PyObject *kw);
 
+       /*
+     Call a callable Python object, callable_object, with
+     arguments and keywords arguments.  The 'args' argument can not be
+     NULL, but the 'kw' argument can be NULL.
+       */
+
 #ifndef Py_LIMITED_API
      PyAPI_FUNC(PyObject *) _Py_CheckFunctionResult(PyObject *func,
                                                     PyObject *result,
@@ -272,12 +278,6 @@
                                                     const char *where);
 #endif
 
-       /*
-     Call a callable Python object, callable_object, with
-     arguments and keywords arguments.  The 'args' argument can not be
-     NULL, but the 'kw' argument can be NULL.
-       */
-
      PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable_object,
                                                 PyObject *args);
 
@@ -458,7 +458,7 @@
     /* old buffer API
        FIXME:  usage of these should all be replaced in Python itself
        but for backwards compatibility we will implement them.
-       Their usage without a corresponding "unlock" mechansim
+       Their usage without a corresponding "unlock" mechanism
        may create issues (but they would already be there). */
 
      PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *obj,
@@ -1216,23 +1216,23 @@
      PyAPI_FUNC(PyObject *) PyMapping_Keys(PyObject *o);
 
        /*
-     On success, return a list, a tuple or a dictionary view in case of a dict,
-     of the keys in object o. On failure, return NULL.
+     On success, return a list or tuple of the keys in object o.
+     On failure, return NULL.
        */
 
      PyAPI_FUNC(PyObject *) PyMapping_Values(PyObject *o);
 
        /*
-     On success, return a list, a tuple or a dictionary view in case of a dict,
-     of the values in object o. On failure, return NULL.
+     On success, return a list or tuple of the values in object o.
+     On failure, return NULL.
        */
 
      PyAPI_FUNC(PyObject *) PyMapping_Items(PyObject *o);
 
        /*
-     On success, return a list, a tuple or a dictionary view in case of a dict,
-     of the items in object o, where each item is a tuple containing a key-value
-     pair. On failure, return NULL.
+     On success, return a list or tuple of the items in object o,
+     where each item is a tuple containing a key-value pair.
+     On failure, return NULL.
 
        */
 

Modified: trunk/lib/darwin-9.x.universal/python/include/python3.5m/dictobject.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.5m/dictobject.h	2017-05-29 02:28:51 UTC (rev 61888)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.5m/dictobject.h	2017-05-29 11:25:55 UTC (rev 61889)
@@ -75,6 +75,8 @@
 #ifndef Py_LIMITED_API
 PyAPI_FUNC(int) _PyDict_DelItem_KnownHash(PyObject *mp, PyObject *key,
                                           Py_hash_t hash);
+PyAPI_FUNC(int) _PyDict_DelItemIf(PyObject *mp, PyObject *key,
+                                  int (*predicate)(PyObject *value));
 #endif
 PyAPI_FUNC(void) PyDict_Clear(PyObject *mp);
 PyAPI_FUNC(int) PyDict_Next(

Modified: trunk/lib/darwin-9.x.universal/python/include/python3.5m/genobject.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.5m/genobject.h	2017-05-29 02:28:51 UTC (rev 61888)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.5m/genobject.h	2017-05-29 11:25:55 UTC (rev 61889)
@@ -41,6 +41,7 @@
 PyAPI_FUNC(PyObject *) PyGen_NewWithQualName(struct _frame *,
     PyObject *name, PyObject *qualname);
 PyAPI_FUNC(int) PyGen_NeedsFinalizing(PyGenObject *);
+PyAPI_FUNC(int) _PyGen_SetStopIterationValue(PyObject *);
 PyAPI_FUNC(int) _PyGen_FetchStopIterationValue(PyObject **);
 PyObject *_PyGen_Send(PyGenObject *, PyObject *);
 PyObject *_PyGen_yf(PyGenObject *);

Modified: trunk/lib/darwin-9.x.universal/python/include/python3.5m/longobject.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.5m/longobject.h	2017-05-29 02:28:51 UTC (rev 61888)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.5m/longobject.h	2017-05-29 11:25:55 UTC (rev 61889)
@@ -159,7 +159,7 @@
      example, if is_signed is 0 and there are more digits in the v than
      fit in n; or if is_signed is 1, v < 0, and n is just 1 bit shy of
      being large enough to hold a sign bit.  OverflowError is set in this
-     case, but bytes holds the least-signficant n bytes of the true value.
+     case, but bytes holds the least-significant n bytes of the true value.
 */
 PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
     unsigned char* bytes, size_t n,

Modified: trunk/lib/darwin-9.x.universal/python/include/python3.5m/moduleobject.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.5m/moduleobject.h	2017-05-29 02:28:51 UTC (rev 61888)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.5m/moduleobject.h	2017-05-29 11:25:55 UTC (rev 61889)
@@ -77,7 +77,7 @@
   traverseproc m_traverse;
   inquiry m_clear;
   freefunc m_free;
-}PyModuleDef;
+} PyModuleDef;
 
 #ifdef __cplusplus
 }

Modified: trunk/lib/darwin-9.x.universal/python/include/python3.5m/patchlevel.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.5m/patchlevel.h	2017-05-29 02:28:51 UTC (rev 61888)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.5m/patchlevel.h	2017-05-29 11:25:55 UTC (rev 61889)
@@ -18,12 +18,12 @@
 /*--start constants--*/
 #define PY_MAJOR_VERSION	3
 #define PY_MINOR_VERSION	5
-#define PY_MICRO_VERSION	2
+#define PY_MICRO_VERSION	3
 #define PY_RELEASE_LEVEL	PY_RELEASE_LEVEL_FINAL
 #define PY_RELEASE_SERIAL	0
 
 /* Version as a string */
-#define PY_VERSION      	"3.5.2"
+#define PY_VERSION      	"3.5.3"
 /*--end constants--*/
 
 /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

Modified: trunk/lib/darwin-9.x.universal/python/include/python3.5m/pyconfig.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.5m/pyconfig.h	2017-05-29 02:28:51 UTC (rev 61888)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.5m/pyconfig.h	2017-05-29 11:25:55 UTC (rev 61889)
@@ -544,12 +544,12 @@
 /* Define to 1 if you have the <linux/netlink.h> header file. */
 /* #undef HAVE_LINUX_NETLINK_H */
 
+/* Define to 1 if you have the <linux/random.h> header file. */
+/* #undef HAVE_LINUX_RANDOM_H */
+
 /* Define to 1 if you have the <linux/tipc.h> header file. */
 /* #undef HAVE_LINUX_TIPC_H */
 
-/* Define to 1 if you have the <linux/random.h> header file. */
-/* #undef HAVE_LINUX_RANDOM_H */
-
 /* Define to 1 if you have the `lockf' function. */
 #define HAVE_LOCKF 1
 
@@ -697,9 +697,6 @@
 /* Define to 1 if you have the `pwrite' function. */
 #define HAVE_PWRITE 1
 
-/* Define if the libcrypto has RAND_egd */
-#define HAVE_RAND_EGD 1
-
 /* Define to 1 if you have the `readlink' function. */
 #define HAVE_READLINK 1
 
@@ -1009,6 +1006,9 @@
 /* Define to 1 if you have the <sys/poll.h> header file. */
 #define HAVE_SYS_POLL_H 1
 
+/* Define to 1 if you have the <sys/random.h> header file. */
+#define HAVE_SYS_RANDOM_H 1
+
 /* Define to 1 if you have the <sys/resource.h> header file. */
 #define HAVE_SYS_RESOURCE_H 1
 

Modified: trunk/lib/darwin-9.x.universal/python/include/python3.5m/pyfpe.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.5m/pyfpe.h	2017-05-29 02:28:51 UTC (rev 61888)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.5m/pyfpe.h	2017-05-29 11:25:55 UTC (rev 61889)
@@ -45,10 +45,10 @@
  *       Define macros for handling SIGFPE.
  *       Lee Busby, LLNL, November, 1996
  *       busby1 at llnl.gov
- * 
+ *
  *********************************************
  * Overview of the system for handling SIGFPE:
- * 
+ *
  * This file (Include/pyfpe.h) defines a couple of "wrapper" macros for
  * insertion into your Python C code of choice. Their proper use is
  * discussed below. The file Python/pyfpe.c defines a pair of global
@@ -59,33 +59,33 @@
  * named fpectl. This module is standard in every respect. It can be loaded
  * either statically or dynamically as you choose, and like any other
  * Python module, has no effect until you import it.
- * 
+ *
  * In the general case, there are three steps toward handling SIGFPE in any
  * Python code:
- * 
+ *
  * 1) Add the *_PROTECT macros to your C code as required to protect
  *    dangerous floating point sections.
- * 
+ *
  * 2) Turn on the inclusion of the code by adding the ``--with-fpectl''
  *    flag at the time you run configure.  If the fpectl or other modules
  *    which use the *_PROTECT macros are to be dynamically loaded, be
  *    sure they are compiled with WANT_SIGFPE_HANDLER defined.
- * 
+ *
  * 3) When python is built and running, import fpectl, and execute
  *    fpectl.turnon_sigfpe(). This sets up the signal handler and enables
  *    generation of SIGFPE whenever an exception occurs. From this point
  *    on, any properly trapped SIGFPE should result in the Python
  *    FloatingPointError exception.
- * 
+ *
  * Step 1 has been done already for the Python kernel code, and should be
  * done soon for the NumPy array package.  Step 2 is usually done once at
  * python install time. Python's behavior with respect to SIGFPE is not
  * changed unless you also do step 3. Thus you can control this new
  * facility at compile time, or run time, or both.
- * 
- ******************************** 
+ *
+ ********************************

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list