[Python-checkins] bpo-34251: Restore msilib.Win64 to preserve compatibility (GH-8510)
Zachary Ware
webhook-mailer at python.org
Sat Jul 28 17:03:00 EDT 2018
https://github.com/python/cpython/commit/11eb1a94704142385ffc07852739863ced8587d2
commit: 11eb1a94704142385ffc07852739863ced8587d2
branch: master
author: Berker Peksag <berker.peksag at gmail.com>
committer: Zachary Ware <zachary.ware at gmail.com>
date: 2018年07月28日T16:02:56-05:00
summary:
bpo-34251: Restore msilib.Win64 to preserve compatibility (GH-8510)
files:
A Misc/NEWS.d/next/Library/2018-07-28-11-47-10.bpo-34251.q3elQ6.rst
M Lib/msilib/__init__.py
diff --git a/Lib/msilib/__init__.py b/Lib/msilib/__init__.py
index 7ab8bcc52c68..8c5251d9baf8 100644
--- a/Lib/msilib/__init__.py
+++ b/Lib/msilib/__init__.py
@@ -8,6 +8,8 @@
import sys
AMD64 = "AMD64" in sys.version
+# Keep msilib.Win64 around to preserve backwards compatibility.
+Win64 = AMD64
# Partially taken from Wine
datasizemask= 0x00ff
diff --git a/Misc/NEWS.d/next/Library/2018-07-28-11-47-10.bpo-34251.q3elQ6.rst b/Misc/NEWS.d/next/Library/2018-07-28-11-47-10.bpo-34251.q3elQ6.rst
new file mode 100644
index 000000000000..098f47e187c7
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-07-28-11-47-10.bpo-34251.q3elQ6.rst
@@ -0,0 +1,2 @@
+Restore ``msilib.Win64`` to preserve backwards compatibility since it's
+already used by :mod:`distutils`' ``bdist_msi`` command.
More information about the Python-checkins
mailing list