1 .. bpo: 30947 2 .. date: 2017-08-16-16-35-59 3 .. nonce: iNMmm4 4 .. release date: 2017-08-26 5 .. section: Security 6 7 Upgrade libexpat embedded copy from version 2.2.1 to 2.2.3 to get security 8 fixes. 9 10 .. 11 12 .. bpo: 30765 13 .. date: 2017-06-26-14-29-50 14 .. nonce: Q5iBmf 15 .. section: Core and Builtins 16 17 Avoid blocking in pthread_mutex_lock() when PyThread_acquire_lock() is asked 18 not to block. 19 20 .. 21 22 .. bpo: 31135 23 .. date: 2017-08-08-14-59-26 24 .. nonce: 9q1QdB 25 .. section: Library 26 27 ttk: Fix LabeledScale and OptionMenu destroy() method. Call the parent 28 destroy() method even if the used attribute doesn't exist. The 29 LabeledScale.destroy() method now also explicitly clears label and scale 30 attributes to help the garbage collector to destroy all widgets. 31 32 .. 33 34 .. bpo: 31107 35 .. date: 2017-08-02-12-48-15 36 .. nonce: 1t2hn5 37 .. section: Library 38 39 Fix `copy_reg._slotnames()` mangled attribute calculation for classes whose 40 name begins with an underscore. Patch by Shane Harvey. 41 42 .. 43 44 .. bpo: 29519 45 .. date: 2017-07-31-19-32-57 46 .. nonce: _j1awg 47 .. section: Library 48 49 Fix weakref spewing exceptions during interpreter shutdown when used with a 50 rare combination of multiprocessing and custom codecs. 51 52 .. 53 54 .. bpo: 30119 55 .. date: 2017-07-26-22-02-07 56 .. nonce: DZ6C_S 57 .. section: Library 58 59 ftplib.FTP.putline() now throws ValueError on commands that contains CR or 60 LF. Patch by Dong-hee Na. 61 62 .. 63 64 .. bpo: 30595 65 .. date: 2017-07-26-04-46-12 66 .. nonce: -zJ7d8 67 .. section: Library 68 69 multiprocessing.Queue.get() with a timeout now polls its reader in 70 non-blocking mode if it succeeded to aquire the lock but the acquire took longer 71 than the timeout. 72 73 .. 74 75 .. bpo: 29902 76 .. date: 2017-07-23-13-47-22 77 .. nonce: CiuFdn 78 .. section: Library 79 80 Py3k deprecation warning now is emitted when pickling or copying some 81 builtin and extension objects that don't support pickling explicitly and are 82 pickled incorrectly by default (like memoryview or staticmethod). This is a 83 TypeError in Python 3.6. 84 85 .. 86 87 .. bpo: 29854 88 .. date: 2017-07-07-02-18-57 89 .. nonce: J8wKb_ 90 .. section: Library 91 92 Fix segfault in readline when using readline's history-size option. Patch 93 by Nir Soffer. 94 95 .. 96 97 .. bpo: 30807 98 .. date: 2017-06-29-22-04-44 99 .. nonce: sLtjY- 100 .. section: Library 101 102 signal.setitimer() may disable the timer when passed a tiny value. 103 104 Tiny values (such as 1e-6) are valid non-zero values for setitimer(), which 105 is specified as taking microsecond-resolution intervals. However, on some 106 platform, our conversion routine could convert 1e-6 into a zero interval, 107 therefore disabling the timer instead of (re-)scheduling it. 108 109 .. 110 111 .. bpo: 30715 112 .. date: 2017-07-25-15-27-44 113 .. nonce: Sp7bTF 114 .. section: Tests 115 116 Address ALPN callback changes for OpenSSL 1.1.0f. The latest version behaves 117 like OpenSSL 1.0.2 and no longer aborts handshake. 118 119 .. 120 121 .. bpo: 30822 122 .. date: 2017-07-20-14-29-54 123 .. nonce: X0wREo 124 .. section: Tests 125 126 Fix regrtest command line parser to allow passing -u extralargefile to run 127 test_zipfile64. 128 129 .. 130 131 .. bpo: 30283 132 .. date: 2017-06-26-11-24-14 133 .. nonce: qCQmlm 134 .. section: Tests 135 136 regrtest: Enhance regrtest and backport features from the master branch. 137 138 Add options: --coverage, --testdir, --list-tests (list test files, don't run 139 them), --list-cases (list test identifiers, don't run them, :issue:`30523`), 140 --matchfile (load a list of test filters from a text file, :issue:`30540`), 141 --slowest (alias to --slow). 142 143 Enhance output: add timestamp, test result, currently running tests, "Tests 144 result: xxx" summary with total duration, etc. 145 146 Fix reference leak hunting in regrtest, --huntrleaks: regrtest now warms up 147 caches, create explicitly all internal singletons which are created on 148 demand to prevent false positives when checking for reference leaks. 149 (:issue:`30675`). 150