Bump to 3.9.0a0

This commit is contained in:
Łukasz Langa 2019-06-04 22:12:32 +02:00
parent 23d7ce7471
commit 9ab2fb1c68
No known key found for this signature in database
GPG Key ID: B26995E310250568
11 changed files with 831 additions and 831 deletions

View File

@ -36,7 +36,7 @@ import suspicious
ISSUE_URI = 'https://bugs.python.org/issue%s' ISSUE_URI = 'https://bugs.python.org/issue%s'
SOURCE_URI = 'https://github.com/python/cpython/tree/3.8/%s' SOURCE_URI = 'https://github.com/python/cpython/tree/master/%s'
# monkey-patch reST parser to disable alphabetic and roman enumerated lists # monkey-patch reST parser to disable alphabetic and roman enumerated lists
from docutils.parsers.rst.states import Body from docutils.parsers.rst.states import Body

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.8` The Python interpreter is usually installed as :file:`/usr/local/bin/python3.9`
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.8 python3.9
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.8 $ python3.9
Python 3.8 (default, Sep 16 2015, 09:25:04) Python 3.9 (default, June 4 2019, 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:\\Python38' 'C:\\Python39'
>>> 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:/python38/lib/weakref.py", line 46, in __getitem__ File "C:/python39/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 8 #define PY_MINOR_VERSION 9
#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.8.0b1" #define PY_VERSION "3.9.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

@ -274,11 +274,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,"python38_d.lib") # pragma comment(lib,"python39_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,"python38.lib") # pragma comment(lib,"python39.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:
python38_d.dll, python_d.exe, parser_d.pyd, and so on. Both the python39_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.8.0 beta 1 This is Python version 3.9.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
@ -140,7 +140,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.8 <https://docs.python.org/3.8/whatsnew/3.8.html>`_ document. For a more 3.9 <https://docs.python.org/3.9/whatsnew/3.9.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
@ -153,7 +153,7 @@ entitled "Installing multiple versions".
Documentation Documentation
------------- -------------
`Documentation for Python 3.8 <https://docs.python.org/3.8/>`_ is online, `Documentation for Python 3.9 <https://docs.python.org/3.9/>`_ 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
@ -212,8 +212,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.8 with 3.8 being the For example, if you want to install Python 2.7, 3.6, and 3.9 with 3.9 being the
primary version, you would execute ``make install`` in your 3.8 build directory primary version, you would execute ``make install`` in your 3.9 build directory
and ``make altinstall`` in the others. and ``make altinstall`` in the others.
@ -243,7 +243,7 @@ All current PEPs, as well as guidelines for submitting a new PEP, are listed at
Release Schedule Release Schedule
---------------- ----------------
See :pep:`569` for Python 3.8 release details. See :pep:`596` for Python 3.9 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.8. # Generated by GNU Autoconf 2.69 for python 3.9.
# #
# 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.8' PACKAGE_VERSION='3.9'
PACKAGE_STRING='python 3.8' PACKAGE_STRING='python 3.9'
PACKAGE_BUGREPORT='https://bugs.python.org/' PACKAGE_BUGREPORT='https://bugs.python.org/'
PACKAGE_URL='' PACKAGE_URL=''
@ -1399,7 +1399,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.8 to adapt to many kinds of systems. \`configure' configures python 3.9 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1465,7 +1465,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.8:";; short | recursive ) echo "Configuration of python 3.9:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -1631,7 +1631,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.8 python configure 3.9
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.
@ -2340,7 +2340,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.8, which was It was created by python $as_me 3.9, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
@ -2960,7 +2960,7 @@ rm confdefs.h
mv confdefs.h.new confdefs.h mv confdefs.h.new confdefs.h
VERSION=3.8 VERSION=3.9
# Version number of Python's own shared library file. # Version number of Python's own shared library file.
@ -17862,7 +17862,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.8, which was This file was extended by python $as_me 3.9, 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
@ -17924,7 +17924,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.8 python config.status 3.9
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.8) m4_define(PYTHON_VERSION, 3.9)
AC_PREREQ([2.69]) AC_PREREQ([2.69])