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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
|
.. bpo: 19301
.. date: 7918
.. nonce: xZv71d
.. release date: 2013-10-20
.. section: Core and Builtins
Give classes and functions that are explicitly marked global a global
qualname.
..
.. bpo: 19279
.. date: 7917
.. nonce: VVzqJy
.. section: Core and Builtins
UTF-7 decoder no longer produces illegal strings.
..
.. bpo: 16612
.. date: 7916
.. nonce: 8bgX-E
.. section: Core and Builtins
Add "Argument Clinic", a compile-time preprocessor for C files to generate
argument parsing code. (See PEP 436.)
..
.. bpo: 18810
.. date: 7915
.. nonce: tQAzk_
.. section: Core and Builtins
Shift stat calls in importlib.machinery.FileFinder such that the code is
optimistic that if something exists in a directory named exactly like the
possible package being searched for that it's in actuality a directory.
..
.. bpo: 18416
.. date: 7914
.. nonce: 5mWnIr
.. section: Core and Builtins
importlib.machinery.PathFinder now treats '' as the cwd and
importlib.machinery.FileFinder no longer special-cases '' to '.'. This leads
to modules imported from cwd to now possess an absolute file path for
__file__ (this does not affect modules specified by path on the CLI but it
does affect -m/runpy). It also allows FileFinder to be more consistent by
not having an edge case.
..
.. bpo: 4555
.. date: 7913
.. nonce: mOxiRO
.. section: Core and Builtins
All exported C symbols are now prefixed with either "Py" or "_Py".
..
.. bpo: 19219
.. date: 7912
.. nonce: _H8xTK
.. section: Core and Builtins
Speed up marshal.loads(), and make pyc files slightly (5% to 10%) smaller.
..
.. bpo: 19221
.. date: 7911
.. nonce: Y7d-d9
.. section: Core and Builtins
Upgrade Unicode database to version 6.3.0.
..
.. bpo: 16742
.. date: 7910
.. nonce: vmmba7
.. section: Core and Builtins
The result of the C callback PyOS_ReadlineFunctionPointer must now be a
string allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL if an
error occurred), instead of a string allocated by PyMem_Malloc() or
PyMem_Realloc().
..
.. bpo: 19199
.. date: 7909
.. nonce: HZHjaz
.. section: Core and Builtins
Remove ``PyThreadState.tick_counter`` field
..
.. bpo: 0
.. date: 7908
.. nonce: 5kIB0G
.. section: Core and Builtins
Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at
least one place so as to avoid regressions.
..
.. bpo: 19087
.. date: 7907
.. nonce: gdUdnV
.. section: Core and Builtins
Improve bytearray allocation in order to allow cheap popping of data at the
front (slice deletion).
..
.. bpo: 19014
.. date: 7906
.. nonce: y4w-XY
.. section: Core and Builtins
memoryview.cast() is now allowed on zero-length views.
..
.. bpo: 18690
.. date: 7905
.. nonce: CS9avj
.. section: Core and Builtins
memoryview is now automatically registered with collections.abc.Sequence
..
.. bpo: 19078
.. date: 7904
.. nonce: PQhOCk
.. section: Core and Builtins
memoryview now correctly supports the reversed builtin (Patch by Claudiu
Popa)
..
.. bpo: 17457
.. date: 7903
.. nonce: TeaU1w
.. section: Library
unittest test discovery now works with namespace packages. Patch by Claudiu
Popa.
..
.. bpo: 18235
.. date: 7902
.. nonce: LdBO1h
.. section: Library
Fix the sysconfig variables LDSHARED and BLDSHARED under AIX. Patch by David
Edelsohn.
..
.. bpo: 18606
.. date: 7901
.. nonce: CIapUf
.. section: Library
Add the new "statistics" module (PEP 450). Contributed by Steven D'Aprano.
..
.. bpo: 12866
.. date: 7900
.. nonce: 7c7GGc
.. section: Library
The audioop module now supports 24-bit samples.
..
.. bpo: 19254
.. date: 7899
.. nonce: hq_ejm
.. section: Library
Provide an optimized Python implementation of pbkdf2_hmac.
..
.. bpo: 19201
.. date: 7898
.. nonce: OY6_PP
.. section: Library
Add "x" mode (exclusive creation) in opening file to bz2, gzip and lzma
modules. Patches by Tim Heaney and Vajrasky Kok. (See also: bpo-19222,
bpo-19223)
..
.. bpo: 0
.. date: 7897
.. nonce: dSKPsn
.. section: Library
Fix a reference count leak in _sre.
..
.. bpo: 19262
.. date: 7896
.. nonce: fNsTCq
.. section: Library
Initial check in of the 'asyncio' package (a.k.a. Tulip, a.k.a. PEP 3156).
There are no docs yet, and the PEP is slightly out of date with the code.
This module will have *provisional* status in Python 3.4.
..
.. bpo: 19276
.. date: 7895
.. nonce: Y69Qmv
.. section: Library
Fixed the wave module on 64-bit big-endian platforms.
..
.. bpo: 19266
.. date: 7894
.. nonce: an8EiY
.. section: Library
Rename the new-in-3.4 ``contextlib.ignore`` context manager to
``contextlib.suppress`` in order to be more consistent with existing
descriptions of that operation elsewhere in the language and standard
library documentation (Patch by Zero Piraeus).
..
.. bpo: 18891
.. date: 7893
.. nonce: 4TroDn
.. section: Library
Completed the new email package (provisional) API additions by adding new
classes EmailMessage, MIMEPart, and ContentManager.
..
.. bpo: 18281
.. date: 7892
.. nonce: 1FnfEW
.. section: Library
Unused stat constants removed from `tarfile`.
..
.. bpo: 18999
.. date: 7891
.. nonce: -2OZju
.. section: Library
Multiprocessing now supports 'contexts' with the same API as the module, but
bound to specified start methods.
..
.. bpo: 18468
.. date: 7890
.. nonce: 8a1TVz
.. section: Library
The re.split, re.findall, and re.sub functions and the group() and groups()
methods of match object now always return a string or a bytes object.
..
.. bpo: 18725
.. date: 7889
.. nonce: zkMEqo
.. section: Library
The textwrap module now supports truncating multiline text.
..
.. bpo: 18776
.. date: 7888
.. nonce: Y-0SKr
.. section: Library
atexit callbacks now display their full traceback when they raise an
exception.
..
.. bpo: 17827
.. date: 7887
.. nonce: HJGFDL
.. section: Library
Add the missing documentation for ``codecs.encode`` and ``codecs.decode``.
..
.. bpo: 19218
.. date: 7886
.. nonce: Cd2omk
.. section: Library
Rename collections.abc to _collections_abc in order to speed up interpreter
start.
..
.. bpo: 18582
.. date: 7885
.. nonce: hn0YhD
.. section: Library
Add 'pbkdf2_hmac' to the hashlib module. It implements PKCS#5 password-based
key derivation functions with HMAC as pseudorandom function.
..
.. bpo: 19131
.. date: 7884
.. nonce: eZXzpr
.. section: Library
The aifc module now correctly reads and writes sampwidth of compressed
streams.
..
.. bpo: 19209
.. date: 7883
.. nonce: 3Hyd--
.. section: Library
Remove import of copyreg from the os module to speed up interpreter startup.
stat_result and statvfs_result are now hard-coded to reside in the os
module.
..
.. bpo: 19205
.. date: 7882
.. nonce: yrFzJn
.. section: Library
Don't import the 're' module in site and sysconfig module to speed up
interpreter start.
..
.. bpo: 9548
.. date: 7881
.. nonce: nhTqHw
.. section: Library
Add a minimal "_bootlocale" module that is imported by the _io module
instead of the full locale module.
..
.. bpo: 18764
.. date: 7880
.. nonce: rbnhLA
.. section: Library
Remove the 'print' alias for the PDB 'p' command so that it no longer
shadows the print function.
..
.. bpo: 19158
.. date: 7879
.. nonce: GvkZuU
.. section: Library
A rare race in BoundedSemaphore could allow .release() too often.
..
.. bpo: 15805
.. date: 7878
.. nonce: F_Ubx0
.. section: Library
Add contextlib.redirect_stdout().
..
.. bpo: 18716
.. date: 7877
.. nonce: L9QcWX
.. section: Library
Deprecate the formatter module.
..
.. bpo: 10712
.. date: 7876
.. nonce: rnd0oc
.. section: Library
2to3 has a new "asserts" fixer that replaces deprecated names of unittest
methods (e.g. failUnlessEqual -> assertEqual).
..
.. bpo: 18037
.. date: 7875
.. nonce: 7XGs8m
.. section: Library
2to3 now escapes ``'\u'`` and ``'\U'`` in native strings.
..
.. bpo: 17839
.. date: 7874
.. nonce: EyWhFu
.. section: Library
base64.decodebytes and base64.encodebytes now accept any object that exports
a 1 dimensional array of bytes (this means the same is now also true for
base64_codec)
..
.. bpo: 19132
.. date: 7873
.. nonce: ADBW6c
.. section: Library
The pprint module now supports compact mode.
..
.. bpo: 19137
.. date: 7872
.. nonce: Iuit_M
.. section: Library
The pprint module now correctly formats instances of set and frozenset
subclasses.
..
.. bpo: 10042
.. date: 7871
.. nonce: AH33zP
.. section: Library
functools.total_ordering now correctly handles NotImplemented being returned
by the underlying comparison function (Patch by Katie Miller)
..
.. bpo: 19092
.. date: 7870
.. nonce: Z7dea9
.. section: Library
contextlib.ExitStack now correctly reraises exceptions from the __exit__
callbacks of inner context managers (Patch by Hrvoje Nikšić)
..
.. bpo: 12641
.. date: 7869
.. nonce: r9sIyX
.. section: Library
Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Patch by Oscar Benjamin.
..
.. bpo: 5845
.. date: 7868
.. nonce: obzVIH
.. section: Library
In site.py, only load readline history from ~/.python_history if no history
has been read already. This avoids double writes to the history file at
shutdown.
..
.. bpo: 0
.. date: 7867
.. nonce: 08TsG5
.. section: Library
Properly initialize all fields of a SSL object after allocation.
..
.. bpo: 19095
.. date: 7866
.. nonce: qZGvAs
.. section: Library
SSLSocket.getpeercert() now raises ValueError when the SSL handshake hasn't
been done.
..
.. bpo: 4366
.. date: 7865
.. nonce: lDEdfK
.. section: Library
Fix building extensions on all platforms when --enable-shared is used.
..
.. bpo: 19030
.. date: 7864
.. nonce: uKvvJF
.. section: Library
Fixed `inspect.getmembers` and `inspect.classify_class_attrs` to attempt
activating descriptors before falling back to a __dict__ search for faulty
descriptors. `inspect.classify_class_attrs` no longer returns Attributes
whose home class is None.
..
.. bpo: 1772673
.. date: 7863
.. nonce: 5cdzx1
.. section: C API
The type of `char*` arguments now changed to `const char*`.
..
.. bpo: 16129
.. date: 7862
.. nonce: 8zyucl
.. section: C API
Added a `Py_SetStandardStreamEncoding` pre-initialization API to allow
embedding applications like Blender to force a particular encoding and error
handler for the standard IO streams (initial patch by Bastien Montagne)
..
.. bpo: 19275
.. date: 7861
.. nonce: uboiiw
.. section: Tests
Fix test_site on AMD64 Snow Leopard
..
.. bpo: 14407
.. date: 7860
.. nonce: -tmRl9
.. section: Tests
Fix unittest test discovery in test_concurrent_futures.
..
.. bpo: 18919
.. date: 7859
.. nonce: cEkIuG
.. section: Tests
Unified and extended tests for audio modules: aifc, sunau and wave.
..
.. bpo: 18714
.. date: 7858
.. nonce: tcsRe-
.. section: Tests
Added tests for ``pdb.find_function()``.
..
.. bpo: 18758
.. date: 7857
.. nonce: hMCi7Z
.. section: Documentation
Fixed and improved cross-references.
..
.. bpo: 18972
.. date: 7856
.. nonce: iFwRVt
.. section: Documentation
Modernize email examples and use the argparse module in them.
..
.. bpo: 19130
.. date: 7855
.. nonce: 7l54jz
.. section: Build
Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010.
..
.. bpo: 15663
.. date: 7854
.. nonce: 72Jlq0
.. section: Build
Update OS X 10.6+ installer to use Tcl/Tk 8.5.15.
..
.. bpo: 14499
.. date: 7853
.. nonce: 5ipy19
.. section: Build
Fix several problems with OS X universal build support: 1. ppc arch
detection for extension module builds broke with Xcode 5 2. ppc arch
detection in configure did not work on OS X 10.4 3. -sysroot and -arch
flags were unnecessarily duplicated 4. there was no obvious way to
configure an intel-32 only build.
..
.. bpo: 19019
.. date: 7852
.. nonce: 5W7lw_
.. section: Build
Change the OS X installer build script to use CFLAGS instead of OPT for
special build options. By setting OPT, some compiler-specific options like
-fwrapv were overridden and thus not used, which could result in broken
interpreters when building with clang.
|