1 .. bpo: 33803 2 .. date: 2018-06-07-20-18-38 3 .. nonce: n-Nq6_ 4 .. release date: 2018-06-12 5 .. section: Core and Builtins 6 7 Fix a crash in hamt.c caused by enabling GC tracking for an object that 8 hadn't all of its fields set to NULL. 9 10 .. 11 12 .. bpo: 33706 13 .. date: 2018-05-31-14-50-04 14 .. nonce: ztlH04 15 .. section: Core and Builtins 16 17 Fix a crash in Python initialization when parsing the command line options. 18 Thanks Christoph Gohlke for the bug report and the fix! 19 20 .. 21 22 .. bpo: 30654 23 .. date: 2018-05-28-12-28-53 24 .. nonce: 9fDJye 25 .. section: Core and Builtins 26 27 Fixed reset of the SIGINT handler to SIG_DFL on interpreter shutdown even 28 when there was a custom handler set previously. Patch by Philipp Kerling. 29 30 .. 31 32 .. bpo: 31849 33 .. date: 2018-05-14-11-00-00 34 .. nonce: EmHaH4 35 .. section: Core and Builtins 36 37 Fix signed/unsigned comparison warning in pyhash.c. 38 39 .. 40 41 .. bpo: 30167 42 .. date: 2018-06-10-19-29-17 43 .. nonce: G5EgC5 44 .. section: Library 45 46 Prevent site.main() exception if PYTHONSTARTUP is set. Patch by Steve Weber. 47 48 .. 49 50 .. bpo: 33812 51 .. date: 2018-06-10-13-26-02 52 .. nonce: frGAOr 53 .. section: Library 54 55 Datetime instance d with non-None tzinfo, but with d.tzinfo.utcoffset(d) 56 returning None is now treated as naive by the astimezone() method. 57 58 .. 59 60 .. bpo: 30805 61 .. date: 2018-06-08-17-34-16 62 .. nonce: 3qCWa0 63 .. section: Library 64 65 Avoid race condition with debug logging 66 67 .. 68 69 .. bpo: 33694 70 .. date: 2018-06-07-23-51-00 71 .. nonce: F1zIR1 72 .. section: Library 73 74 asyncio: Fix a race condition causing data loss on 75 pause_reading()/resume_reading() when using the ProactorEventLoop. 76 77 .. 78 79 .. bpo: 32493 80 .. date: 2018-06-07-18-55-35 81 .. nonce: 1Bte62 82 .. section: Library 83 84 Correct test for ``uuid_enc_be`` availability in ``configure.ac``. Patch by 85 Michael Felt. 86 87 .. 88 89 .. bpo: 33792 90 .. date: 2018-06-07-12-38-12 91 .. nonce: 3aKG7u 92 .. section: Library 93 94 Add asyncio.WindowsSelectorEventLoopPolicy and 95 asyncio.WindowsProactorEventLoopPolicy. 96 97 .. 98 99 .. bpo: 33778 100 .. date: 2018-06-05-20-22-30 101 .. nonce: _tSAS6 102 .. section: Library 103 104 Update ``unicodedata``'s database to Unicode version 11.0.0. 105 106 .. 107 108 .. bpo: 33770 109 .. date: 2018-06-05-11-29-26 110 .. nonce: oBhxxw 111 .. section: Library 112 113 improve base64 exception message for encoded inputs of invalid length 114 115 .. 116 117 .. bpo: 33769 118 .. date: 2018-06-04-13-46-39 119 .. nonce: D_pxYz 120 .. section: Library 121 122 asyncio/start_tls: Fix error message; cancel callbacks in case of an 123 unhandled error; mark SSLTransport as closed if it is aborted. 124 125 .. 126 127 .. bpo: 33767 128 .. date: 2018-06-03-22-41-59 129 .. nonce: 2e82g3 130 .. section: Library 131 132 The concatenation (``+``) and repetition (``*``) sequence operations now 133 raise :exc:`TypeError` instead of :exc:`SystemError` when performed on 134 :class:`mmap.mmap` objects. Patch by Zackery Spytz. 135 136 .. 137 138 .. bpo: 33734 139 .. date: 2018-06-01-10-55-48 140 .. nonce: x1W9x0 141 .. section: Library 142 143 asyncio/ssl: Fix AttributeError, increase default handshake timeout 144 145 .. 146 147 .. bpo: 11874 148 .. date: 2018-05-23-00-26-27 149 .. nonce: glK5iP 150 .. section: Library 151 152 Use a better regex when breaking usage into wrappable parts. Avoids bogus 153 assertion errors from custom metavar strings. 154 155 .. 156 157 .. bpo: 33582 158 .. date: 2018-05-19-15-58-14 159 .. nonce: qBZPmF 160 .. section: Library 161 162 Emit a deprecation warning for inspect.formatargspec 163 164 .. 165 166 .. bpo: 33409 167 .. date: 2018-06-08-23-46-01 168 .. nonce: r4z9MM 169 .. section: Documentation 170 171 Clarified the relationship between PEP 538's PYTHONCOERCECLOCALE and PEP 172 540's PYTHONUTF8 mode. 173 174 .. 175 176 .. bpo: 33736 177 .. date: 2018-06-01-12-27-40 178 .. nonce: JVegIu 179 .. section: Documentation 180 181 Improve the documentation of :func:`asyncio.open_connection`, 182 :func:`asyncio.start_server` and their UNIX socket counterparts. 183 184 .. 185 186 .. bpo: 31432 187 .. date: 2017-09-13-07-14-59 188 .. nonce: yAY4Z3 189 .. section: Documentation 190 191 Clarify meaning of CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED flags for 192 ssl.SSLContext.verify_mode. 193 194 .. 195 196 .. bpo: 5755 197 .. date: 2018-06-04-21-34-34 198 .. nonce: 65GmCj 199 .. section: Build 200 201 Move ``-Wstrict-prototypes`` option to ``CFLAGS_NODIST`` from ``OPT``. This 202 option emitted annoying warnings when building extension modules written in 203 C++. 204 205 .. 206 207 .. bpo: 33720 208 .. date: 2018-06-04-09-20-53 209 .. nonce: VKDXHK 210 .. section: Windows 211 212 Reduces maximum marshal recursion depth on release builds. 213 214 .. 215 216 .. bpo: 33656 217 .. date: 2018-06-10-17-59-36 218 .. nonce: 60ZqJS 219 .. section: IDLE 220 221 On Windows, add API call saying that tk scales for DPI. On Windows 8.1+ or 222 10, with DPI compatibility properties of the Python binary unchanged, and a 223 monitor resolution greater than 96 DPI, this should make text and lines 224 sharper. It should otherwise have no effect. 225 226 .. 227 228 .. bpo: 33768 229 .. date: 2018-06-04-19-23-11 230 .. nonce: I_2qpV 231 .. section: IDLE 232 233 Clicking on a context line moves that line to the top of the editor window. 234 235 .. 236 237 .. bpo: 33763 238 .. date: 2018-06-03-20-12-57 239 .. nonce: URiFlE 240 .. section: IDLE 241 242 IDLE: Use read-only text widget for code context instead of label widget. 243 244 .. 245 246 .. bpo: 33664 247 .. date: 2018-06-03-09-13-28 248 .. nonce: PZzQyL 249 .. section: IDLE 250 251 Scroll IDLE editor text by lines. Previously, the mouse wheel and scrollbar 252 slider moved text by a fixed number of pixels, resulting in partial lines at 253 the top of the editor box. The change also applies to the shell and grep 254 output windows, but not to read-only text views. 255 256 .. 257 258 .. bpo: 33679 259 .. date: 2018-05-29-07-14-37 260 .. nonce: MgX_Ui 261 .. section: IDLE 262 263 Enable theme-specific color configuration for Code Context. Use the 264 Highlights tab to see the setting for built-in themes or add settings to 265 custom themes. 266 267 .. 268 269 .. bpo: 33642 270 .. date: 2018-05-24-20-42-44 271 .. nonce: J0VQbS 272 .. section: IDLE 273 274 Display up to maxlines non-blank lines for Code Context. If there is no 275 current context, show a single blank line. 276