diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-09-27 19:37:15 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-09-27 19:37:15 (GMT) |
commit | 21c8d5c7d90e82202f680f0b7af8b9d7c0020949 (patch) | |
tree | 9c6414360483fa8694232664128442910b83cc78 | |
parent | 1f3a88fe55d7bbb30db372c5c4e7fedd05daac8a (diff) | |
download | cpython-21c8d5c7d90e82202f680f0b7af8b9d7c0020949.zip cpython-21c8d5c7d90e82202f680f0b7af8b9d7c0020949.tar.gz cpython-21c8d5c7d90e82202f680f0b7af8b9d7c0020949.tar.bz2 |
Issue #16537: Check whether self.extensions is empty in setup.py.
Patch by Jonathan Hosmer.
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 6 | ||||
-rw-r--r-- | setup.py | 4 |
3 files changed, 10 insertions, 1 deletions
@@ -588,6 +588,7 @@ Randall Hopper Nadav Horesh Alon Horev Jan Hosang +Jonathan Hosmer Alan Hourihane Ken Howard Brad Howes @@ -15,6 +15,12 @@ Library - 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? =========================== @@ -252,7 +252,9 @@ class PyBuildExt(build_ext): 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])) |