Update Python3
This commit is contained in:
@@ -11,10 +11,10 @@ diff -Naur Python-3.4.3-orig/config.guess Python-3.4.3/config.guess
|
||||
p*:CYGWIN*:*)
|
||||
echo powerpcle-unknown-cygwin
|
||||
exit ;;
|
||||
diff -Naur Python-3.4.3-orig/configure.ac Python-3.4.3/configure.ac
|
||||
--- Python-3.4.3-orig/configure.ac 2015-05-07 09:55:44.998000000 +0300
|
||||
+++ Python-3.4.3/configure.ac 2015-05-07 09:58:31.825600000 +0300
|
||||
@@ -373,6 +373,9 @@
|
||||
diff -Naur Python-3.6.0/configure.ac.orig Python-3.6.0/configure.ac
|
||||
--- Python-3.6.0/configure.ac.orig 2017-02-08 09:14:49.544766100 -0500
|
||||
+++ Python-3.6.0/configure.ac 2017-02-08 09:23:26.742594900 -0500
|
||||
@@ -383,6 +383,9 @@
|
||||
*-*-cygwin*)
|
||||
ac_sys_system=Cygwin
|
||||
;;
|
||||
@@ -24,7 +24,7 @@ diff -Naur Python-3.4.3-orig/configure.ac Python-3.4.3/configure.ac
|
||||
*)
|
||||
# for now, limit cross builds to known configurations
|
||||
MACHDEP="unknown"
|
||||
@@ -397,6 +400,7 @@
|
||||
@@ -407,6 +410,7 @@
|
||||
case $MACHDEP in
|
||||
linux*) MACHDEP="linux";;
|
||||
cygwin*) MACHDEP="cygwin";;
|
||||
@@ -32,7 +32,7 @@ diff -Naur Python-3.4.3-orig/configure.ac Python-3.4.3/configure.ac
|
||||
darwin*) MACHDEP="darwin";;
|
||||
irix646) MACHDEP="irix6";;
|
||||
'') MACHDEP="unknown";;
|
||||
@@ -418,6 +422,9 @@
|
||||
@@ -428,6 +432,9 @@
|
||||
*-*-cygwin*)
|
||||
_host_cpu=
|
||||
;;
|
||||
@@ -42,16 +42,16 @@ diff -Naur Python-3.4.3-orig/configure.ac Python-3.4.3/configure.ac
|
||||
*)
|
||||
# for now, limit cross builds to known configurations
|
||||
MACHDEP="unknown"
|
||||
@@ -892,7 +899,7 @@
|
||||
@@ -1087,7 +1094,7 @@
|
||||
if test -z "$enable_shared"
|
||||
then
|
||||
then
|
||||
case $ac_sys_system in
|
||||
- CYGWIN*)
|
||||
+ CYGWIN*|MSYS*)
|
||||
enable_shared="yes";;
|
||||
*)
|
||||
enable_shared="no";;
|
||||
@@ -947,6 +954,11 @@
|
||||
@@ -1142,6 +1149,11 @@
|
||||
BLDLIBRARY='-L. -lpython$(LDVERSION)'
|
||||
DLLLIBRARY='libpython$(LDVERSION).dll'
|
||||
;;
|
||||
@@ -63,7 +63,7 @@ diff -Naur Python-3.4.3-orig/configure.ac Python-3.4.3/configure.ac
|
||||
SunOS*)
|
||||
LDLIBRARY='libpython$(LDVERSION).so'
|
||||
BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
|
||||
@@ -998,7 +1010,7 @@
|
||||
@@ -1188,7 +1200,7 @@
|
||||
else # shared is disabled
|
||||
PY_ENABLE_SHARED=0
|
||||
case $ac_sys_system in
|
||||
@@ -72,7 +72,7 @@ diff -Naur Python-3.4.3-orig/configure.ac Python-3.4.3/configure.ac
|
||||
BLDLIBRARY='$(LIBRARY)'
|
||||
LDLIBRARY='libpython$(LDVERSION).dll.a'
|
||||
;;
|
||||
@@ -1056,7 +1068,7 @@
|
||||
@@ -1238,7 +1250,7 @@
|
||||
AC_SUBST(LN)
|
||||
if test -z "$LN" ; then
|
||||
case $ac_sys_system in
|
||||
@@ -81,7 +81,7 @@ diff -Naur Python-3.4.3-orig/configure.ac Python-3.4.3/configure.ac
|
||||
*) LN=ln;;
|
||||
esac
|
||||
fi
|
||||
@@ -1962,7 +1974,7 @@
|
||||
@@ -2380,7 +2392,7 @@
|
||||
*) SHLIB_SUFFIX=.sl;;
|
||||
esac
|
||||
;;
|
||||
@@ -90,7 +90,7 @@ diff -Naur Python-3.4.3-orig/configure.ac Python-3.4.3/configure.ac
|
||||
*) SHLIB_SUFFIX=.so;;
|
||||
esac
|
||||
fi
|
||||
@@ -2100,7 +2112,7 @@
|
||||
@@ -2518,7 +2530,7 @@
|
||||
SCO_SV*)
|
||||
LDSHARED='$(CC) -Wl,-G,-Bexport'
|
||||
LDCXXSHARED='$(CXX) -Wl,-G,-Bexport';;
|
||||
@@ -99,7 +99,7 @@ diff -Naur Python-3.4.3-orig/configure.ac Python-3.4.3/configure.ac
|
||||
LDSHARED="gcc -shared -Wl,--enable-auto-image-base"
|
||||
LDCXXSHARED="g++ -shared -Wl,--enable-auto-image-base";;
|
||||
*) LDSHARED="ld";;
|
||||
@@ -2186,7 +2198,7 @@
|
||||
@@ -2606,7 +2618,7 @@
|
||||
LINKFORSHARED="-Xlinker --export-dynamic"
|
||||
fi;;
|
||||
esac;;
|
||||
@@ -108,7 +108,7 @@ diff -Naur Python-3.4.3-orig/configure.ac Python-3.4.3/configure.ac
|
||||
if test $enable_shared = "no"
|
||||
then
|
||||
LINKFORSHARED='-Wl,--out-implib=$(LDLIBRARY)'
|
||||
@@ -2208,7 +2220,7 @@
|
||||
@@ -2628,7 +2640,7 @@
|
||||
if test ! "$LIBRARY" = "$LDLIBRARY"
|
||||
then
|
||||
case $ac_sys_system in
|
||||
@@ -117,7 +117,7 @@ diff -Naur Python-3.4.3-orig/configure.ac Python-3.4.3/configure.ac
|
||||
# Cygwin needs CCSHARED when building extension DLLs
|
||||
# but not when building the interpreter DLL.
|
||||
CFLAGSFORSHARED='';;
|
||||
@@ -2637,7 +2649,7 @@
|
||||
@@ -3061,7 +3073,7 @@
|
||||
fi
|
||||
AC_CHECK_FUNCS(pthread_sigmask,
|
||||
[case $ac_sys_system in
|
||||
@@ -126,19 +126,28 @@ diff -Naur Python-3.4.3-orig/configure.ac Python-3.4.3/configure.ac
|
||||
AC_DEFINE(HAVE_BROKEN_PTHREAD_SIGMASK, 1,
|
||||
[Define if pthread_sigmask() does not work on your system.])
|
||||
;;
|
||||
@@ -4097,7 +4109,7 @@
|
||||
@@ -4609,7 +4621,7 @@
|
||||
|
||||
AC_SUBST(EXT_SUFFIX)
|
||||
case $ac_sys_system in
|
||||
- Linux*|GNU*|CYGWIN*)
|
||||
+ Linux*|GNU*|CYGWIN*|MSYS*)
|
||||
- Linux*|GNU*|Darwin|CYGWIN*)
|
||||
+ Linux*|GNU*|Darwin|CYGWIN*|MSYS*)
|
||||
EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX};;
|
||||
*)
|
||||
EXT_SUFFIX=${SHLIB_SUFFIX};;
|
||||
diff -Naur Python-3.4.3-orig/Lib/asyncio/base_events.py Python-3.4.3/Lib/asyncio/base_events.py
|
||||
--- Python-3.4.3-orig/Lib/asyncio/base_events.py 2015-02-25 14:27:44.000000000 +0300
|
||||
+++ Python-3.4.3/Lib/asyncio/base_events.py 2015-05-07 09:58:31.825600000 +0300
|
||||
@@ -784,7 +784,7 @@
|
||||
diff -Naur Python-3.6.0/Lib/asyncio/base_events.py.orig Python-3.6.0/Lib/asyncio/base_events.py
|
||||
--- Python-3.6.0/Lib/asyncio/base_events.py.orig 2016-12-22 21:21:19.000000000 -0500
|
||||
+++ Python-3.6.0/Lib/asyncio/base_events.py 2017-02-08 08:59:15.247005800 -0500
|
||||
@@ -895,7 +895,7 @@
|
||||
exceptions = []
|
||||
|
||||
if reuse_address is None:
|
||||
- reuse_address = os.name == 'posix' and sys.platform != 'cygwin'
|
||||
+ reuse_address = os.name == 'posix' and sys.platform != 'cygwin' and sys.platform != 'msys'
|
||||
|
||||
for ((family, proto),
|
||||
(local_address, remote_address)) in addr_pairs_info:
|
||||
@@ -997,7 +997,7 @@
|
||||
|
||||
AF_INET6 = getattr(socket, 'AF_INET6', 0)
|
||||
if reuse_address is None:
|
||||
@@ -146,7 +155,7 @@ diff -Naur Python-3.4.3-orig/Lib/asyncio/base_events.py Python-3.4.3/Lib/asyncio
|
||||
+ reuse_address = os.name == 'posix' and sys.platform != 'cygwin' and sys.platform != 'msys'
|
||||
sockets = []
|
||||
if host == '':
|
||||
host = None
|
||||
hosts = [None]
|
||||
diff -Naur Python-3.4.3-orig/Lib/ctypes/__init__.py Python-3.4.3/Lib/ctypes/__init__.py
|
||||
--- Python-3.4.3-orig/Lib/ctypes/__init__.py 2015-05-07 09:55:34.078000000 +0300
|
||||
+++ Python-3.4.3/Lib/ctypes/__init__.py 2015-05-07 09:58:31.825600000 +0300
|
||||
@@ -158,9 +167,9 @@ diff -Naur Python-3.4.3-orig/Lib/ctypes/__init__.py Python-3.4.3/Lib/ctypes/__in
|
||||
|
||||
__version__ = "1.1.0"
|
||||
|
||||
@@ -433,9 +433,8 @@
|
||||
@@ -430,9 +430,8 @@
|
||||
|
||||
if _os.name in ("nt", "ce"):
|
||||
if _os.name == "nt":
|
||||
pythonapi = PyDLL("python dll", None, _sys.dllhandle)
|
||||
-elif _sys.platform == "cygwin":
|
||||
- pythonapi = PyDLL("libpython%d.%d%s.dll" % \
|
||||
@@ -173,8 +182,8 @@ diff -Naur Python-3.4.3-orig/Lib/ctypes/__init__.py Python-3.4.3/Lib/ctypes/__in
|
||||
diff -Naur Python-3.4.3-orig/Lib/ctypes/test/test_loading.py Python-3.4.3/Lib/ctypes/test/test_loading.py
|
||||
--- Python-3.4.3-orig/Lib/ctypes/test/test_loading.py 2015-02-25 14:27:44.000000000 +0300
|
||||
+++ Python-3.4.3/Lib/ctypes/test/test_loading.py 2015-05-07 09:58:31.841200000 +0300
|
||||
@@ -15,6 +15,8 @@
|
||||
libc_name = "coredll"
|
||||
@@ -13,6 +13,8 @@
|
||||
libc_name = find_library("c")
|
||||
elif sys.platform == "cygwin":
|
||||
libc_name = "cygwin1.dll"
|
||||
+ elif sys.platform == "msys":
|
||||
@@ -185,7 +194,7 @@ diff -Naur Python-3.4.3-orig/Lib/ctypes/test/test_loading.py Python-3.4.3/Lib/ct
|
||||
diff -Naur Python-3.4.3-orig/Lib/ctypes/util.py Python-3.4.3/Lib/ctypes/util.py
|
||||
--- Python-3.4.3-orig/Lib/ctypes/util.py 2015-05-07 09:55:34.078000000 +0300
|
||||
+++ Python-3.4.3/Lib/ctypes/util.py 2015-05-07 10:01:40.261800000 +0300
|
||||
@@ -83,7 +83,7 @@
|
||||
@@ -80,7 +80,7 @@
|
||||
continue
|
||||
return None
|
||||
|
||||
@@ -194,7 +203,7 @@ diff -Naur Python-3.4.3-orig/Lib/ctypes/util.py Python-3.4.3/Lib/ctypes/util.py
|
||||
def find_library(name):
|
||||
for libdir in ['/usr/lib', '/usr/local/lib']:
|
||||
for libext in ['lib%s.dll.a' % name, 'lib%s.a' % name]:
|
||||
@@ -281,6 +281,10 @@
|
||||
@@ -351,6 +351,10 @@
|
||||
print(cdll.LoadLibrary("cygbz2-1.dll"))
|
||||
print(cdll.LoadLibrary("cygcrypt-0.dll"))
|
||||
print(find_library("crypt"))
|
||||
@@ -228,7 +237,7 @@ diff -Naur Python-3.4.3-orig/Lib/distutils/ccompiler.py Python-3.4.3/Lib/distuti
|
||||
diff -Naur Python-3.4.3-orig/Lib/distutils/command/build_ext.py Python-3.4.3/Lib/distutils/command/build_ext.py
|
||||
--- Python-3.4.3-orig/Lib/distutils/command/build_ext.py 2015-05-07 09:55:34.811200000 +0300
|
||||
+++ Python-3.4.3/Lib/distutils/command/build_ext.py 2015-05-07 09:58:31.856800000 +0300
|
||||
@@ -223,7 +223,7 @@
|
||||
@@ -217,7 +217,7 @@
|
||||
|
||||
# for extensions under Cygwin and AtheOS Python's library directory must be
|
||||
# appended to library_dirs
|
||||
@@ -237,7 +246,7 @@ diff -Naur Python-3.4.3-orig/Lib/distutils/command/build_ext.py Python-3.4.3/Lib
|
||||
if sys.executable.startswith(os.path.join(sys.exec_prefix, "bin")):
|
||||
# building third party extensions
|
||||
self.library_dirs.append(os.path.join(sys.prefix, "lib",
|
||||
@@ -695,7 +695,7 @@
|
||||
@@ -715,7 +715,7 @@
|
||||
return ext.libraries + [pythonlib]
|
||||
else:
|
||||
return ext.libraries
|
||||
@@ -258,7 +267,7 @@ diff -Naur Python-3.4.3-orig/Lib/distutils/cygwinccompiler.py Python-3.4.3/Lib/d
|
||||
diff -Naur Python-3.4.3-orig/Lib/distutils/sysconfig.py Python-3.4.3/Lib/distutils/sysconfig.py
|
||||
--- Python-3.4.3-orig/Lib/distutils/sysconfig.py 2015-05-07 09:55:46.604800000 +0300
|
||||
+++ Python-3.4.3/Lib/distutils/sysconfig.py 2015-05-07 10:07:03.222600000 +0300
|
||||
@@ -166,7 +166,7 @@
|
||||
@@ -157,7 +157,7 @@
|
||||
varies across Unices and is stored in Python's Makefile.
|
||||
"""
|
||||
global _config_vars
|
||||
@@ -267,7 +276,7 @@ diff -Naur Python-3.4.3-orig/Lib/distutils/sysconfig.py Python-3.4.3/Lib/distuti
|
||||
# Note that cygwin use posix build and 'unix' compiler.
|
||||
# If build is not based on posix then we must predefine
|
||||
# some environment variables corresponding to posix
|
||||
@@ -181,7 +181,7 @@
|
||||
@@ -172,7 +172,7 @@
|
||||
_config_vars['AR'] = "ar"
|
||||
_config_vars['ARFLAGS'] = "rc"
|
||||
|
||||
@@ -288,19 +297,19 @@ diff -Naur Python-3.4.3-orig/Lib/distutils/tests/support.py Python-3.4.3/Lib/dis
|
||||
|
||||
def mkdtemp(self):
|
||||
"""Create a temporary directory that will be cleaned up.
|
||||
diff -Naur Python-3.4.3-orig/Lib/distutils/unixccompiler.py Python-3.4.3/Lib/distutils/unixccompiler.py
|
||||
--- Python-3.4.3-orig/Lib/distutils/unixccompiler.py 2015-05-07 09:55:44.108800000 +0300
|
||||
+++ Python-3.4.3/Lib/distutils/unixccompiler.py 2015-05-07 09:58:31.856800000 +0300
|
||||
@@ -77,7 +77,7 @@
|
||||
shared_lib_extension = ".so"
|
||||
dylib_lib_extension = ".dylib"
|
||||
diff -Naur Python-3.6.0/Lib/distutils/unixccompiler.py.orig Python-3.6.0/Lib/distutils/unixccompiler.py
|
||||
--- Python-3.6.0/Lib/distutils/unixccompiler.py.orig 2017-02-08 08:22:40.592815800 -0500
|
||||
+++ Python-3.6.0/Lib/distutils/unixccompiler.py 2017-02-08 08:32:38.946960100 -0500
|
||||
@@ -79,7 +79,7 @@
|
||||
xcode_stub_lib_extension = ".tbd"
|
||||
static_lib_format = shared_lib_format = dylib_lib_format = "lib%s%s"
|
||||
xcode_stub_lib_format = dylib_lib_format
|
||||
- if sys.platform == "cygwin":
|
||||
+ if sys.platform in ["cygwin", "msys"]:
|
||||
exe_extension = ".exe"
|
||||
dylib_lib_extension = ".dll.a"
|
||||
|
||||
@@ -223,7 +223,7 @@
|
||||
@@ -225,7 +225,7 @@
|
||||
# the configuration data stored in the Python installation, so
|
||||
# we use this hack.
|
||||
compiler = os.path.basename(sysconfig.get_config_var("CC"))
|
||||
@@ -308,7 +317,7 @@ diff -Naur Python-3.4.3-orig/Lib/distutils/unixccompiler.py Python-3.4.3/Lib/dis
|
||||
+ if sys.platform[:6] == "darwin" or sys.platform[:6] == "cygwin" or sys.platform[:4] == "msys":
|
||||
# MacOSX's linker doesn't understand the -R flag at all
|
||||
return "-L" + dir
|
||||
elif sys.platform[:5] == "hp-ux":
|
||||
elif sys.platform[:7] == "freebsd":
|
||||
diff -Naur Python-3.4.3-orig/Lib/distutils/util.py Python-3.4.3/Lib/distutils/util.py
|
||||
--- Python-3.4.3-orig/Lib/distutils/util.py 2015-02-25 14:27:44.000000000 +0300
|
||||
+++ Python-3.4.3/Lib/distutils/util.py 2015-05-07 09:58:31.872400000 +0300
|
||||
@@ -325,22 +334,22 @@ diff -Naur Python-3.4.3-orig/Lib/distutils/util.py Python-3.4.3/Lib/distutils/ut
|
||||
elif osname[:6] == "darwin":
|
||||
import _osx_support, distutils.sysconfig
|
||||
osname, release, machine = _osx_support.get_platform_osx(
|
||||
diff -Naur Python-3.4.3-orig/Lib/importlib/_bootstrap.py Python-3.4.3/Lib/importlib/_bootstrap.py
|
||||
--- Python-3.4.3-orig/Lib/importlib/_bootstrap.py 2015-02-25 14:27:44.000000000 +0300
|
||||
+++ Python-3.4.3/Lib/importlib/_bootstrap.py 2015-05-07 09:58:31.872400000 +0300
|
||||
diff -Naur Python-3.6.0/Lib/importlib/_bootstrap_external.py.orig Python-3.6.0/Lib/importlib/_bootstrap_external.py
|
||||
--- Python-3.6.0/Lib/importlib/_bootstrap_external.py.orig 2017-02-08 08:43:48.316520300 -0500
|
||||
+++ Python-3.6.0/Lib/importlib/_bootstrap_external.py 2017-02-08 08:44:28.339129300 -0500
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
# Bootstrap-related code ######################################################
|
||||
|
||||
-_CASE_INSENSITIVE_PLATFORMS = 'win', 'cygwin', 'darwin'
|
||||
+_CASE_INSENSITIVE_PLATFORMS = 'win', 'cygwin', 'msys', 'darwin'
|
||||
|
||||
|
||||
def _make_relax_case():
|
||||
_CASE_INSENSITIVE_PLATFORMS_STR_KEY = 'win',
|
||||
-_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY = 'cygwin', 'darwin'
|
||||
+_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY = 'cygwin', 'msys', 'darwin'
|
||||
_CASE_INSENSITIVE_PLATFORMS = (_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY
|
||||
+ _CASE_INSENSITIVE_PLATFORMS_STR_KEY)
|
||||
|
||||
diff -Naur Python-3.4.3-orig/Lib/sysconfig.py Python-3.4.3/Lib/sysconfig.py
|
||||
--- Python-3.4.3-orig/Lib/sysconfig.py 2015-02-25 14:27:44.000000000 +0300
|
||||
+++ Python-3.4.3/Lib/sysconfig.py 2015-05-07 09:58:34.087600000 +0300
|
||||
@@ -671,6 +671,13 @@
|
||||
@@ -683,6 +683,13 @@
|
||||
m = rel_re.match(release)
|
||||
if m:
|
||||
release = m.group()
|
||||
@@ -357,7 +366,7 @@ diff -Naur Python-3.4.3-orig/Lib/sysconfig.py Python-3.4.3/Lib/sysconfig.py
|
||||
diff -Naur Python-3.4.3-orig/Lib/tempfile.py Python-3.4.3/Lib/tempfile.py
|
||||
--- Python-3.4.3-orig/Lib/tempfile.py 2015-02-25 14:27:44.000000000 +0300
|
||||
+++ Python-3.4.3/Lib/tempfile.py 2015-05-07 09:58:35.086000000 +0300
|
||||
@@ -467,7 +467,7 @@
|
||||
@@ -557,7 +557,7 @@
|
||||
_os.close(fd)
|
||||
raise
|
||||
|
||||
@@ -369,19 +378,19 @@ diff -Naur Python-3.4.3-orig/Lib/tempfile.py Python-3.4.3/Lib/tempfile.py
|
||||
diff -Naur Python-3.4.3-orig/Lib/test/test_curses.py Python-3.4.3/Lib/test/test_curses.py
|
||||
--- Python-3.4.3-orig/Lib/test/test_curses.py 2015-02-25 14:27:45.000000000 +0300
|
||||
+++ Python-3.4.3/Lib/test/test_curses.py 2015-05-07 09:58:35.086000000 +0300
|
||||
@@ -33,6 +33,8 @@
|
||||
@@ -40,6 +40,8 @@
|
||||
"$TERM=%r, calling initscr() may cause exit" % term)
|
||||
@unittest.skipIf(sys.platform == "cygwin",
|
||||
"cygwin's curses mostly just hangs")
|
||||
+@unittest.skipIf(sys.platform == "msys",
|
||||
+ "msys's curses mostly just hangs")
|
||||
class TestCurses(unittest.TestCase):
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
diff -Naur Python-3.4.3-orig/Lib/test/test_importlib/util.py Python-3.4.3/Lib/test/test_importlib/util.py
|
||||
--- Python-3.4.3-orig/Lib/test/test_importlib/util.py 2015-02-25 14:27:45.000000000 +0300
|
||||
+++ Python-3.4.3/Lib/test/test_importlib/util.py 2015-05-07 09:58:35.086000000 +0300
|
||||
@@ -31,7 +31,7 @@
|
||||
@@ -85,7 +85,7 @@
|
||||
CASE_INSENSITIVE_FS = True
|
||||
# Windows is the only OS that is *always* case-insensitive
|
||||
# (OS X *can* be case-sensitive).
|
||||
@@ -393,7 +402,7 @@ diff -Naur Python-3.4.3-orig/Lib/test/test_importlib/util.py Python-3.4.3/Lib/te
|
||||
diff -Naur Python-3.4.3-orig/Lib/test/test_mailbox.py Python-3.4.3/Lib/test/test_mailbox.py
|
||||
--- Python-3.4.3-orig/Lib/test/test_mailbox.py 2015-02-25 14:27:45.000000000 +0300
|
||||
+++ Python-3.4.3/Lib/test/test_mailbox.py 2015-05-07 09:58:35.086000000 +0300
|
||||
@@ -596,7 +596,7 @@
|
||||
@@ -591,7 +591,7 @@
|
||||
|
||||
def setUp(self):
|
||||
TestMailbox.setUp(self)
|
||||
@@ -417,7 +426,7 @@ diff -Naur Python-3.4.3-orig/Lib/test/test_netrc.py Python-3.4.3/Lib/test/test_n
|
||||
diff -Naur Python-3.4.3-orig/Lib/test/test_shutil.py Python-3.4.3/Lib/test/test_shutil.py
|
||||
--- Python-3.4.3-orig/Lib/test/test_shutil.py 2015-02-25 14:27:45.000000000 +0300
|
||||
+++ Python-3.4.3/Lib/test/test_shutil.py 2015-05-07 09:58:35.117200000 +0300
|
||||
@@ -99,7 +99,7 @@
|
||||
@@ -97,7 +97,7 @@
|
||||
super(TestShutil, self).tearDown()
|
||||
while self.tempdirs:
|
||||
d = self.tempdirs.pop()
|
||||
@@ -426,7 +435,7 @@ diff -Naur Python-3.4.3-orig/Lib/test/test_shutil.py Python-3.4.3/Lib/test/test_
|
||||
|
||||
|
||||
def mkdtemp(self):
|
||||
@@ -200,7 +200,7 @@
|
||||
@@ -196,7 +196,7 @@
|
||||
|
||||
|
||||
@unittest.skipUnless(hasattr(os, 'chmod'), 'requires os.chmod()')
|
||||
@@ -450,8 +459,8 @@ diff -Naur Python-3.4.3-orig/Lib/tkinter/test/test_tkinter/test_loadtk.py Python
|
||||
diff -Naur Python-3.4.3-orig/Modules/makesetup Python-3.4.3/Modules/makesetup
|
||||
--- Python-3.4.3-orig/Modules/makesetup 2015-05-07 09:55:42.954400000 +0300
|
||||
+++ Python-3.4.3/Modules/makesetup 2015-05-07 09:58:35.132800000 +0300
|
||||
@@ -85,7 +85,7 @@
|
||||
# Setup to link with extra libraries when makeing shared extensions.
|
||||
@@ -86,7 +86,7 @@
|
||||
# Setup to link with extra libraries when making shared extensions.
|
||||
# Currently, only Cygwin needs this baggage.
|
||||
case `uname -s` in
|
||||
-CYGWIN*) if test $libdir = .
|
||||
@@ -462,7 +471,7 @@ diff -Naur Python-3.4.3-orig/Modules/makesetup Python-3.4.3/Modules/makesetup
|
||||
diff -Naur Python-3.4.3-orig/setup.py Python-3.4.3/setup.py
|
||||
--- Python-3.4.3-orig/setup.py 2015-05-07 09:55:33.329200000 +0300
|
||||
+++ Python-3.4.3/setup.py 2015-05-07 09:58:35.132800000 +0300
|
||||
@@ -317,7 +317,7 @@
|
||||
@@ -361,7 +361,7 @@
|
||||
|
||||
# Workaround for Cygwin: Cygwin currently has fork issues when many
|
||||
# modules have been imported
|
||||
@@ -471,7 +480,7 @@ 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
|
||||
@@ -1263,7 +1263,7 @@
|
||||
@@ -1339,7 +1339,7 @@
|
||||
exts.append( Extension('resource', ['resource.c']) )
|
||||
|
||||
# Sun yellow pages. Some systems have the functions in libc.
|
||||
@@ -480,7 +489,7 @@ diff -Naur Python-3.4.3-orig/setup.py Python-3.4.3/setup.py
|
||||
find_file('rpcsvc/yp_prot.h', inc_dirs, []) is not None):
|
||||
if (self.compiler.find_library_file(lib_dirs, 'nsl')):
|
||||
libs = ['nsl']
|
||||
@@ -1500,6 +1500,10 @@
|
||||
@@ -1577,6 +1577,10 @@
|
||||
macros = dict()
|
||||
libraries = []
|
||||
|
||||
@@ -491,3 +500,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)
|
||||
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
|
||||
@@ -1576,7 +1576,7 @@
|
||||
sock = transport.get_extra_info('socket')
|
||||
|
||||
reuse_address_default_on = (
|
||||
- os.name == 'posix' and sys.platform != 'cygwin')
|
||||
+ os.name == 'posix' and sys.platform != 'cygwin' and sys.platform != 'msys')
|
||||
reuseport_supported = hasattr(socket, 'SO_REUSEPORT')
|
||||
|
||||
if reuse_address_default_on:
|
||||
|
||||
Reference in New Issue
Block a user