Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa919fd

Browse files
committed
v3.8.0
1 parent e498329 commit fa919fd

23 files changed

+194
-42
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
This article explains the new features in Python 3.8, compared to 3.7.
4848
For full details, see the :ref:`changelog <changelog>`.
4949

50+
Python 3.8 was released on October 14th, 2019.
51+
5052
Prerelease users should be aware that this document is currently in
5153
draft form. It will be updated as Python 3.8 moves towards release, so
5254
it's worth checking back even after reading earlier versions. Some

Include/patchlevel.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 8
2121
#define PY_MICRO_VERSION 0
22-
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
23-
#define PY_RELEASE_SERIAL 1
22+
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
23+
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.8.0rc1+"
26+
#define PY_VERSION "3.8.0"
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Tue Oct 1 14:53:09 2019
2+
# Autogenerated by Sphinx on Mon Oct 14 14:33:10 2019
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'

Misc/NEWS.d/3.8.0.rst

Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
.. bpo: 38469
2+
.. date: 2019-10-13-23-41-38
3+
.. nonce: 9kmuQj
4+
.. release date: 2019-10-14
5+
.. section: Core and Builtins
6+
7+
Fixed a bug where the scope of named expressions was not being resolved
8+
correctly in the presence of the *global* keyword. Patch by Pablo Galindo.
9+
10+
..
11+
12+
.. bpo: 38379
13+
.. date: 2019-10-09-16-50-52
14+
.. nonce: oz5qZx
15+
.. section: Core and Builtins
16+
17+
When cyclic garbage collection (gc) runs finalizers that resurrect
18+
unreachable objects, the current gc run ends, without collecting any cyclic
19+
trash. However, the statistics reported by ``collect()`` and
20+
``get_stats()`` claimed that all cyclic trash found was collected, and that
21+
the resurrected objects were collected. Changed the stats to report that
22+
none were collected.
23+
24+
..
25+
26+
.. bpo: 38449
27+
.. date: 2019-10-11-18-49-00
28+
.. nonce: 9TWMlz
29+
.. section: Library
30+
31+
Revert GH-15522, which introduces a regression in
32+
:meth:`mimetypes.guess_type` due to improper handling of filenames as urls.
33+
34+
..
35+
36+
.. bpo: 38431
37+
.. date: 2019-10-10-16-53-00
38+
.. nonce: d5wzNp
39+
.. section: Library
40+
41+
Fix ``__repr__`` method for :class:`dataclasses.InitVar` to support typing
42+
objects, patch by Samuel Colvin.
43+
44+
..
45+
46+
.. bpo: 38109
47+
.. date: 2019-10-10-00-25-28
48+
.. nonce: 9w-IGF
49+
.. section: Library
50+
51+
Add missing :data:`stat.S_IFDOOR`, :data:`stat.S_IFPORT`,
52+
:data:`stat.S_IFWHT`, :func:`stat.S_ISDOOR`, :func:`stat.S_ISPORT`, and
53+
:func:`stat.S_ISWHT` values to the Python implementation of :mod:`stat`.
54+
55+
..
56+
57+
.. bpo: 38405
58+
.. date: 2019-10-08-11-18-40
59+
.. nonce: 0-7e7s
60+
.. section: Library
61+
62+
Nested subclasses of :class:`typing.NamedTuple` are now pickleable.
63+
64+
..
65+
66+
.. bpo: 38332
67+
.. date: 2019-10-05-02-07-52
68+
.. nonce: hwrPN7
69+
.. section: Library
70+
71+
Prevent :exc:`KeyError` thrown by :func:`_encoded_words.decode` when given
72+
an encoded-word with invalid content-type encoding from propagating all the
73+
way to :func:`email.message.get`.
74+
75+
..
76+
77+
.. bpo: 38341
78+
.. date: 2019-10-01-21-06-18
79+
.. nonce: uqwgU_
80+
.. section: Library
81+
82+
Add :exc:`smtplib.SMTPNotSupportedError` to the :mod:`smtplib` exported
83+
names.
84+
85+
..
86+
87+
.. bpo: 13153
88+
.. date: 2019-09-29-22-47-37
89+
.. nonce: 0mO9qR
90+
.. section: Library
91+
92+
OS native encoding is now used for converting between Python strings and Tcl
93+
objects. This allows to display, copy and paste to clipboard emoji and
94+
other non-BMP characters. Converting strings from Tcl to Python and back
95+
now never fails (except MemoryError).
96+
97+
..
98+
99+
.. bpo: 38294
100+
.. date: 2019-09-27-23-37-41
101+
.. nonce: go_jFf
102+
.. section: Documentation
103+
104+
Add list of no-longer-escaped chars to re.escape documentation
105+
106+
..
107+
108+
.. bpo: 37531
109+
.. date: 2019-10-08-16-42-05
110+
.. nonce: 7v-_Ca
111+
.. section: Tests
112+
113+
On timeout, regrtest no longer attempts to call ``popen.communicate()``
114+
again: it can hang until all child processes using stdout and stderr pipes
115+
completes. Kill the worker process and ignores its output. Change also the
116+
faulthandler timeout of the main process from 1 minute to 5 minutes, for
117+
Python slowest buildbots.
118+
119+
..
120+
121+
.. bpo: 38344
122+
.. date: 2019-10-05-05-50-58
123+
.. nonce: scr2LO
124+
.. section: Windows
125+
126+
Fix error message in activate.bat
127+
128+
..
129+
130+
.. bpo: 38359
131+
.. date: 2019-10-03-08-04-14
132+
.. nonce: wzwsl_
133+
.. section: Windows
134+
135+
Ensures ``pyw.exe`` launcher reads correct registry key.
136+
137+
..
138+
139+
.. bpo: 38355
140+
.. date: 2019-10-02-15-38-49
141+
.. nonce: n3AWX6
142+
.. section: Windows
143+
144+
Fixes ``ntpath.realpath`` failing on ``sys.executable``.
145+
146+
..
147+
148+
.. bpo: 36698
149+
.. date: 2019-10-04-18-03-09
150+
.. nonce: BKcmom
151+
.. section: IDLE
152+
153+
IDLE no longer fails when write non-encodable characters to stderr. It now
154+
escapes them with a backslash, as the regular Python interpreter. Added the
155+
``errors`` field to the standard streams.
156+
157+
..
158+
159+
.. bpo: 38118
160+
.. date: 2019-10-08-15-07-52
161+
.. nonce: pIZD6H
162+
.. section: Tools/Demos
163+
164+
Update Valgrind suppression file to ignore a false alarm in
165+
:c:func:`PyUnicode_Decode` when using GCC builtin strcmp().
166+
167+
..
168+
169+
.. bpo: 38347
170+
.. date: 2019-10-02-09-48-42
171+
.. nonce: 2Tq5D1
172+
.. section: Tools/Demos
173+
174+
pathfix.py: Assume all files that end on '.py' are Python scripts when
175+
working recursively.
176+
177+
..
178+
179+
.. bpo: 38395
180+
.. date: 2019-10-08-01-23-24
181+
.. nonce: MJ6Ey9
182+
.. section: C API
183+
184+
Fix a crash in :class:`weakref.proxy` objects due to incorrect lifetime
185+
management when calling some associated methods that may delete the last
186+
reference to object being referenced by the proxy. Patch by Pablo Galindo.

Misc/NEWS.d/next/C API/2019-10-08-01-23-24.bpo-38395.MJ6Ey9.rst

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

Misc/NEWS.d/next/Core and Builtins/2019-10-09-16-50-52.bpo-38379.oz5qZx.rst

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

Misc/NEWS.d/next/Core and Builtins/2019-10-13-23-41-38.bpo-38469.9kmuQj.rst

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

Misc/NEWS.d/next/Documentation/2019-09-27-23-37-41.bpo-38294.go_jFf.rst

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

Misc/NEWS.d/next/IDLE/2019-10-04-18-03-09.bpo-36698.BKcmom.rst

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

Misc/NEWS.d/next/Library/2019-09-29-22-47-37.bpo-13153.0mO9qR.rst

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

0 commit comments

Comments
 (0)