Commit 8a698ed7 authored by Berker Peksag's avatar Berker Peksag

Merge heads.

parents 6f1e400d a72bc8c3
......@@ -592,6 +592,7 @@ Randall Hopper
Nadav Horesh
Alon Horev
Jan Hosang
Jonathan Hosmer
Alan Hourihane
Ken Howard
Brad Howes
......
......@@ -977,6 +977,9 @@ IDLE
Build
-----
- Issue #16537: Check whether self.extensions is empty in setup.py. Patch by
Jonathan Hosmer.
- Issue #22359: Remove incorrect uses of recursive make. Patch by Jonas
Wagner.
......
......@@ -263,7 +263,9 @@ class PyBuildExt(build_ext):
for ext in self.extensions:
self.check_extension_import(ext)
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 or self.failed_on_import:
all_failed = self.failed + self.failed_on_import
longest = max(longest, max([len(name) for name in all_failed]))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment