summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/3.4.0a3.rst
blob: 6e1938e97e969021410b620df42add3a89ce9411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
.. bpo: 18818
.. date: 7851
.. nonce: fsZ51D
.. release date: 2013-09-29
.. section: Core and Builtins

The "encodingname" part of PYTHONIOENCODING is now optional.

..

.. bpo: 19098
.. date: 7850
.. nonce: 5XU9uv
.. section: Core and Builtins

Prevent overflow in the compiler when the recursion limit is set absurdly
high.

..

.. bpo: 18929
.. date: 7849
.. nonce: xt9_At
.. section: Library

`inspect.classify_class_attrs()` now correctly finds class attributes
returned by `dir()` that are located in the metaclass.

..

.. bpo: 18950
.. date: 7848
.. nonce: DHn3qf
.. section: Library

Fix miscellaneous bugs in the sunau module. Au_read.readframes() now updates
current file position and reads correct number of frames from multichannel
stream.  Au_write.writeframesraw() now correctly updates current file
position.  Au_read.getnframes() now returns an integer (as in Python 2).
Au_read and Au_write now correctly works with file object if start file
position is not a zero.

..

.. bpo: 18594
.. date: 7847
.. nonce: Dm34qD
.. section: Library

The fast path for collections.Counter() was never taken due to an over-
restrictive type check.

..

.. bpo: 19053
.. date: 7846
.. nonce: DkcFZ8
.. section: Library

ZipExtFile.read1() with non-zero argument no more returns empty bytes until
end of data.

..

.. bpo: 0
.. date: 7845
.. nonce: x-7joT
.. section: Library

logging: added support for Unix domain sockets to SocketHandler and
DatagramHandler.

..

.. bpo: 18996
.. date: 7844
.. nonce: 1Waotx
.. section: Library

TestCase.assertEqual() now more cleverly shorten differing strings in error
report.

..

.. bpo: 19034
.. date: 7843
.. nonce: S5MyMF
.. section: Library

repr() for tkinter.Tcl_Obj now exposes string reperesentation.

..

.. bpo: 18978
.. date: 7842
.. nonce: qyLkAY
.. section: Library

``urllib.request.Request`` now allows the method to be indicated on the
class and no longer sets it to None in ``__init__``.

..

.. bpo: 18626
.. date: 7841
.. nonce: X3HiU3
.. section: Library

the inspect module now offers a basic command line introspection interface
(Initial patch by Claudiu Popa)

..

.. bpo: 3015
.. date: 7840
.. nonce: Db5Zwa
.. section: Library

Fixed tkinter with wantobject=False.  Any Tcl command call returned empty
string.

..

.. bpo: 19037
.. date: 7839
.. nonce: OfBhoU
.. section: Library

The mailbox module now makes all changes to maildir files before moving them
into place, to avoid race conditions with other programs that may be
accessing the maildir directory.

..

.. bpo: 14984
.. date: 7838
.. nonce: iRbFp4
.. section: Library

On POSIX systems, when netrc is called without a filename argument (and
therefore is reading the user's $HOME/.netrc file), it now enforces the same
security rules as typical ftp clients: the .netrc file must be owned by the
user that owns the process and must not be readable by any other user.

..

.. bpo: 18873
.. date: 7837
.. nonce: 3ezwXm
.. section: Library

The tokenize module now detects Python source code encoding only in comment
lines.

..

.. bpo: 17764
.. date: 7836
.. nonce: czuuKO
.. section: Library

Enable http.server to bind to a user specified network interface.  Patch
contributed by Malte Swart.

..

.. bpo: 18937
.. date: 7835
.. nonce: bcvKgi
.. section: Library

Add an assertLogs() context manager to unittest.TestCase to ensure that a
block of code emits a message using the logging module.

..

.. bpo: 17324
.. date: 7834
.. nonce: 0PkOTi
.. section: Library

Fix http.server's request handling case on trailing '/'. Patch contributed
by Vajrasky Kok.

..

.. bpo: 19018
.. date: 7833
.. nonce: mntKOW
.. section: Library

The heapq.merge() function no longer suppresses IndexError in the underlying
iterables.

..

.. bpo: 18784
.. date: 7832
.. nonce: dtzGbX
.. section: Library

The uuid module no longer attempts to load libc via ctypes.CDLL if all the
necessary functions have already been found in libuuid.  Patch by Evgeny
Sologubov.

..

.. bpo: 0
.. date: 7831
.. nonce: 22MCfN
.. section: Library

The :envvar:`PYTHONFAULTHANDLER` environment variable now only enables the
faulthandler module if the variable is non-empty. Same behaviour than other
variables like :envvar:`PYTHONDONTWRITEBYTECODE`.

..

.. bpo: 1565525
.. date: 7830
.. nonce: 0rVMB7
.. section: Library

New function ``traceback.clear_frames`` will clear the local variables of
all the stack frames referenced by a traceback object.

..

.. bpo: 18952
.. date: 7829
.. nonce: ysovuf
.. section: Tests

Fix regression in support data downloads introduced when test.support was
converted to a package. Regression noticed by Zachary Ware.

..

.. bpo: 18873
.. date: 7828
.. nonce: dyLPY9
.. section: IDLE

IDLE now detects Python source code encoding only in comment lines.

..

.. bpo: 18988
.. date: 7827
.. nonce: 6CpesW
.. section: IDLE

The "Tab" key now works when a word is already autocompleted.

..

.. bpo: 17003
.. date: 7826
.. nonce: eQGdny
.. section: Documentation

Unified the size argument names in the io module with common practice.

..

.. bpo: 18596
.. date: 7825
.. nonce: TMPNJZ
.. section: Build

Support the use of address sanity checking in recent versions of clang and
GCC by appropriately marking known false alarms in the small object
allocator. Patch contributed by Dhiru Kholia.

..

.. bpo: 18873
.. date: 7824
.. nonce: i_1Tf_
.. section: Tools/Demos

2to3 and the findnocoding.py script now detect Python source code encoding
only in comment lines.