mirror of https://github.com/python/cpython
Merge release engineering work from Python 3.5.0.
This commit is contained in:
commit
9c51f89cd6
1
.hgtags
1
.hgtags
|
@ -156,3 +156,4 @@ c0d64105463581f85d0e368e8d6e59b7fd8f12b1 v3.5.0b4
|
||||||
cc15d736d860303b9da90d43cd32db39bab048df v3.5.0rc2
|
cc15d736d860303b9da90d43cd32db39bab048df v3.5.0rc2
|
||||||
66ed52375df802f9d0a34480daaa8ce79fc41313 v3.5.0rc3
|
66ed52375df802f9d0a34480daaa8ce79fc41313 v3.5.0rc3
|
||||||
2d033fedfa7f1e325fd14ccdaa9cb42155da206f v3.5.0rc4
|
2d033fedfa7f1e325fd14ccdaa9cb42155da206f v3.5.0rc4
|
||||||
|
374f501f4567b7595f2ad7798aa09afa2456bb28 v3.5.0
|
||||||
|
|
|
@ -44,8 +44,11 @@
|
||||||
This saves the maintainer the effort of going through the Mercurial log
|
This saves the maintainer the effort of going through the Mercurial log
|
||||||
when researching a change.
|
when researching a change.
|
||||||
|
|
||||||
|
Python 3.5 was released on September 13, 2015.
|
||||||
|
|
||||||
This article explains the new features in Python 3.5, compared to 3.4.
|
This article explains the new features in Python 3.5, compared to 3.4.
|
||||||
For full details, see the :source:`Misc/NEWS` file.
|
For full details, see the
|
||||||
|
`changelog <https://docs.python.org/3.5/whatsnew/changelog.html>`_.
|
||||||
|
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
#define PY_MAJOR_VERSION 3
|
#define PY_MAJOR_VERSION 3
|
||||||
#define PY_MINOR_VERSION 5
|
#define PY_MINOR_VERSION 5
|
||||||
#define PY_MICRO_VERSION 0
|
#define PY_MICRO_VERSION 0
|
||||||
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
|
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
|
||||||
#define PY_RELEASE_SERIAL 4
|
#define PY_RELEASE_SERIAL 0
|
||||||
|
|
||||||
/* Version as a string */
|
/* Version as a string */
|
||||||
#define PY_VERSION "3.5.0rc4+"
|
#define PY_VERSION "3.5.0+"
|
||||||
/*--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.
|
||||||
|
|
12958
Lib/pydoc_data/topics.py
12958
Lib/pydoc_data/topics.py
File diff suppressed because one or more lines are too long
|
@ -3,8 +3,8 @@ Python News
|
||||||
+++++++++++
|
+++++++++++
|
||||||
|
|
||||||
|
|
||||||
What's New in Python 3.5.1
|
What's New in Python 3.5.1 release candidate 1?
|
||||||
==========================
|
===============================================
|
||||||
|
|
||||||
Release date: TBA
|
Release date: TBA
|
||||||
|
|
||||||
|
@ -113,7 +113,8 @@ Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
- Issue #25071: Windows installer should not require TargetDir
|
- Issue #25071: Windows installer should not require TargetDir
|
||||||
parameter when installing quietly
|
parameter when installing quietly.
|
||||||
|
|
||||||
|
|
||||||
What's New in Python 3.5.0 release candidate 4?
|
What's New in Python 3.5.0 release candidate 4?
|
||||||
===============================================
|
===============================================
|
||||||
|
|
72
README
72
README
|
@ -1,13 +1,14 @@
|
||||||
This is Python version 3.5.0 release candidate 4
|
This is Python version 3.5.0
|
||||||
================================================
|
============================
|
||||||
|
|
||||||
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
|
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
|
||||||
2012, 2013, 2014, 2015 Python Software Foundation. All rights reserved.
|
2012, 2013, 2014, 2015 Python Software Foundation. All rights reserved.
|
||||||
|
|
||||||
Python 3.x is a new version of the language, which is incompatible with the 2.x
|
Python 3.x is a new version of the language, which is incompatible with the
|
||||||
line of releases. The language is mostly the same, but many details, especially
|
2.x line of releases. The language is mostly the same, but many details,
|
||||||
how built-in objects like dictionaries and strings work, have changed
|
especially how built-in objects like dictionaries and strings work,
|
||||||
considerably, and a lot of deprecated features have finally been removed.
|
have changed considerably, and a lot of deprecated features have finally
|
||||||
|
been removed.
|
||||||
|
|
||||||
|
|
||||||
Build Instructions
|
Build Instructions
|
||||||
|
@ -27,14 +28,14 @@ find out more. On OSX and Cygwin, the executable is called python.exe;
|
||||||
elsewhere it's just python.
|
elsewhere it's just python.
|
||||||
|
|
||||||
On Mac OS X, if you have configured Python with --enable-framework, you should
|
On Mac OS X, if you have configured Python with --enable-framework, you should
|
||||||
use "make frameworkinstall" to do the installation. Note that this installs the
|
use "make frameworkinstall" to do the installation. Note that this installs
|
||||||
Python executable in a place that is not normally on your PATH, you may want to
|
the Python executable in a place that is not normally on your PATH, you may
|
||||||
set up a symlink in /usr/local/bin.
|
want to set up a symlink in /usr/local/bin.
|
||||||
|
|
||||||
On Windows, see PCbuild/readme.txt.
|
On Windows, see PCbuild/readme.txt.
|
||||||
|
|
||||||
If you wish, you can create a subdirectory and invoke configure from there. For
|
If you wish, you can create a subdirectory and invoke configure from there.
|
||||||
example:
|
For example:
|
||||||
|
|
||||||
mkdir debug
|
mkdir debug
|
||||||
cd debug
|
cd debug
|
||||||
|
@ -42,21 +43,21 @@ example:
|
||||||
make
|
make
|
||||||
make test
|
make test
|
||||||
|
|
||||||
(This will fail if you *also* built at the top-level directory. You should do a
|
(This will fail if you *also* built at the top-level directory.
|
||||||
"make clean" at the toplevel first.)
|
You should do a "make clean" at the toplevel first.)
|
||||||
|
|
||||||
|
|
||||||
What's New
|
What's New
|
||||||
----------
|
----------
|
||||||
|
|
||||||
We try to 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.5" document, found at
|
Python 3.5" document, found at
|
||||||
|
|
||||||
http://docs.python.org/3.5/whatsnew/3.5.html
|
http://docs.python.org/3.5/whatsnew/3.5.html
|
||||||
|
|
||||||
For a more detailed change log, read Misc/NEWS (though this file, too, is
|
For a more detailed change log, read Misc/NEWS (though this file, too,
|
||||||
incomplete, and also doesn't list anything merged in from the 2.7 release under
|
is incomplete, and also doesn't list anything merged in from the 2.7
|
||||||
development).
|
release under development).
|
||||||
|
|
||||||
If you want to install multiple versions of Python see the section below
|
If you want to install multiple versions of Python see the section below
|
||||||
entitled "Installing multiple versions".
|
entitled "Installing multiple versions".
|
||||||
|
@ -98,10 +99,11 @@ http://docs.python.org/3.5/library/2to3.html for more information.
|
||||||
Testing
|
Testing
|
||||||
-------
|
-------
|
||||||
|
|
||||||
To test the interpreter, type "make test" in the top-level directory. The test
|
To test the interpreter, type "make test" in the top-level directory.
|
||||||
set produces some output. You can generally ignore the messages about skipped
|
The test set produces some output. You can generally ignore the messages
|
||||||
tests due to optional features which can't be imported. If a message is printed
|
about skipped tests due to optional features which can't be imported.
|
||||||
about a failed test or a traceback or core dump is produced, something is wrong.
|
If a message is printed about a failed test or a traceback or core dump
|
||||||
|
is produced, something is wrong.
|
||||||
|
|
||||||
By default, tests are prevented from overusing resources like disk space and
|
By default, tests are prevented from overusing resources like disk space and
|
||||||
memory. To enable these tests, run "make testall".
|
memory. To enable these tests, run "make testall".
|
||||||
|
@ -121,14 +123,14 @@ Installing multiple versions
|
||||||
|
|
||||||
On Unix and Mac systems if you intend to install multiple versions of Python
|
On Unix and Mac systems if you intend to install multiple versions of Python
|
||||||
using the same installation prefix (--prefix argument to the configure script)
|
using the same installation prefix (--prefix argument to the configure script)
|
||||||
you must take care that your primary python executable is not overwritten by the
|
you must take care that your primary python executable is not overwritten by
|
||||||
installation of a different version. All files and directories installed using
|
the installation of a different version. All files and directories installed
|
||||||
"make altinstall" contain the major and minor version and can thus live
|
using "make altinstall" contain the major and minor version and can thus live
|
||||||
side-by-side. "make install" also creates ${prefix}/bin/python3 which refers to
|
side-by-side. "make install" also creates ${prefix}/bin/python3 which refers
|
||||||
${prefix}/bin/pythonX.Y. If you intend to install multiple versions using the
|
to ${prefix}/bin/pythonX.Y. If you intend to install multiple versions using
|
||||||
same prefix you must decide which version (if any) is your "primary" version.
|
the same prefix you must decide which version (if any) is your "primary"
|
||||||
Install that version using "make install". Install all other versions using
|
version. Install that version using "make install". Install all other
|
||||||
"make altinstall".
|
versions using "make altinstall".
|
||||||
|
|
||||||
For example, if you want to install Python 2.6, 2.7 and 3.5 with 2.7 being the
|
For example, if you want to install Python 2.6, 2.7 and 3.5 with 2.7 being the
|
||||||
primary version, you would execute "make install" in your 2.7 build directory
|
primary version, you would execute "make install" in your 2.7 build directory
|
||||||
|
@ -139,7 +141,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, preferable in unified diff format. Please use the issue tracker:
|
welcome, preferably in unified diff format. Please use the issue tracker:
|
||||||
|
|
||||||
http://bugs.python.org/
|
http://bugs.python.org/
|
||||||
|
|
||||||
|
@ -182,11 +184,11 @@ rights reserved.
|
||||||
|
|
||||||
Copyright (c) 1991-1995 Stichting Mathematisch Centrum. All rights reserved.
|
Copyright (c) 1991-1995 Stichting Mathematisch Centrum. All rights reserved.
|
||||||
|
|
||||||
See the file "LICENSE" for information on the history of this software, terms &
|
See the file "LICENSE" for information on the history of this software,
|
||||||
conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.
|
terms & conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.
|
||||||
|
|
||||||
This Python distribution contains *no* GNU General Public License (GPL) code, so
|
This Python distribution contains *no* GNU General Public License (GPL) code,
|
||||||
it may be used in proprietary projects. There are interfaces to some GNU code
|
so it may be used in proprietary projects. There are interfaces to some GNU
|
||||||
but these are entirely optional.
|
code but these are entirely optional.
|
||||||
|
|
||||||
All trademarks referenced herein are property of their respective holders.
|
All trademarks referenced herein are property of their respective holders.
|
||||||
|
|
Loading…
Reference in New Issue