Skip to content

Commit 7768ff1

Browse files
committed
Python 3.14.0a0
1 parent 2268289 commit 7768ff1

File tree

7 files changed

+143
-12
lines changed

7 files changed

+143
-12
lines changed

Doc/tutorial/interpreter.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Unix shell's search path makes it possible to start it by typing the command:
1616

1717
.. code-block:: text
1818
19-
python3.13
19+
python3.14
2020
2121
to the shell. [#]_ Since the choice of the directory where the interpreter lives
2222
is an installation option, other places are possible; check with your local
@@ -97,8 +97,8 @@ before printing the first prompt:
9797

9898
.. code-block:: shell-session
9999
100-
$ python3.13
101-
Python 3.13 (default, April 4 2023, 09:25:04)
100+
$ python3.14
101+
Python 3.14 (default, April 4 2024, 09:25:04)
102102
[GCC 10.2.0] on linux
103103
Type "help", "copyright", "credits" or "license" for more information.
104104
>>>

Doc/tutorial/stdlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ operating system::
1515

1616
>>> import os
1717
>>> os.getcwd() # Return the current working directory
18-
'C:\\Python313'
18+
'C:\\Python314'
1919
>>> os.chdir('/server/accesslogs') # Change current working directory
2020
>>> os.system('mkdir today') # Run the command mkdir in the system shell
2121
0

Doc/tutorial/stdlib2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ applications include caching objects that are expensive to create::
279279
Traceback (most recent call last):
280280
File "<stdin>", line 1, in <module>
281281
d['primary'] # entry was automatically removed
282-
File "C:/python313/lib/weakref.py", line 46, in __getitem__
282+
File "C:/python314/lib/weakref.py", line 46, in __getitem__
283283
o = self.data[key]()
284284
KeyError: 'primary'
285285

Doc/whatsnew/3.14

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
2+
****************************
3+
What's New In Python 3.14
4+
****************************
5+
6+
:Editor: TBD
7+
8+
.. Rules for maintenance:
9+
10+
* Anyone can add text to this document. Do not spend very much time
11+
on the wording of your changes, because your text will probably
12+
get rewritten to some degree.
13+
14+
* The maintainer will go through Misc/NEWS periodically and add
15+
changes; it's therefore more important to add your changes to
16+
Misc/NEWS than to this file.
17+
18+
* This is not a complete list of every single change; completeness
19+
is the purpose of Misc/NEWS. Some changes I consider too small
20+
or esoteric to include. If such a change is added to the text,
21+
I'll just remove it. (This is another reason you shouldn't spend
22+
too much time on writing your addition.)
23+
24+
* If you want to draw your new text to the attention of the
25+
maintainer, add 'XXX' to the beginning of the paragraph or
26+
section.
27+
28+
* It's OK to just add a fragmentary note about a change. For
29+
example: "XXX Describe the transmogrify() function added to the
30+
socket module." The maintainer will research the change and
31+
write the necessary text.
32+
33+
* You can comment out your additions if you like, but it's not
34+
necessary (especially when a final release is some months away).
35+
36+
* Credit the author of a patch or bugfix. Just the name is
37+
sufficient; the e-mail address isn't necessary.
38+
39+
* It's helpful to add the issue number as a comment:
40+
41+
XXX Describe the transmogrify() function added to the socket
42+
module.
43+
(Contributed by P.Y. Developer in :gh:`12345`.)
44+
45+
This saves the maintainer the effort of going through the VCS log
46+
when researching a change.
47+
48+
This article explains the new features in Python 3.14, compared to 3.13.
49+
50+
For full details, see the :ref:`changelog <changelog>`.
51+
52+
.. note::
53+
54+
Prerelease users should be aware that this document is currently in draft
55+
form. It will be updated substantially as Python 3.14 moves towards release,
56+
so it's worth checking back even after reading earlier versions.
57+
58+
59+
Summary -- Release highlights
60+
=============================
61+
62+
.. This section singles out the most important changes in Python 3.14.
63+
Brevity is key.
64+
65+
66+
.. PEP-sized items next.
67+
68+
69+
70+
New Features
71+
============
72+
73+
74+
75+
Other Language Changes
76+
======================
77+
78+
79+
80+
New Modules
81+
===========
82+
83+
* None yet.
84+
85+
86+
Improved Modules
87+
================
88+
89+
90+
Optimizations
91+
=============
92+
93+
94+
95+
96+
Deprecated
97+
==========
98+
99+
100+
101+
Removed
102+
=======
103+
104+
105+
106+
Porting to Python 3.14
107+
======================
108+
109+
This section lists previously described changes and other bugfixes
110+
that may require changes to your code.
111+
112+
113+
Build Changes
114+
=============
115+
116+
117+
C API Changes
118+
=============
119+
120+
New Features
121+
------------
122+
123+
Porting to Python 3.14
124+
----------------------
125+
126+
Deprecated
127+
----------
128+
129+
Removed
130+
-------
131+

Include/patchlevel.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
/* Version parsed out into numeric values */
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
20-
#define PY_MINOR_VERSION 13
20+
#define PY_MINOR_VERSION 14
2121
#define PY_MICRO_VERSION 0
22-
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA
23-
#define PY_RELEASE_SERIAL 1
22+
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
23+
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.13.0b1"
26+
#define PY_VERSION "3.14.0a0"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
This is Python version 3.13.0 beta 1
2-
====================================
1+
This is Python version 3.14.0 alpha 0
2+
=====================================
33

44
.. image:: https://github.com/python/cpython/workflows/Tests/badge.svg
55
:alt: CPython build status on GitHub Actions

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dnl to regenerate the configure script.
1010
dnl
1111

1212
# Set VERSION so we only need to edit in one place (i.e., here)
13-
m4_define([PYTHON_VERSION], [3.13])
13+
m4_define([PYTHON_VERSION], [3.14])
1414

1515
AC_PREREQ([2.71])
1616

0 commit comments

Comments
 (0)