Skip to content

Commit

Permalink
Bump to 3.9.0a0
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed Jun 4, 2019
1 parent 23d7ce7 commit 9ab2fb1
Show file tree
Hide file tree
Showing 11 changed files with 831 additions and 831 deletions.
2 changes: 1 addition & 1 deletion Doc/tools/extensions/pyspecific.py
Expand Up @@ -36,7 +36,7 @@


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
from docutils.parsers.rst.states import Body
Expand Down
8 changes: 4 additions & 4 deletions Doc/tutorial/interpreter.rst
Expand Up @@ -10,13 +10,13 @@ Using the Python 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
Unix shell's search path makes it possible to start it by typing the command:

.. code-block:: text
python3.8
python3.9
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
Expand Down Expand Up @@ -98,8 +98,8 @@ before printing the first prompt:

.. code-block:: shell-session
$ python3.8
Python 3.8 (default, Sep 16 2015, 09:25:04)
$ python3.9
Python 3.9 (default, June 4 2019, 09:25:04)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Expand Down
2 changes: 1 addition & 1 deletion Doc/tutorial/stdlib.rst
Expand Up @@ -15,7 +15,7 @@ operating system::

>>> import os
>>> os.getcwd() # Return the current working directory
'C:\\Python38'
'C:\\Python39'
>>> os.chdir('/server/accesslogs') # Change current working directory
>>> os.system('mkdir today') # Run the command mkdir in the system shell
0
Expand Down
2 changes: 1 addition & 1 deletion Doc/tutorial/stdlib2.rst
Expand Up @@ -278,7 +278,7 @@ applications include caching objects that are expensive to create::
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
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]()
KeyError: 'primary'

Expand Down
8 changes: 4 additions & 4 deletions Include/patchlevel.h
Expand Up @@ -17,13 +17,13 @@
/* Version parsed out into numeric values */
/*--start constants--*/
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 8
#define PY_MINOR_VERSION 9
#define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA
#define PY_RELEASE_SERIAL 1
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
#define PY_RELEASE_SERIAL 0

/* Version as a string */
#define PY_VERSION "3.8.0b1"
#define PY_VERSION "3.9.0a0"
/*--end constants--*/

/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Expand Down
4 changes: 2 additions & 2 deletions PC/pyconfig.h
Expand Up @@ -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
generally taken care of by distutils.) */
# if defined(_DEBUG)
# pragma comment(lib,"python38_d.lib")
# pragma comment(lib,"python39_d.lib")
# elif defined(Py_LIMITED_API)
# pragma comment(lib,"python3.lib")
# else
# pragma comment(lib,"python38.lib")
# pragma comment(lib,"python39.lib")
# endif /* _DEBUG */
# endif /* _MSC_VER */
# endif /* Py_BUILD_CORE */
Expand Down
1,598 changes: 799 additions & 799 deletions PC/python3.def

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion PCbuild/readme.txt
Expand Up @@ -38,7 +38,7 @@ Debug
Used to build Python with extra debugging capabilities, equivalent
to using ./configure --with-pydebug on UNIX. All binaries built
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
option for debug builds. If you are building Python to help with
development of CPython, you will most likely use this configuration.
Expand Down
14 changes: 7 additions & 7 deletions README.rst
@@ -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
:alt: CPython build status on Travis CI
Expand Down Expand Up @@ -140,7 +140,7 @@ What's New
----------

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
<https://github.com/python/cpython/blob/master/Misc/NEWS.d>`_, but a full
accounting of changes can only be gleaned from the `commit history
Expand All @@ -153,7 +153,7 @@ entitled "Installing multiple versions".
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.

It can also be downloaded in many formats for faster access. The documentation
Expand Down Expand Up @@ -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
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
primary version, you would execute ``make install`` in your 3.8 build directory
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.9 build directory
and ``make altinstall`` in the others.


Expand Down Expand Up @@ -243,7 +243,7 @@ All current PEPs, as well as guidelines for submitting a new PEP, are listed at
Release Schedule
----------------

See :pep:`569` for Python 3.8 release details.
See :pep:`596` for Python 3.9 release details.


Copyright and License Information
Expand Down
20 changes: 10 additions & 10 deletions configure
@@ -1,6 +1,6 @@
#! /bin/sh
# 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/>.
#
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='python'
PACKAGE_TARNAME='python'
PACKAGE_VERSION='3.8'
PACKAGE_STRING='python 3.8'
PACKAGE_VERSION='3.9'
PACKAGE_STRING='python 3.9'
PACKAGE_BUGREPORT='https://bugs.python.org/'
PACKAGE_URL=''

Expand Down Expand Up @@ -1399,7 +1399,7 @@ if test "$ac_init_help" = "long"; then
# 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.
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]...
Expand Down Expand Up @@ -1465,7 +1465,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of python 3.8:";;
short | recursive ) echo "Configuration of python 3.9:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1631,7 +1631,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
python configure 3.8
python configure 3.9
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2340,7 +2340,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
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
$ $0 $@
Expand Down Expand Up @@ -2960,7 +2960,7 @@ rm confdefs.h
mv confdefs.h.new confdefs.h


VERSION=3.8
VERSION=3.9

# Version number of Python's own shared library file.

Expand Down Expand Up @@ -17862,7 +17862,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
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
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -17924,7 +17924,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
python config.status 3.8
python config.status 3.9
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -3,7 +3,7 @@ dnl * Please run autoreconf to test your changes! *
dnl ***********************************************

# 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])

Expand Down

0 comments on commit 9ab2fb1

Please sign in to comment.