summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2016-06-14 06:55:19 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2016-06-14 06:55:19 (GMT)
commit5553231b91e05cf93827b33a79aebe62c4370a09 (patch)
tree954bd7ebb02bc705d1df336f616aedea979ea1b3 /Python
parentc09087680eb908406d7331323e92a657182c7b89 (diff)
downloadcpython-5553231b91e05cf93827b33a79aebe62c4370a09.zip
cpython-5553231b91e05cf93827b33a79aebe62c4370a09.tar.gz
cpython-5553231b91e05cf93827b33a79aebe62c4370a09.tar.bz2
- Issue #23968: Rename the platform directory from plat-$(MACHDEP) to
plat-$(PLATFORM_TRIPLET). Rename the config directory (LIBPL) from config-$(LDVERSION) to config-$(LDVERSION)-$(PLATFORM_TRIPLET). Install the platform specifc _sysconfigdata module into the platform directory and rename it to include the ABIFLAGS.
Diffstat (limited to 'Python')
-rw-r--r--Python/sysmodule.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index b519912..56175d9 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1693,6 +1693,16 @@ make_impl_info(PyObject *version_info)
if (res < 0)
goto error;
+#ifdef MULTIARCH
+ value = PyUnicode_FromString(MULTIARCH);
+ if (value == NULL)
+ goto error;
+ res = PyDict_SetItemString(impl_info, "_multiarch", value);
+ Py_DECREF(value);
+ if (res < 0)
+ goto error;
+#endif
+
/* dict ready */
ns = _PyNamespace_New(impl_info);