]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #28248: merge from 3.5
authorNed Deily <nad@python.org>
Mon, 31 Oct 2016 23:54:17 +0000 (19:54 -0400)
committerNed Deily <nad@python.org>
Mon, 31 Oct 2016 23:54:17 +0000 (19:54 -0400)
1  2 
Mac/BuildScript/build-installer.py
Misc/NEWS

index aafccfd0020e3283abad7beca3ceede3da597d92,c76c4f1a269708ae19cb498f5818bafef50c9900..8dfd092d08b51236e41c0ab4ed401028ce2c4c2a
@@@ -207,15 -206,45 +207,15 @@@ def library_recipes()
  
      LT_10_5 = bool(getDeptargetTuple() < (10, 5))
  
 -    if not (10, 5) < getDeptargetTuple() < (10, 10):
 -        # The OpenSSL libs shipped with OS X 10.5 and earlier are
 -        # hopelessly out-of-date and do not include Apple's tie-in to
 -        # the root certificates in the user and system keychains via TEA
 -        # that was introduced in OS X 10.6.  Note that this applies to
 -        # programs built and linked with a 10.5 SDK even when run on
 -        # newer versions of OS X.
 -        #
 -        # Dealing with CAs is messy.  For now, just supply a
 -        # local libssl and libcrypto for the older installer variants
 -        # (e.g. the python.org 10.5+ 32-bit-only installer) that use the
 -        # same default ssl certfile location as the system libs do:
 -        #   /System/Library/OpenSSL/cert.pem
 -        # Then at least TLS connections can be negotiated with sites that
 -        # use sha-256 certs like python.org, assuming the proper CA certs
 -        # have been supplied.  The default CA cert management issues for
 -        # 10.5 and earlier builds are the same as before, other than it is
 -        # now more obvious with cert checking enabled by default in the
 -        # standard library.
 -        #
 -        # For builds with 10.6 through 10.9 SDKs,
 -        # continue to use the deprecated but
 -        # less out-of-date Apple 0.9.8 libs for now.  While they are less
 -        # secure than using an up-to-date 1.0.1 version, doing so
 -        # avoids the big problems of forcing users to have to manage
 -        # default CAs themselves, thanks to the Apple libs using private TEA
 -        # APIs for cert validation from keychains if validation using the
 -        # standard OpenSSL locations (/System/Library/OpenSSL, normally empty)
 -        # fails.
 -        #
 -        # Since Apple removed the header files for the deprecated system
 -        # OpenSSL as of the Xcode 7 release (for OS X 10.10+), we do not
 -        # have much choice but to build our own copy here, too.
 +    # Since Apple removed the header files for the deprecated system
 +    # OpenSSL as of the Xcode 7 release (for OS X 10.10+), we do not
 +    # have much choice but to build our own copy here, too.
  
 -        result.extend([
 +    result.extend([
            dict(
-               name="OpenSSL 1.0.2h",
-               url="https://www.openssl.org/source/openssl-1.0.2h.tar.gz",
-               checksum='9392e65072ce4b614c1392eefc1f23d0',
+               name="OpenSSL 1.0.2j",
+               url="https://www.openssl.org/source/openssl-1.0.2j.tar.gz",
+               checksum='96322138f0b69e61b7212bc53d5e912b',
                patches=[
                    "openssl_sdk_makedepend.patch",
                     ],
diff --cc Misc/NEWS
index 680bd2a99b5f41829d8acfa30915e045fd54293c,76ac3a69b5a0fc55a4e1967f9fbffbe83413313b..ea68653be31ec2d4dfe0310786968cfb54d568db
+++ b/Misc/NEWS
@@@ -28,120 -16,6 +28,120 @@@ Core and Builtin
  - Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception
    loss in PyTraceBack_Here().
  
- - Issue #28248: Update Windows build to use OpenSSL 1.0.2j.
 +- Issue #28471: Fix "Python memory allocator called without holding the GIL"
 +  crash in socket.setblocking.
 +
 +Library
 +-------
 +
 +- Issue #27517: LZMA compressor and decompressor no longer raise exceptions if
 +  given empty data twice.  Patch by Benjamin Fogle.
 +
 +- Issue #28549: Fixed segfault in curses's addch() with ncurses6.
 +
 +- Issue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tar
 +  file with compression before trying to open it without compression.  Otherwise
 +  it had 50% chance failed with ignore_zeros=True.
 +
 +- Issue #23262: The webbrowser module now supports Firefox 36+ and derived
 +  browsers.  Based on patch by Oleg Broytman.
 +
 +- Issue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
 +  by representing the scale as float value internally in Tk.  tkinter.IntVar
 +  now works if float value is set to underlying Tk variable.
 +
 +- Issue #18844: The various ways of specifing weights for random.choices()
 +  now produce the same result sequences.
 +
 +- Issue #28255: calendar.TextCalendar().prmonth() no longer prints a space
 +  at the start of new line after printing a month's calendar.  Patch by
 +  Xiang Zhang.
 +
 +- Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
 +  Based on patch by Kaarle Ritvanen.
 +
 +- Issue #28353: os.fwalk() no longer fails on broken links.
 +
 +- Issue #28430: Fix iterator of C implemented asyncio.Future doesn't accept
 +  non-None value is passed to it.send(val).
 +
 +- Issue #27025: Generated names for Tkinter widgets now start by the "!" prefix
 +  for readability (was "`").
 +
 +- Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin
 +  a workaround to Tix library bug.
 +
 +- Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.
 +
 +- Issue #25953: re.sub() now raises an error for invalid numerical group
 +  reference in replacement template even if the pattern is not found in
 +  the string.  Error message for invalid group reference now includes the
 +  group index and the position of the reference.
 +  Based on patch by SilentGhost.
 +
 +- Issue #18219: Optimize csv.DictWriter for large number of columns.
 +  Patch by Mariatta Wijaya.
 +
 +- Issue #28448: Fix C implemented asyncio.Future didn't work on Windows.
 +
 +- Issue #28480: Fix error building socket module when multithreading is
 +  disabled.
 +
 +- Issue #24452: Make webbrowser support Chrome on Mac OS X.
 +
 +- Issue #20766: Fix references leaked by pdb in the handling of SIGINT
 +  handlers.
 +
 +- Issue #28492: Fix how StopIteration exception is raised in _asyncio.Future.
 +
 +- Issue #28500: Fix asyncio to handle async gens GC from another thread.
 +
 +- Issue #26923: Fix asyncio.Gather to refuse being cancelled once all
 +  children are done.
 +  Patch by Johannes Ebke.
 +
 +- Issue #26796: Don't configure the number of workers for default
 +  threadpool executor.
 +  Initial patch by Hans Lawrenz.
 +
 +- Issue #28544: Implement asyncio.Task in C.
 +
 +Windows
 +-------
 +
 +- Issue #28522: Fixes mishandled buffer reallocation in getpathp.c
 +
 +Build
 +-----
 +
 +- Issue #28444: Fix missing extensions modules when cross compiling.
 +
 +- Issue #28208: Update Windows build and OS X installers to use SQLite 3.14.2.
 +
++- Issue #28248: Update Windows build and OS X installers to use OpenSSL 1.0.2j.
 +
 +Tests
 +-----
 +
 +- Issue #26944: Fix test_posix for Android where 'id -G' is entirely wrong or
 +  missing the effective gid.
 +
 +- Issue #28409: regrtest: fix the parser of command line arguments.
 +
 +
 +What's New in Python 3.6.0 beta 2
 +=================================
 +
 +*Release date: 2016-10-10*
 +
 +Core and Builtins
 +-----------------
 +
 +- Issue #28183: Optimize and cleanup dict iteration.
 +
 +- Issue #26081: Added C implementation of asyncio.Future.
 +  Original patch by Yury Selivanov.
 +
  - Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters().
    Patch by Xiang Zhang.