Start of 3.8.0a0

This commit is contained in:
Ned Deily 2018-01-31 17:44:09 -05:00
parent 6e41cd95b5
commit 5489bdad51
10 changed files with 824 additions and 824 deletions

View File

@ -10,13 +10,13 @@ Using the Python Interpreter
Invoking the Interpreter Invoking the Interpreter
======================== ========================
The Python interpreter is usually installed as :file:`/usr/local/bin/python3.7` The Python interpreter is usually installed as :file:`/usr/local/bin/python3.8`
on those machines where it is available; putting :file:`/usr/local/bin` in your on those machines where it is available; putting :file:`/usr/local/bin` in your
Unix shell's search path makes it possible to start it by typing the command: Unix shell's search path makes it possible to start it by typing the command:
.. code-block:: text .. code-block:: text
python3.7 python3.8
to the shell. [#]_ Since the choice of the directory where the interpreter lives to the shell. [#]_ Since the choice of the directory where the interpreter lives
is an installation option, other places are possible; check with your local is an installation option, other places are possible; check with your local
@ -98,8 +98,8 @@ before printing the first prompt:
.. code-block:: shell-session .. code-block:: shell-session
$ python3.7 $ python3.8
Python 3.7 (default, Sep 16 2015, 09:25:04) Python 3.8 (default, Sep 16 2015, 09:25:04)
[GCC 4.8.2] on linux [GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information. Type "help", "copyright", "credits" or "license" for more information.
>>> >>>

View File

@ -15,7 +15,7 @@ operating system::
>>> import os >>> import os
>>> os.getcwd() # Return the current working directory >>> os.getcwd() # Return the current working directory
'C:\\Python37' 'C:\\Python38'
>>> os.chdir('/server/accesslogs') # Change current working directory >>> os.chdir('/server/accesslogs') # Change current working directory
>>> os.system('mkdir today') # Run the command mkdir in the system shell >>> os.system('mkdir today') # Run the command mkdir in the system shell
0 0

View File

@ -278,7 +278,7 @@ applications include caching objects that are expensive to create::
Traceback (most recent call last): Traceback (most recent call last):
File "<stdin>", line 1, in <module> File "<stdin>", line 1, in <module>
d['primary'] # entry was automatically removed d['primary'] # entry was automatically removed
File "C:/python37/lib/weakref.py", line 46, in __getitem__ File "C:/python38/lib/weakref.py", line 46, in __getitem__
o = self.data[key]() o = self.data[key]()
KeyError: 'primary' KeyError: 'primary'

View File

@ -17,13 +17,13 @@
/* Version parsed out into numeric values */ /* Version parsed out into numeric values */
/*--start constants--*/ /*--start constants--*/
#define PY_MAJOR_VERSION 3 #define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 7 #define PY_MINOR_VERSION 8
#define PY_MICRO_VERSION 0 #define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
#define PY_RELEASE_SERIAL 1 #define PY_RELEASE_SERIAL 0
/* Version as a string */ /* Version as a string */
#define PY_VERSION "3.7.0b1" #define PY_VERSION "3.8.0a0"
/*--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.

View File

@ -284,11 +284,11 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
file in their Makefile (other compilers are file in their Makefile (other compilers are
generally taken care of by distutils.) */ generally taken care of by distutils.) */
# if defined(_DEBUG) # if defined(_DEBUG)
# pragma comment(lib,"python37_d.lib") # pragma comment(lib,"python38_d.lib")
# elif defined(Py_LIMITED_API) # elif defined(Py_LIMITED_API)
# pragma comment(lib,"python3.lib") # pragma comment(lib,"python3.lib")
# else # else
# pragma comment(lib,"python37.lib") # pragma comment(lib,"python38.lib")
# endif /* _DEBUG */ # endif /* _DEBUG */
# endif /* _MSC_VER */ # endif /* _MSC_VER */
# endif /* Py_BUILD_CORE */ # endif /* Py_BUILD_CORE */

File diff suppressed because it is too large Load Diff

View File

@ -38,7 +38,7 @@ Debug
Used to build Python with extra debugging capabilities, equivalent Used to build Python with extra debugging capabilities, equivalent
to using ./configure --with-pydebug on UNIX. All binaries built to using ./configure --with-pydebug on UNIX. All binaries built
using this configuration have "_d" added to their name: using this configuration have "_d" added to their name:
python37_d.dll, python_d.exe, parser_d.pyd, and so on. Both the python38_d.dll, python_d.exe, parser_d.pyd, and so on. Both the
build and rt (run test) batch files in this directory accept a -d build and rt (run test) batch files in this directory accept a -d
option for debug builds. If you are building Python to help with option for debug builds. If you are building Python to help with
development of CPython, you will most likely use this configuration. development of CPython, you will most likely use this configuration.

View File

@ -1,5 +1,5 @@
This is Python version 3.7.0 beta 1 This is Python version 3.8.0 alpha 0
=================================== ====================================
.. image:: https://travis-ci.org/python/cpython.svg?branch=master .. image:: https://travis-ci.org/python/cpython.svg?branch=master
:alt: CPython build status on Travis CI :alt: CPython build status on Travis CI
@ -126,7 +126,7 @@ What's New
---------- ----------
We have a comprehensive overview of the changes in the `What's New in Python We have a comprehensive overview of the changes in the `What's New in Python
3.7 <https://docs.python.org/3.7/whatsnew/3.7.html>`_ document. For a more 3.8 <https://docs.python.org/3.8/whatsnew/3.8.html>`_ document. For a more
detailed change log, read `Misc/NEWS detailed change log, read `Misc/NEWS
<https://github.com/python/cpython/blob/master/Misc/NEWS.d>`_, but a full <https://github.com/python/cpython/blob/master/Misc/NEWS.d>`_, but a full
accounting of changes can only be gleaned from the `commit history accounting of changes can only be gleaned from the `commit history
@ -139,7 +139,7 @@ entitled "Installing multiple versions".
Documentation Documentation
------------- -------------
`Documentation for Python 3.7 <https://docs.python.org/3.7/>`_ is online, `Documentation for Python 3.8 <https://docs.python.org/3.8/>`_ is online,
updated daily. updated daily.
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
@ -195,8 +195,8 @@ intend to install multiple versions using the same prefix you must decide which
version (if any) is your "primary" version. Install that version using ``make version (if any) is your "primary" version. Install that version using ``make
install``. Install all other versions using ``make altinstall``. install``. Install all other versions using ``make altinstall``.
For example, if you want to install Python 2.7, 3.6, and 3.7 with 3.7 being the For example, if you want to install Python 2.7, 3.6, and 3.8 with 3.8 being the
primary version, you would execute ``make install`` in your 3.7 build directory primary version, you would execute ``make install`` in your 3.8 build directory
and ``make altinstall`` in the others. and ``make altinstall`` in the others.
@ -226,7 +226,7 @@ All current PEPs, as well as guidelines for submitting a new PEP, are listed at
Release Schedule Release Schedule
---------------- ----------------
See :pep:`537` for Python 3.7 release details. See :pep:`569` for Python 3.8 release details.
Copyright and License Information Copyright and License Information

20
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for python 3.7. # Generated by GNU Autoconf 2.69 for python 3.8.
# #
# Report bugs to <https://bugs.python.org/>. # Report bugs to <https://bugs.python.org/>.
# #
@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='python' PACKAGE_NAME='python'
PACKAGE_TARNAME='python' PACKAGE_TARNAME='python'
PACKAGE_VERSION='3.7' PACKAGE_VERSION='3.8'
PACKAGE_STRING='python 3.7' PACKAGE_STRING='python 3.8'
PACKAGE_BUGREPORT='https://bugs.python.org/' PACKAGE_BUGREPORT='https://bugs.python.org/'
PACKAGE_URL='' PACKAGE_URL=''
@ -1395,7 +1395,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures python 3.7 to adapt to many kinds of systems. \`configure' configures python 3.8 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1461,7 +1461,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of python 3.7:";; short | recursive ) echo "Configuration of python 3.8:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -1628,7 +1628,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
python configure 3.7 python configure 3.8
generated by GNU Autoconf 2.69 generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
@ -2337,7 +2337,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by python $as_me 3.7, which was It was created by python $as_me 3.8, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
@ -2957,7 +2957,7 @@ rm confdefs.h
mv confdefs.h.new confdefs.h mv confdefs.h.new confdefs.h
VERSION=3.7 VERSION=3.8
# Version number of Python's own shared library file. # Version number of Python's own shared library file.
@ -17500,7 +17500,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by python $as_me 3.7, which was This file was extended by python $as_me 3.8, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -17562,7 +17562,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\ ac_cs_version="\\
python config.status 3.7 python config.status 3.8
configured by $0, generated by GNU Autoconf 2.69, configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"

View File

@ -3,7 +3,7 @@ dnl * Please run autoreconf to test your changes! *
dnl *********************************************** dnl ***********************************************
# Set VERSION so we only need to edit in one place (i.e., here) # Set VERSION so we only need to edit in one place (i.e., here)
m4_define(PYTHON_VERSION, 3.7) m4_define(PYTHON_VERSION, 3.8)
AC_PREREQ(2.65) AC_PREREQ(2.65)