python3: Update to 3.6.5

This commit is contained in:
Alexey Pavlov
2018-06-27 11:33:38 +03:00
parent ddb5ac5006
commit 2ff5e3aec1
6 changed files with 45 additions and 173 deletions

View File

@@ -480,15 +480,6 @@ diff -Naur Python-3.4.3-orig/setup.py Python-3.4.3/setup.py
self.announce('WARNING: skipping import check for Cygwin-based "%s"'
% ext.name)
return
@@ -1339,7 +1339,7 @@
exts.append( Extension('resource', ['resource.c']) )
# Sun yellow pages. Some systems have the functions in libc.
- if (host_platform not in ['cygwin', 'qnx6'] and
+ if (host_platform not in ['cygwin', 'msys', 'qnx6'] and
find_file('rpcsvc/yp_prot.h', inc_dirs, []) is not None):
if (self.compiler.find_library_file(lib_dirs, 'nsl')):
libs = ['nsl']
@@ -1577,6 +1577,10 @@
macros = dict()
libraries = []
@@ -500,6 +491,15 @@ diff -Naur Python-3.4.3-orig/setup.py Python-3.4.3/setup.py
elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'):
# FreeBSD's P1003.1b semaphore support is very experimental
# and has many known problems. (as of June 2008)
@@ -2223,7 +2223,7 @@
return ext
def _detect_nis(self, inc_dirs, lib_dirs):
- if host_platform in {'win32', 'cygwin', 'qnx6'}:
+ if host_platform in {'win32', 'cygwin', 'msys', 'qnx6'}:
return None
libs = []
diff -aur Python-3.6.0/Lib/test/test_asyncio/test_base_events.py.orig Python-3.6.0/Lib/test/test_asyncio/test_base_events.py
--- Python-3.6.0/Lib/test/test_asyncio/test_base_events.py.orig 2017-02-08 15:03:29.184676300 -0500
+++ Python-3.6.0/Lib/test/test_asyncio/test_base_events.py 2017-02-08 15:49:05.932013200 -0500