9c13a0
--- boost_1_73_0/boost/parameter/python.hpp%	2020-11-13 23:37:19.232520985 +0000
9c13a0
+++ boost_1_73_0/boost/parameter/python.hpp	2020-11-13 23:40:58.808393161 +0000
9c13a0
@@ -66,7 +66,7 @@
9c13a0
       
9c13a0
       if (Py_TYPE(&unspecified) == 0)
9c13a0
       {
9c13a0
-          Py_TYPE(&unspecified) = &PyType_Type;
9c13a0
+          Py_SET_TYPE(&unspecified, &PyType_Type);
9c13a0
           PyType_Ready(&unspecified);
9c13a0
       }
9c13a0
       
9c13a0
--- boost_1_73_0/libs/python/src/object/class.cpp~	2020-11-13 23:37:19.236520983 +0000
9c13a0
+++ boost_1_73_0/libs/python/src/object/class.cpp	2020-11-13 23:40:40.233403979 +0000
9c13a0
@@ -208,7 +208,7 @@
9c13a0
   {
9c13a0
       if (static_data_object.tp_dict == 0)
9c13a0
       {
9c13a0
-          Py_TYPE(&static_data_object) = &PyType_Type;
9c13a0
+          Py_SET_TYPE(&static_data_object, &PyType_Type);
9c13a0
           static_data_object.tp_base = &PyProperty_Type;
9c13a0
           if (PyType_Ready(&static_data_object))
9c13a0
               return 0;
9c13a0
@@ -316,7 +316,7 @@
9c13a0
   {
9c13a0
       if (class_metatype_object.tp_dict == 0)
9c13a0
       {
9c13a0
-          Py_TYPE(&class_metatype_object) = &PyType_Type;
9c13a0
+          Py_SET_TYPE(&class_metatype_object, &PyType_Type);
9c13a0
           class_metatype_object.tp_base = &PyType_Type;
9c13a0
           if (PyType_Ready(&class_metatype_object))
9c13a0
               return type_handle();
9c13a0
@@ -375,11 +375,11 @@
9c13a0
               // there. A negative number indicates that the extra
9c13a0
               // instance memory is not yet allocated to any holders.
9c13a0
 #if PY_VERSION_HEX >= 0x02060000
9c13a0
-              Py_SIZE(result) =
9c13a0
+              Py_SET_SIZE(result,
9c13a0
 #else
9c13a0
-              result->ob_size =
9c13a0
+              result->ob_size = (
9c13a0
 #endif
9c13a0
-                  -(static_cast<int>(offsetof(instance<>,storage) + instance_size));
9c13a0
+                  -(static_cast<int>(offsetof(instance<>,storage) + instance_size)));
9c13a0
           }
9c13a0
           return (PyObject*)result;
9c13a0
       }
9c13a0
@@ -470,7 +470,7 @@
9c13a0
   {
9c13a0
       if (class_type_object.tp_dict == 0)
9c13a0
       {
9c13a0
-          Py_TYPE(&class_type_object) = incref(class_metatype().get());
9c13a0
+          Py_SET_TYPE(&class_type_object, incref(class_metatype().get()));
9c13a0
           class_type_object.tp_base = &PyBaseObject_Type;
9c13a0
           if (PyType_Ready(&class_type_object))
9c13a0
               return type_handle();
9c13a0
@@ -739,7 +739,7 @@
9c13a0
         assert(holder_offset >= offsetof(objects::instance<>,storage));
9c13a0
 
9c13a0
         // Record the fact that the storage is occupied, noting where it starts
9c13a0
-        Py_SIZE(self) = holder_offset;
9c13a0
+        Py_SET_SIZE(self, holder_offset);
9c13a0
         return (char*)self + holder_offset;
9c13a0
     }
9c13a0
     else
9c13a0
--- boost_1_73_0/libs/python/src/object/life_support.cpp~	2020-11-13 23:37:19.240520980 +0000
9c13a0
+++ boost_1_73_0/libs/python/src/object/life_support.cpp	2020-11-13 23:39:37.492440504 +0000
9c13a0
@@ -93,7 +93,7 @@
9c13a0
     
9c13a0
     if (Py_TYPE(&life_support_type) == 0)
9c13a0
     {
9c13a0
-        Py_TYPE(&life_support_type) = &PyType_Type;
9c13a0
+        Py_SET_TYPE(&life_support_type, &PyType_Type);
9c13a0
         PyType_Ready(&life_support_type);
9c13a0
     }
9c13a0
     
9c13a0
--- boost_1_73_0/libs/python/src/object/function.cpp~	2020-11-13 23:37:19.244520978 +0000
9c13a0
+++ boost_1_73_0/libs/python/src/object/function.cpp	2020-11-13 23:39:14.260454029 +0000
9c13a0
@@ -107,7 +107,7 @@
9c13a0
     PyObject* p = this;
9c13a0
     if (Py_TYPE(&function_type) == 0)
9c13a0
     {
9c13a0
-        Py_TYPE(&function_type) = &PyType_Type;
9c13a0
+        Py_SET_TYPE(&function_type, &PyType_Type);
9c13a0
         ::PyType_Ready(&function_type);
9c13a0
     }
9c13a0
     
9c13a0
--- boost_1_73_0/libs/python/src/object/enum.cpp~	2020-11-13 23:37:19.248520976 +0000
9c13a0
+++ boost_1_73_0/libs/python/src/object/enum.cpp	2020-11-13 23:38:51.943467016 +0000
9c13a0
@@ -153,7 +153,7 @@
9c13a0
   {
9c13a0
       if (enum_type_object.tp_dict == 0)
9c13a0
       {
9c13a0
-          Py_TYPE(&enum_type_object) = incref(&PyType_Type);
9c13a0
+          Py_SET_TYPE(&enum_type_object, incref(&PyType_Type));
9c13a0
 #if PY_VERSION_HEX >= 0x03000000
9c13a0
           enum_type_object.tp_base = &PyLong_Type;
9c13a0
 #else
9c13a0
--- boost_1_73_0/boost/python/object/make_instance.hpp~	2020-11-14 00:26:47.356724835 +0000
9c13a0
+++ boost_1_73_0/boost/python/object/make_instance.hpp	2020-11-14 00:26:49.947723159 +0000
9c13a0
@@ -47,7 +47,7 @@
9c13a0
               
9c13a0
             // Note the position of the internally-stored Holder,
9c13a0
             // for the sake of destruction
9c13a0
-            Py_SIZE(instance) = offsetof(instance_t, storage);
9c13a0
+            Py_SET_SIZE(instance, offsetof(instance_t, storage));
9c13a0
 
9c13a0
             // Release ownership of the python object
9c13a0
             protect.cancel();