[Python-checkins] cpython (merge 3.4 -> 3.4): Merge heads.
berker.peksag
python-checkins at python.org
Sat Sep 27 21:49:38 CEST 2014
https://hg.python.org/cpython/rev/95cc6220383c
changeset: 92604:95cc6220383c
branch: 3.4
parent: 92600:b717128799b5
parent: 92602:a169ee4f254a
user: Berker Peksag <berker.peksag at gmail.com>
date: Sat Sep 27 22:47:59 2014 +0300
summary:
Merge heads.
files:
Misc/ACKS | 1 +
Misc/NEWS | 6 ++++++
setup.py | 4 +++-
3 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -588,6 +588,7 @@
Nadav Horesh
Alon Horev
Jan Hosang
+Jonathan Hosmer
Alan Hourihane
Ken Howard
Brad Howes
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,12 @@
- Issue #22448: Improve canceled timer handles cleanup to prevent
unbound memory usage. Patch by Joshua Moore-Oliva.
+Build
+-----
+
+- Issue #16537: Check whether self.extensions is empty in setup.py. Patch by
+ Jonathan Hosmer.
+
What's New in Python 3.4.2?
===========================
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -252,7 +252,9 @@
build_ext.build_extensions(self)
- longest = max([len(e.name) for e in self.extensions])
+ longest = 0
+ if self.extensions:
+ longest = max([len(e.name) for e in self.extensions])
if self.failed:
longest = max(longest, max([len(name) for name in self.failed]))
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list