Skip to content

Commit 6cb20a2

Browse files
committed
Python 3.13.5
1 parent d24d925 commit 6cb20a2

17 files changed

+136
-28
lines changed

Include/patchlevel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 13
21-
#define PY_MICRO_VERSION 4
21+
#define PY_MICRO_VERSION 5
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
2323
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.13.4+"
26+
#define PY_VERSION "3.13.5"
2727
/*--end constants--*/
2828

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

Lib/pydoc_data/topics.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Autogenerated by Sphinx on Tue Jun 3 17:34:20 2025
1+
# Autogenerated by Sphinx on Wed Jun 11 17:36:53 2025
22
# as part of the release process.
33

44
topics = {
@@ -11967,7 +11967,7 @@ class dict(iterable, **kwargs)
1196711967
| "s * n" or "n * s" | equivalent to adding *s* to | (2)(7) |
1196811968
| | itself *n* times | |
1196911969
+----------------------------+----------------------------------+------------+
11970-
| "s[i]" | *i*th item of *s*, origin 0 | (3) |
11970+
| "s[i]" | *i*th item of *s*, origin 0 | (3)(9) |
1197111971
+----------------------------+----------------------------------+------------+
1197211972
| "s[i:j]" | slice of *s* from *i* to *j* | (3)(4) |
1197311973
+----------------------------+----------------------------------+------------+
@@ -12091,6 +12091,8 @@ class dict(iterable, **kwargs)
1209112091
returned index being relative to the start of the sequence rather
1209212092
than the start of the slice.
1209312093

12094+
9. An "IndexError" is raised if *i* is outside the sequence range.
12095+
1209412096

1209512097
Immutable Sequence Types
1209612098
========================

Misc/NEWS.d/3.13.5.rst

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
.. date: 2025-06-05-13-52-36
2+
.. gh-issue: 135151
3+
.. nonce: 4PfNZQ
4+
.. release date: 2025-06-11
5+
.. section: Windows
6+
7+
Avoid distributing modified :file:`pyconfig.h` in the traditional installer.
8+
Extension module builds must always specify ``Py_GIL_DISABLED`` when
9+
targeting the free-threaded runtime.
10+
11+
..
12+
13+
.. date: 2025-06-04-13-07-44
14+
.. gh-issue: 135120
15+
.. nonce: NapnZT
16+
.. section: Tests
17+
18+
Add :func:`!test.support.subTests`.
19+
20+
..
21+
22+
.. date: 2025-06-10-16-11-00
23+
.. gh-issue: 133967
24+
.. nonce: P0c24q
25+
.. section: Library
26+
27+
Do not normalize :mod:`locale` name 'C.UTF-8' to 'en_US.UTF-8'.
28+
29+
..
30+
31+
.. date: 2025-06-10-10-00-17
32+
.. gh-issue: 135326
33+
.. nonce: sOHe_p
34+
.. section: Library
35+
36+
Restore support of integer-like objects with :meth:`!__index__` in
37+
:func:`random.getrandbits`.
38+
39+
..
40+
41+
.. date: 2025-06-10-00-42-30
42+
.. gh-issue: 135321
43+
.. nonce: UHh9jT
44+
.. section: Library
45+
46+
Raise a correct exception for values greater than 0x7fffffff for the
47+
``BINSTRING`` opcode in the C implementation of :mod:`pickle`.
48+
49+
..
50+
51+
.. date: 2025-06-08-14-50-34
52+
.. gh-issue: 135276
53+
.. nonce: ZLUhV1
54+
.. section: Library
55+
56+
Backported bugfixes in zipfile.Path from zipp 3.23. Fixed ``.name``,
57+
``.stem`` and other basename-based properties on Windows when working with a
58+
zipfile on disk.
59+
60+
..
61+
62+
.. date: 2025-05-25-23-23-05
63+
.. gh-issue: 134151
64+
.. nonce: 13Wwsb
65+
.. section: Library
66+
67+
:mod:`email`: Fix :exc:`TypeError` in :func:`email.utils.decode_params` when
68+
sorting :rfc:`2231` continuations that contain an unnumbered section.
69+
70+
..
71+
72+
.. date: 2025-05-18-23-46-21
73+
.. gh-issue: 134152
74+
.. nonce: 30HwbX
75+
.. section: Library
76+
77+
:mod:`email`: Fix parsing of email message ID with invalid domain.
78+
79+
..
80+
81+
.. date: 2025-04-21-01-03-15
82+
.. gh-issue: 127081
83+
.. nonce: WXRliX
84+
.. section: Library
85+
86+
Fix libc thread safety issues with :mod:`os` by replacing ``getlogin`` with
87+
``getlogin_r`` re-entrant version.
88+
89+
..
90+
91+
.. date: 2025-04-07-06-41-54
92+
.. gh-issue: 131884
93+
.. nonce: ym9BJN
94+
.. section: Library
95+
96+
Fix formatting issues in :func:`json.dump` when both *indent* and *skipkeys*
97+
are used.
98+
99+
..
100+
101+
.. date: 2025-06-11-14-09-12
102+
.. gh-issue: 135171
103+
.. nonce: VUdivl
104+
.. section: Core and Builtins
105+
106+
Roll back changes to generator and list comprehensions that went into 3.13.4
107+
to fix GH-127682, but which involved semantic and bytecode changes not
108+
appropriate for a bugfix release.
109+
110+
..
111+
112+
.. date: 2025-06-05-11-06-07
113+
.. gh-issue: 134989
114+
.. nonce: 74p4ud
115+
.. section: C API
116+
117+
Fix ``Py_RETURN_NONE``, ``Py_RETURN_TRUE`` and ``Py_RETURN_FALSE`` macros in
118+
the limited C API 3.11 and older: don't treat ``Py_None``, ``Py_True`` and
119+
``Py_False`` as immortal. Patch by Victor Stinner.
120+
121+
..
122+
123+
.. date: 2025-06-02-13-19-22
124+
.. gh-issue: 134989
125+
.. nonce: sDDyBN
126+
.. section: C API
127+
128+
Implement :c:func:`PyObject_DelAttr` and :c:func:`PyObject_DelAttrString` as
129+
macros in the limited C API 3.12 and older. Patch by Victor Stinner.

Misc/NEWS.d/next/C API/2025-06-02-13-19-22.gh-issue-134989.sDDyBN.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/C API/2025-06-05-11-06-07.gh-issue-134989.74p4ud.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

Misc/NEWS.d/next/Core_and_Builtins/2025-06-11-14-09-12.gh-issue-135171.VUdivl.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Library/2025-04-07-06-41-54.gh-issue-131884.ym9BJN.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Library/2025-04-21-01-03-15.gh-issue-127081.WXRliX.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2025-05-18-23-46-21.gh-issue-134152.30HwbX.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Library/2025-05-25-23-23-05.gh-issue-134151.13Wwsb.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2025-06-08-14-50-34.gh-issue-135276.ZLUhV1.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2025-06-10-00-42-30.gh-issue-135321.UHh9jT.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Library/2025-06-10-10-00-17.gh-issue-135326.sOHe_p.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2025-06-10-16-11-00.gh-issue-133967.P0c24q.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Tests/2025-06-04-13-07-44.gh-issue-135120.NapnZT.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Windows/2025-06-05-13-52-36.gh-issue-135151.4PfNZQ.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is Python version 3.13.4
1+
This is Python version 3.13.5
22
=============================
33

44
.. image:: https://github.com/python/cpython/workflows/Tests/badge.svg

0 commit comments

Comments
 (0)