[Python-checkins] cpython (merge 3.5 -> 3.6): Issue #15819: Merge include search from 3.5 into 3.6

martin.panter python-checkins at python.org
Tue Sep 13 09:29:32 EDT 2016


https://hg.python.org/cpython/rev/a90daae58323
changeset: 103759:a90daae58323
branch: 3.6
parent: 103755:912c3a336b6b
parent: 103758:36550e4f9b4c
user: Martin Panter <vadmium+py at gmail.com>
date: Tue Sep 13 12:40:51 2016 +0000
summary:
 Issue #15819: Merge include search from 3.5 into 3.6
files:
 Doc/library/stdtypes.rst | 12 ++++++------
 Makefile.pre.in | 2 +-
 Misc/NEWS | 6 ++++++
 3 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -3875,17 +3875,17 @@
 Test whether the set is a proper superset of *other*, that is, ``set >=
 other and set != other``.
 
- .. method:: union(other, ...)
+ .. method:: union(*others)
 set | other | ...
 
 Return a new set with elements from the set and all others.
 
- .. method:: intersection(other, ...)
+ .. method:: intersection(*others)
 set & other & ...
 
 Return a new set with elements common to the set and all others.
 
- .. method:: difference(other, ...)
+ .. method:: difference(*others)
 set - other - ...
 
 Return a new set with elements in the set that are not in the others.
@@ -3935,17 +3935,17 @@
 The following table lists operations available for :class:`set` that do not
 apply to immutable instances of :class:`frozenset`:
 
- .. method:: update(other, ...)
+ .. method:: update(*others)
 set |= other | ...
 
 Update the set, adding elements from all others.
 
- .. method:: intersection_update(other, ...)
+ .. method:: intersection_update(*others)
 set &= other & ...
 
 Update the set, keeping only elements found in it and all others.
 
- .. method:: difference_update(other, ...)
+ .. method:: difference_update(*others)
 set -= other | ...
 
 Update the set, removing elements found in others.
diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -94,7 +94,7 @@
 # Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to
 # be able to build extension modules using the directories specified in the
 # environment variables
-PY_CPPFLAGS=	$(BASECPPFLAGS) -I. -IInclude -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS)
+PY_CPPFLAGS=	$(BASECPPFLAGS) -I. -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS)
 PY_LDFLAGS=	$(CONFIGURE_LDFLAGS) $(LDFLAGS)
 NO_AS_NEEDED=	@NO_AS_NEEDED@
 LDLAST=		@LDLAST@
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,6 +13,12 @@
 Library
 -------
 
+Build
+-----
+
+- Issue #15819: Remove redundant include search directory option for building
+ outside the source tree.
+
 
 What's New in Python 3.6.0 beta 1
 =================================
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /