Merge 3.6.0a1 updates

This commit is contained in:
Ned Deily 2016-05-17 17:09:48 -04:00
commit 4284ffd2f8
6 changed files with 12723 additions and 130 deletions

View File

@ -161,3 +161,4 @@ cc15d736d860303b9da90d43cd32db39bab048df v3.5.0rc2
374f501f4567b7595f2ad7798aa09afa2456bb28 v3.5.0 374f501f4567b7595f2ad7798aa09afa2456bb28 v3.5.0
948ef16a69513ba1ff15c9d7d0b012b949df4c80 v3.5.1rc1 948ef16a69513ba1ff15c9d7d0b012b949df4c80 v3.5.1rc1
37a07cee5969e6d3672583187a73cf636ff28e1b v3.5.1 37a07cee5969e6d3672583187a73cf636ff28e1b v3.5.1
5896da372fb044e38595fb74495de1e1e7c8fb3c v3.6.0a1

View File

@ -20,10 +20,10 @@
#define PY_MINOR_VERSION 6 #define PY_MINOR_VERSION 6
#define PY_MICRO_VERSION 0 #define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
#define PY_RELEASE_SERIAL 0 #define PY_RELEASE_SERIAL 1
/* Version as a string */ /* Version as a string */
#define PY_VERSION "3.6.0a0" #define PY_VERSION "3.6.0a1+"
/*--end constants--*/ /*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2. /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

File diff suppressed because one or more lines are too long

View File

@ -1,29 +1,25 @@
{\rtf1\ansi\ansicpg1252\cocoartf1348\cocoasubrtf170 {\rtf1\ansi\ansicpg1252\cocoartf1404\cocoasubrtf460
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;} {\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;}
{\colortbl;\red255\green255\blue255;} {\colortbl;\red255\green255\blue255;}
\margl1440\margr1440\vieww13380\viewh14600\viewkind0 \margl1440\margr1440\vieww13380\viewh14600\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
\f0\fs24 \cf0 This package will install Python $FULL_VERSION for Mac OS X $MACOSX_DEPLOYMENT_TARGET for the following architecture(s): $ARCHITECTURES.\ \f0\fs24 \cf0 This package will install Python $FULL_VERSION for Mac OS X $MACOSX_DEPLOYMENT_TARGET for the following architecture(s): $ARCHITECTURES.\
\ \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
\b \cf0 \ul \ulc0 Which installer variant should I use? \b \cf0 \ul \ulc0 Which installer variant should I use?
\b0 \ulnone \ \b0 \ulnone \
\ \
Python.org provides two installer variants for download: one that installs a For the initial alpha releases of Python 3.6, Python.org provides only one installer variant for download: one that installs a
\i 64-bit/32-bit Intel \i 64-bit/32-bit Intel
\i0 Python capable of running on \i0 Python capable of running on
\i Mac OS X 10.6 (Snow Leopard) \i Mac OS X 10.6 (Snow Leopard)
\i0 or later; and one that installs a \i0 or later. This will change prior to the beta releases of 3.6.0. This ReadMe was installed with the
\i 32-bit-only (Intel and PPC)
\i0 Python capable of running on
\i Mac OS X 10.5 (Leopard)
\i0 or later. This ReadMe was installed with the
\i $MACOSX_DEPLOYMENT_TARGET \i $MACOSX_DEPLOYMENT_TARGET
\i0 variant. Unless you are installing to an 10.5 system or you need to build applications that can run on 10.5 systems, use the 10.6 variant if possible. There are some additional operating system functions that are supported starting with 10.6 and you may see better performance using 64-bit mode. By default, Python will automatically run in 64-bit mode if your system supports it. Also see \i0 variant. By default, Python will automatically run in 64-bit mode if your system supports it. Also see
\i Certificate verification and OpenSSL \i Certificate verification and OpenSSL
\i0 below. The Pythons installed by these installers are built with private copies of some third-party libraries not included with or newer than those in OS X itself. The list of these libraries varies by installer variant and is included at the end of the License.rtf file. \i0 below. The Pythons installed by this installer is built with private copies of some third-party libraries not included with or newer than those in OS X itself. The list of these libraries varies by installer variant and is included at the end of the License.rtf file.
\b \ul \ \b \ul \
\ \
Update your version of Tcl/Tk to use IDLE or other Tk applications Update your version of Tcl/Tk to use IDLE or other Tk applications
@ -33,13 +29,13 @@ To use IDLE or other programs that use the Tkinter graphical user interface tool
\i Tcl/Tk \i Tcl/Tk
\i0 frameworks. Visit {\field{\*\fldinst{HYPERLINK "https://www.python.org/download/mac/tcltk/"}}{\fldrslt https://www.python.org/download/mac/tcltk/}} for current information about supported and recommended versions of \i0 frameworks. Visit {\field{\*\fldinst{HYPERLINK "https://www.python.org/download/mac/tcltk/"}}{\fldrslt https://www.python.org/download/mac/tcltk/}} for current information about supported and recommended versions of
\i Tcl/Tk \i Tcl/Tk
\i0 for this version of Python and of Mac OS X.\ \i0 for this version of Python and of Mac OS X. For the initial alpha releases of Python 3.6, the installer is linked with Tcl/Tk 8.5; this will change prior to the beta releases of 3.6.0.\
\b \ul \ \b \ul \
Certificate verification and OpenSSL\ Certificate verification and OpenSSL\
\b0 \ulnone \ \b0 \ulnone \
Python 3.5 includes a number of network security enhancements that were released in Python 3.4.3 and Python 2.7.10. {\field{\*\fldinst{HYPERLINK "https://www.python.org/dev/peps/pep-0476/"}}{\fldrslt PEP 476}} changes several standard library modules, like Python 3.6 includes a number of network security enhancements that were released in Python 3.4.3 and Python 2.7.10. {\field{\*\fldinst{HYPERLINK "https://www.python.org/dev/peps/pep-0476/"}}{\fldrslt PEP 476}} changes several standard library modules, like
\i httplib \i httplib
\i0 , \i0 ,
\i urllib \i urllib
@ -51,56 +47,33 @@ Python 3.5 includes a number of network security enhancements that were released
\i security \i security
\i0 command line utility.\ \i0 command line utility.\
\ \
For OS X 10.5, Apple provides
\i OpenSSL 0.9.7
\i0 libraries. This version of Apple's OpenSSL
\b does not
\b0 use the certificates from the system security framework, even when used on newer versions of OS X. Instead it consults a traditional OpenSSL concatenated certificate file (
\i cafile
\i0 ) or certificate directory (
\i capath
\i0 ), located in
\f1 /System/Library/OpenSSL
\f0 . These directories are typically empty and not managed by OS X; you must manage them yourself or supply your own SSL contexts. OpenSSL 0.9.7 is obsolete by current security standards, lacking a number of important features found in later versions. Among the problems this causes is the inability to verify higher-security certificates now used by python.org services, including
\i t{\field{\*\fldinst{HYPERLINK "https://pypi.python.org/pypi"}}{\fldrslt he Python Package Index, PyPI}}
\i0 . To solve this problem, the
\i 10.5+ 32-bit-only python.org variant
\i0 is linked with a private copy of
\i OpenSSL 1.0.2
\i0 ; it consults the same default certificate directory,
\f1 /System/Library/OpenSSL
\f0 . As before, it is still necessary to manage certificates yourself when you use this Python variant and, with certificate verification now enabled by default, you may now need to take additional steps to ensure your Python programs have access to CA certificates you trust. If you use this Python variant to build standalone applications with third-party tools like {\field{\*\fldinst{HYPERLINK "https://pypi.python.org/pypi/py2app/"}}{\fldrslt
\f1 py2app}}, you may now need to bundle CA certificates in them or otherwise supply non-default SSL contexts.\
\
For OS X 10.6+, Apple also provides For OS X 10.6+, Apple also provides
\i OpenSSL \i OpenSSL
\i0 \i0
\i 0.9.8 libraries \i 0.9.8 libraries
\i0 . Apple's 0.9.8 version includes an important additional feature: if a certificate cannot be verified using the manually administered certificates in \i0 . Apple's 0.9.8 version includes an important additional feature: if a certificate cannot be verified using the manually administered certificates in
\f1 /System/Library/OpenSSL \f1 /System/Library/OpenSSL
\f0 , the certificates managed by the system security framework In the user and system keychains are also consulted (using Apple private APIs). For this reason, the \f0 , the certificates managed by the system security framework In the user and system keychains are also consulted (using Apple private APIs). For the initial alpha releases of Python 3.6, the
\i 64-bit/32-bit 10.6+ python.org variant \i 64-bit/32-bit 10.6+ python.org variant
\i0 continues to be dynamically linked with Apple's OpenSSL 0.9.8 since it was felt that the loss of the system-provided certificates and management tools outweighs the additional security features provided by newer versions of OpenSSL. This will likely change in future releases of the python.org installers as Apple has deprecated use of the system-supplied OpenSSL libraries. If you do need features from newer versions of OpenSSL, there are third-party OpenSSL wrapper packages available through \i0 continues to be dynamically linked with Apple's OpenSSL 0.9.8 since it was felt that the loss of the system-provided certificates and management tools outweighs the additional security features provided by newer versions of OpenSSL. This will change prior to the beta releases of 3.6.0 as Apple has deprecated use of the system-supplied OpenSSL libraries. If you do need features from newer versions of OpenSSL, there are third-party OpenSSL wrapper packages available through
\i PyPI \i PyPI
\i0 .\ \i0 .\
\ \
The bundled The bundled
\f1 pip \f1 pip
\f0 included with the Python 3.5 installers has its own default certificate store for verifying download connections.\ \f0 included with the Python 3.6 installers has its own default certificate store for verifying download connections.\
\ \
\b \ul Other changes\ \b \ul Other changes\
\b0 \ulnone \ \b0 \ulnone \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural For other changes in this release, see the
\cf0 For other changes in this release, see the
\i What's new \i What's new
\i0 section in the {\field{\*\fldinst{HYPERLINK "https://www.python.org/doc/"}}{\fldrslt Documentation Set}} for this release and its \i0 section in the {\field{\*\fldinst{HYPERLINK "https://www.python.org/doc/"}}{\fldrslt Documentation Set}} for this release and its
\i Release Notes \i Release Notes
\i0 link at {\field{\*\fldinst{HYPERLINK "https://www.python.org/downloads/"}}{\fldrslt https://www.python.org/downloads/}}.\ \i0 link at {\field{\*\fldinst{HYPERLINK "https://www.python.org/downloads/"}}{\fldrslt https://www.python.org/downloads/}}.\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
\b \cf0 \ul \ \b \ul \
Python 3 and Python 2 Co-existence\ Python 3 and Python 2 Co-existence\
\b0 \ulnone \ \b0 \ulnone \

View File

@ -2,10 +2,22 @@
Python News Python News
+++++++++++ +++++++++++
What's New in Python 3.6.0 alpha 2
==================================
*Release date: XXXX-XX-XX*
Core and Builtins
-----------------
Library
-------
What's New in Python 3.6.0 alpha 1? What's New in Python 3.6.0 alpha 1?
=================================== ===================================
Release date: tba Release date: 2016-05-16
Core and Builtins Core and Builtins
----------------- -----------------

16
README
View File

@ -81,7 +81,7 @@ What's New
We have a comprehensive overview of the changes in the "What's New in We have a comprehensive overview of the changes in the "What's New in
Python 3.6" document, found at Python 3.6" document, found at
http://docs.python.org/3.6/whatsnew/3.6.html https://docs.python.org/3.6/whatsnew/3.6.html
For a more detailed change log, read Misc/NEWS (though this file, too, For a more detailed change log, read Misc/NEWS (though this file, too,
is incomplete, and also doesn't list anything merged in from the 2.7 is incomplete, and also doesn't list anything merged in from the 2.7
@ -96,7 +96,7 @@ Documentation
Documentation for Python 3.6 is online, updated daily: Documentation for Python 3.6 is online, updated daily:
http://docs.python.org/3.6/ https://docs.python.org/3.6/
It can also be downloaded in many formats for faster access. The documentation It can also be downloaded in many formats for faster access. The documentation
is downloadable in HTML, PDF, and reStructuredText formats; the latter version is downloadable in HTML, PDF, and reStructuredText formats; the latter version
@ -106,7 +106,7 @@ formatting requirements.
If you would like to contribute to the development of Python, relevant If you would like to contribute to the development of Python, relevant
documentation is available at: documentation is available at:
http://docs.python.org/devguide/ https://docs.python.org/devguide/
For information about building Python's documentation, refer to Doc/README.txt. For information about building Python's documentation, refer to Doc/README.txt.
@ -121,7 +121,7 @@ backported versions of certain key Python 3.x features.
A source-to-source translation tool, "2to3", can take care of the mundane task A source-to-source translation tool, "2to3", can take care of the mundane task
of converting large amounts of source code. It is not a complete solution but of converting large amounts of source code. It is not a complete solution but
is complemented by the deprecation warnings in 2.6. See is complemented by the deprecation warnings in 2.6. See
http://docs.python.org/3.6/library/2to3.html for more information. https://docs.python.org/3.6/library/2to3.html for more information.
Testing Testing
@ -171,7 +171,7 @@ Issue Tracker and Mailing List
We're soliciting bug reports about all aspects of the language. Fixes are also We're soliciting bug reports about all aspects of the language. Fixes are also
welcome, preferably in unified diff format. Please use the issue tracker: welcome, preferably in unified diff format. Please use the issue tracker:
http://bugs.python.org/ https://bugs.python.org/
If you're not sure whether you're dealing with a bug or a feature, use the If you're not sure whether you're dealing with a bug or a feature, use the
mailing list: mailing list:
@ -180,7 +180,7 @@ mailing list:
To subscribe to the list, use the mailman form: To subscribe to the list, use the mailman form:
http://mail.python.org/mailman/listinfo/python-dev/ https://mail.python.org/mailman/listinfo/python-dev/
Proposals for enhancement Proposals for enhancement
@ -190,13 +190,13 @@ If you have a proposal to change Python, you may want to send an email to the
comp.lang.python or python-ideas mailing lists for initial feedback. A Python comp.lang.python or python-ideas mailing lists for initial feedback. A Python
Enhancement Proposal (PEP) may be submitted if your idea gains ground. All Enhancement Proposal (PEP) may be submitted if your idea gains ground. All
current PEPs, as well as guidelines for submitting a new PEP, are listed at current PEPs, as well as guidelines for submitting a new PEP, are listed at
http://www.python.org/dev/peps/. https://www.python.org/dev/peps/.
Release Schedule Release Schedule
---------------- ----------------
See PEP 494 for release details: http://www.python.org/dev/peps/pep-0494/ See PEP 494 for release details: https://www.python.org/dev/peps/pep-0494/
Copyright and License Information Copyright and License Information