larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1 | .. bpo: 22980 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2 | .. date: 9109 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3 | .. nonce: Lu_y6y |
| 4 | .. release date: 2015-04-19 |
| 5 | .. section: Core and Builtins |
| 6 | |
| 7 | Under Linux, GNU/KFreeBSD and the Hurd, C extensions now include the |
| 8 | architecture triplet in the extension name, to make it easy to test builds |
| 9 | for different ABIs in the same working tree. Under OS X, the extension name |
Stéphane Wirtel | 12e696b | 2018-10-27 00:58:26 +0200 | [diff] [blame] | 10 | now includes :pep:`3149`-style information. |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 11 | |
| 12 | .. |
| 13 | |
| 14 | .. bpo: 22631 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 15 | .. date: 9108 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 16 | .. nonce: nTx_ZF |
| 17 | .. section: Core and Builtins |
| 18 | |
| 19 | Added Linux-specific socket constant CAN_RAW_FD_FRAMES. Patch courtesy of |
| 20 | Joe Jevnik. |
| 21 | |
| 22 | .. |
| 23 | |
| 24 | .. bpo: 23731 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 25 | .. date: 9107 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 26 | .. nonce: FOXb37 |
| 27 | .. section: Core and Builtins |
| 28 | |
Stéphane Wirtel | 12e696b | 2018-10-27 00:58:26 +0200 | [diff] [blame] | 29 | Implement :pep:`488`: removal of .pyo files. |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 30 | |
| 31 | .. |
| 32 | |
| 33 | .. bpo: 23726 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 34 | .. date: 9106 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 35 | .. nonce: ZopTQ0 |
| 36 | .. section: Core and Builtins |
| 37 | |
| 38 | Don't enable GC for user subclasses of non-GC types that don't add any new |
| 39 | fields. Patch by Eugene Toder. |
| 40 | |
| 41 | .. |
| 42 | |
| 43 | .. bpo: 23309 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 44 | .. date: 9105 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 45 | .. nonce: Wfnsnz |
| 46 | .. section: Core and Builtins |
| 47 | |
| 48 | Avoid a deadlock at shutdown if a daemon thread is aborted while it is |
| 49 | holding a lock to a buffered I/O object, and the main thread tries to use |
| 50 | the same I/O object (typically stdout or stderr). A fatal error is emitted |
| 51 | instead. |
| 52 | |
| 53 | .. |
| 54 | |
| 55 | .. bpo: 22977 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 56 | .. date: 9104 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 57 | .. nonce: hutEse |
| 58 | .. section: Core and Builtins |
| 59 | |
| 60 | Fixed formatting Windows error messages on Wine. Patch by Martin Panter. |
| 61 | |
| 62 | .. |
| 63 | |
| 64 | .. bpo: 23466 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 65 | .. date: 9103 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 66 | .. nonce: KhMltK |
| 67 | .. section: Core and Builtins |
| 68 | |
| 69 | %c, %o, %x, and %X in bytes formatting now raise TypeError on non-integer |
| 70 | input. |
| 71 | |
| 72 | .. |
| 73 | |
| 74 | .. bpo: 24044 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 75 | .. date: 9102 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 76 | .. nonce: H7vb6- |
| 77 | .. section: Core and Builtins |
| 78 | |
| 79 | Fix possible null pointer dereference in list.sort in out of memory |
| 80 | conditions. |
| 81 | |
| 82 | .. |
| 83 | |
| 84 | .. bpo: 21354 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 85 | .. date: 9101 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 86 | .. nonce: ZZTe1E |
| 87 | .. section: Core and Builtins |
| 88 | |
| 89 | PyCFunction_New function is exposed by python DLL again. |
| 90 | |
| 91 | .. |
| 92 | |
| 93 | .. bpo: 23840 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 94 | .. date: 9100 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 95 | .. nonce: mtSbqO |
| 96 | .. section: Library |
| 97 | |
| 98 | tokenize.open() now closes the temporary binary file on error to fix a |
| 99 | resource warning. |
| 100 | |
| 101 | .. |
| 102 | |
| 103 | .. bpo: 16914 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 104 | .. date: 9099 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 105 | .. nonce: GrP2Jr |
| 106 | .. section: Library |
| 107 | |
| 108 | new debuglevel 2 in smtplib adds timestamps to debug output. |
| 109 | |
| 110 | .. |
| 111 | |
| 112 | .. bpo: 7159 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 113 | .. date: 9098 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 114 | .. nonce: KCgOUm |
| 115 | .. section: Library |
| 116 | |
| 117 | urllib.request now supports sending auth credentials automatically after the |
| 118 | first 401. This enhancement is a superset of the enhancement from issue |
| 119 | #19494 and supersedes that change. |
| 120 | |
| 121 | .. |
| 122 | |
| 123 | .. bpo: 23703 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 124 | .. date: 9097 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 125 | .. nonce: kYybxm |
| 126 | .. section: Library |
| 127 | |
| 128 | Fix a regression in urljoin() introduced in 901e4e52b20a. Patch by Demian |
| 129 | Brecht. |
| 130 | |
| 131 | .. |
| 132 | |
| 133 | .. bpo: 4254 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 134 | .. date: 9096 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 135 | .. nonce: eUC_2H |
| 136 | .. section: Library |
| 137 | |
| 138 | Adds _curses.update_lines_cols(). Patch by Arnon Yaari |
| 139 | |
| 140 | .. |
| 141 | |
| 142 | .. bpo: 19933 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 143 | .. date: 9095 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 144 | .. nonce: Qq8utk |
| 145 | .. section: Library |
| 146 | |
| 147 | Provide default argument for ndigits in round. Patch by Vajrasky Kok. |
| 148 | |
| 149 | .. |
| 150 | |
| 151 | .. bpo: 23193 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 152 | .. date: 9094 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 153 | .. nonce: n5ahcG |
| 154 | .. section: Library |
| 155 | |
| 156 | Add a numeric_owner parameter to tarfile.TarFile.extract and |
| 157 | tarfile.TarFile.extractall. Patch by Michael Vogt and Eric Smith. |
| 158 | |
| 159 | .. |
| 160 | |
| 161 | .. bpo: 23342 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 162 | .. date: 9093 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 163 | .. nonce: CbSzYI |
| 164 | .. section: Library |
| 165 | |
| 166 | Add a subprocess.run() function than returns a CalledProcess instance for a |
| 167 | more consistent API than the existing call* functions. |
| 168 | |
| 169 | .. |
| 170 | |
| 171 | .. bpo: 21217 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 172 | .. date: 9092 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 173 | .. nonce: TkFTlk |
| 174 | .. section: Library |
| 175 | |
| 176 | inspect.getsourcelines() now tries to compute the start and end lines from |
| 177 | the code object, fixing an issue when a lambda function is used as decorator |
| 178 | argument. Patch by Thomas Ballinger and Allison Kaptur. |
| 179 | |
| 180 | .. |
| 181 | |
| 182 | .. bpo: 24521 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 183 | .. date: 9091 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 184 | .. nonce: bn4U-y |
| 185 | .. section: Library |
| 186 | |
| 187 | Fix possible integer overflows in the pickle module. |
| 188 | |
| 189 | .. |
| 190 | |
| 191 | .. bpo: 22931 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 192 | .. date: 9090 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 193 | .. nonce: 4CuWYD |
| 194 | .. section: Library |
| 195 | |
| 196 | Allow '[' and ']' in cookie values. |
| 197 | |
| 198 | .. |
| 199 | |
| 200 | .. bpo: 0 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 201 | .. date: 9089 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 202 | .. nonce: fgX8Qe |
| 203 | .. section: Library |
| 204 | |
| 205 | The keywords attribute of functools.partial is now always a dictionary. |
| 206 | |
| 207 | .. |
| 208 | |
| 209 | .. bpo: 23811 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 210 | .. date: 9088 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 211 | .. nonce: B6tzf9 |
| 212 | .. section: Library |
| 213 | |
| 214 | Add missing newline to the PyCompileError error message. Patch by Alex |
| 215 | Shkop. |
| 216 | |
| 217 | .. |
| 218 | |
| 219 | .. bpo: 21116 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 220 | .. date: 9087 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 221 | .. nonce: Orft3K |
| 222 | .. section: Library |
| 223 | |
| 224 | Avoid blowing memory when allocating a multiprocessing shared array that's |
| 225 | larger than 50% of the available RAM. Patch by Médéric Boquien. |
| 226 | |
| 227 | .. |
| 228 | |
| 229 | .. bpo: 22982 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 230 | .. date: 9086 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 231 | .. nonce: xYmG62 |
| 232 | .. section: Library |
| 233 | |
| 234 | Improve BOM handling when seeking to multiple positions of a writable text |
| 235 | file. |
| 236 | |
| 237 | .. |
| 238 | |
| 239 | .. bpo: 23464 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 240 | .. date: 9085 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 241 | .. nonce: _XGkBk |
| 242 | .. section: Library |
| 243 | |
| 244 | Removed deprecated asyncio JoinableQueue. |
| 245 | |
| 246 | .. |
| 247 | |
| 248 | .. bpo: 23529 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 249 | .. date: 9084 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 250 | .. nonce: Hr7AHH |
| 251 | .. section: Library |
| 252 | |
| 253 | Limit the size of decompressed data when reading from GzipFile, BZ2File or |
| 254 | LZMAFile. This defeats denial of service attacks using compressed bombs |
| 255 | (i.e. compressed payloads which decompress to a huge size). Patch by Martin |
| 256 | Panter and Nikolaus Rath. |
| 257 | |
| 258 | .. |
| 259 | |
| 260 | .. bpo: 21859 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 261 | .. date: 9083 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 262 | .. nonce: GYrUNP |
| 263 | .. section: Library |
| 264 | |
| 265 | Added Python implementation of io.FileIO. |
| 266 | |
| 267 | .. |
| 268 | |
| 269 | .. bpo: 23865 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 270 | .. date: 9082 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 271 | .. nonce: PtSLgU |
| 272 | .. section: Library |
| 273 | |
| 274 | close() methods in multiple modules now are idempotent and more robust at |
| 275 | shutdown. If they need to release multiple resources, all are released even |
| 276 | if errors occur. |
| 277 | |
| 278 | .. |
| 279 | |
| 280 | .. bpo: 23400 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 281 | .. date: 9081 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 282 | .. nonce: JSh9Z3 |
| 283 | .. section: Library |
| 284 | |
| 285 | Raise same exception on both Python 2 and 3 if sem_open is not available. |
| 286 | Patch by Davin Potts. |
| 287 | |
| 288 | .. |
| 289 | |
| 290 | .. bpo: 10838 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 291 | .. date: 9080 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 292 | .. nonce: p9tSPC |
| 293 | .. section: Library |
| 294 | |
| 295 | The subprocess now module includes SubprocessError and TimeoutError in its |
| 296 | list of exported names for the users wild enough to use ``from subprocess |
| 297 | import *``. |
| 298 | |
| 299 | .. |
| 300 | |
| 301 | .. bpo: 23411 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 302 | .. date: 9079 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 303 | .. nonce: 0im3Qw |
| 304 | .. section: Library |
| 305 | |
| 306 | Added DefragResult, ParseResult, SplitResult, DefragResultBytes, |
| 307 | ParseResultBytes, and SplitResultBytes to urllib.parse.__all__. Patch by |
| 308 | Martin Panter. |
| 309 | |
| 310 | .. |
| 311 | |
| 312 | .. bpo: 23881 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 313 | .. date: 9078 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 314 | .. nonce: yZjl4b |
| 315 | .. section: Library |
| 316 | |
| 317 | urllib.request.ftpwrapper constructor now closes the socket if the FTP |
| 318 | connection failed to fix a ResourceWarning. |
| 319 | |
| 320 | .. |
| 321 | |
| 322 | .. bpo: 23853 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 323 | .. date: 9077 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 324 | .. nonce: mNY1eI |
| 325 | .. section: Library |
| 326 | |
| 327 | :meth:`socket.socket.sendall` does no more reset the socket timeout each |
| 328 | time data is sent successfully. The socket timeout is now the maximum total |
| 329 | duration to send all data. |
| 330 | |
| 331 | .. |
| 332 | |
| 333 | .. bpo: 22721 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 334 | .. date: 9076 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 335 | .. nonce: MVfBL9 |
| 336 | .. section: Library |
| 337 | |
| 338 | An order of multiline pprint output of set or dict containing orderable and |
| 339 | non-orderable elements no longer depends on iteration order of set or dict. |
| 340 | |
| 341 | .. |
| 342 | |
| 343 | .. bpo: 15133 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 344 | .. date: 9075 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 345 | .. nonce: C0QfV8 |
| 346 | .. section: Library |
| 347 | |
| 348 | _tkinter.tkapp.getboolean() now supports Tcl_Obj and always returns bool. |
| 349 | tkinter.BooleanVar now validates input values (accepted bool, int, str, and |
| 350 | Tcl_Obj). tkinter.BooleanVar.get() now always returns bool. |
| 351 | |
| 352 | .. |
| 353 | |
| 354 | .. bpo: 10590 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 355 | .. date: 9074 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 356 | .. nonce: nkxXfU |
| 357 | .. section: Library |
| 358 | |
| 359 | xml.sax.parseString() now supports string argument. |
| 360 | |
| 361 | .. |
| 362 | |
| 363 | .. bpo: 23338 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 364 | .. date: 9073 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 365 | .. nonce: ZYMGN1 |
| 366 | .. section: Library |
| 367 | |
| 368 | Fixed formatting ctypes error messages on Cygwin. Patch by Makoto Kato. |
| 369 | |
| 370 | .. |
| 371 | |
| 372 | .. bpo: 15582 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 373 | .. date: 9072 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 374 | .. nonce: 26wJNk |
| 375 | .. section: Library |
| 376 | |
| 377 | inspect.getdoc() now follows inheritance chains. |
| 378 | |
| 379 | .. |
| 380 | |
| 381 | .. bpo: 2175 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 382 | .. date: 9071 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 383 | .. nonce: cHiVOp |
| 384 | .. section: Library |
| 385 | |
| 386 | SAX parsers now support a character stream of InputSource object. |
| 387 | |
| 388 | .. |
| 389 | |
| 390 | .. bpo: 16840 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 391 | .. date: 9070 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 392 | .. nonce: kKIhPm |
| 393 | .. section: Library |
| 394 | |
| 395 | Tkinter now supports 64-bit integers added in Tcl 8.4 and arbitrary |
| 396 | precision integers added in Tcl 8.5. |
| 397 | |
| 398 | .. |
| 399 | |
| 400 | .. bpo: 23834 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 401 | .. date: 9069 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 402 | .. nonce: fX3TF4 |
| 403 | .. section: Library |
| 404 | |
| 405 | Fix socket.sendto(), use the C Py_ssize_t type to store the result of |
| 406 | sendto() instead of the C int type. |
| 407 | |
| 408 | .. |
| 409 | |
| 410 | .. bpo: 23618 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 411 | .. date: 9068 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 412 | .. nonce: Of_q5t |
| 413 | .. section: Library |
| 414 | |
| 415 | :meth:`socket.socket.connect` now waits until the connection completes |
| 416 | instead of raising :exc:`InterruptedError` if the connection is interrupted |
| 417 | by signals, signal handlers don't raise an exception and the socket is |
| 418 | blocking or has a timeout. :meth:`socket.socket.connect` still raise |
| 419 | :exc:`InterruptedError` for non-blocking sockets. |
| 420 | |
| 421 | .. |
| 422 | |
| 423 | .. bpo: 21526 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 424 | .. date: 9067 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 425 | .. nonce: QQEXrR |
| 426 | .. section: Library |
| 427 | |
| 428 | Tkinter now supports new boolean type in Tcl 8.5. |
| 429 | |
| 430 | .. |
| 431 | |
| 432 | .. bpo: 23836 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 433 | .. date: 9066 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 434 | .. nonce: zrEmlR |
| 435 | .. section: Library |
| 436 | |
| 437 | Fix the faulthandler module to handle reentrant calls to its signal |
| 438 | handlers. |
| 439 | |
| 440 | .. |
| 441 | |
| 442 | .. bpo: 23838 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 443 | .. date: 9065 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 444 | .. nonce: IX6FPX |
| 445 | .. section: Library |
| 446 | |
| 447 | linecache now clears the cache and returns an empty result on MemoryError. |
| 448 | |
| 449 | .. |
| 450 | |
| 451 | .. bpo: 10395 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 452 | .. date: 9064 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 453 | .. nonce: fi_lZp |
| 454 | .. section: Library |
| 455 | |
| 456 | Added os.path.commonpath(). Implemented in posixpath and ntpath. Based on |
| 457 | patch by Rafik Draoui. |
| 458 | |
| 459 | .. |
| 460 | |
| 461 | .. bpo: 23611 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 462 | .. date: 9063 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 463 | .. nonce: QkBJVB |
| 464 | .. section: Library |
| 465 | |
| 466 | Serializing more "lookupable" objects (such as unbound methods or nested |
| 467 | classes) now are supported with pickle protocols < 4. |
| 468 | |
| 469 | .. |
| 470 | |
| 471 | .. bpo: 13583 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 472 | .. date: 9062 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 473 | .. nonce: -MPBjZ |
| 474 | .. section: Library |
| 475 | |
| 476 | sqlite3.Row now supports slice indexing. |
| 477 | |
| 478 | .. |
| 479 | |
| 480 | .. bpo: 18473 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 481 | .. date: 9061 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 482 | .. nonce: 89RHm- |
| 483 | .. section: Library |
| 484 | |
Stéphane Wirtel | 683281f | 2018-10-06 16:35:53 +0200 | [diff] [blame] | 485 | Fixed 2to3 and 3to2 compatible pickle mappings. Fixed ambiguous reverse |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 486 | mappings. Added many new mappings. Import mapping is no longer applied to |
| 487 | modules already mapped with full name mapping. |
| 488 | |
| 489 | .. |
| 490 | |
| 491 | .. bpo: 23485 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 492 | .. date: 9060 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 493 | .. nonce: kQWN6L |
| 494 | .. section: Library |
| 495 | |
| 496 | select.select() is now retried automatically with the recomputed timeout |
| 497 | when interrupted by a signal, except if the signal handler raises an |
Stéphane Wirtel | 12e696b | 2018-10-27 00:58:26 +0200 | [diff] [blame] | 498 | exception. This change is part of the :pep:`475`. |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 499 | |
| 500 | .. |
| 501 | |
| 502 | .. bpo: 23752 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 503 | .. date: 9059 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 504 | .. nonce: 5fbVNb |
| 505 | .. section: Library |
| 506 | |
| 507 | When built from an existing file descriptor, io.FileIO() now only calls |
| 508 | fstat() once. Before fstat() was called twice, which was not necessary. |
| 509 | |
| 510 | .. |
| 511 | |
| 512 | .. bpo: 23704 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 513 | .. date: 9058 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 514 | .. nonce: Ggjvm8 |
| 515 | .. section: Library |
| 516 | |
| 517 | collections.deque() objects now support __add__, __mul__, and __imul__(). |
| 518 | |
| 519 | .. |
| 520 | |
| 521 | .. bpo: 23171 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 522 | .. date: 9057 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 523 | .. nonce: b6PBzM |
| 524 | .. section: Library |
| 525 | |
| 526 | csv.Writer.writerow() now supports arbitrary iterables. |
| 527 | |
| 528 | .. |
| 529 | |
| 530 | .. bpo: 23745 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 531 | .. date: 9056 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 532 | .. nonce: E00Bml |
| 533 | .. section: Library |
| 534 | |
| 535 | The new email header parser now handles duplicate MIME parameter names |
| 536 | without error, similar to how get_param behaves. |
| 537 | |
| 538 | .. |
| 539 | |
| 540 | .. bpo: 22117 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 541 | .. date: 9055 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 542 | .. nonce: bTO0xx |
| 543 | .. section: Library |
| 544 | |
| 545 | Fix os.utime(), it now rounds the timestamp towards minus infinity (-inf) |
| 546 | instead of rounding towards zero. |
| 547 | |
| 548 | .. |
| 549 | |
| 550 | .. bpo: 23310 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 551 | .. date: 9054 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 552 | .. nonce: GXmFMR |
| 553 | .. section: Library |
| 554 | |
| 555 | Fix MagicMock's initializer to work with __methods__, just like |
| 556 | configure_mock(). Patch by Kasia Jachim. |
| 557 | |
| 558 | .. |
| 559 | |
| 560 | .. bpo: 23817 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 561 | .. date: 9053 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 562 | .. nonce: DTmVan |
| 563 | .. section: Build |
| 564 | |
| 565 | FreeBSD now uses "1.0" in the SOVERSION as other operating systems, instead |
| 566 | of just "1". |
| 567 | |
| 568 | .. |
| 569 | |
| 570 | .. bpo: 23501 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 571 | .. date: 9052 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 572 | .. nonce: iz10e6 |
| 573 | .. section: Build |
| 574 | |
| 575 | Argument Clinic now generates code into separate files by default. |
| 576 | |
| 577 | .. |
| 578 | |
| 579 | .. bpo: 23799 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 580 | .. date: 9051 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 581 | .. nonce: XU2xDw |
| 582 | .. section: Tests |
| 583 | |
| 584 | Added test.support.start_threads() for running and cleaning up multiple |
| 585 | threads. |
| 586 | |
| 587 | .. |
| 588 | |
| 589 | .. bpo: 22390 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 590 | .. date: 9050 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 591 | .. nonce: UPVFnq |
| 592 | .. section: Tests |
| 593 | |
| 594 | test.regrtest now emits a warning if temporary files or directories are left |
| 595 | after running a test. |
| 596 | |
| 597 | .. |
| 598 | |
| 599 | .. bpo: 18128 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 600 | .. date: 9049 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 601 | .. nonce: lx2V5a |
| 602 | .. section: Tools/Demos |
| 603 | |
| 604 | pygettext now uses standard +NNNN format in the POT-Creation-Date header. |
| 605 | |
| 606 | .. |
| 607 | |
| 608 | .. bpo: 23935 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 609 | .. date: 9048 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 610 | .. nonce: JSYowT |
| 611 | .. section: Tools/Demos |
| 612 | |
| 613 | Argument Clinic's understanding of format units accepting bytes, bytearrays, |
| 614 | and buffers is now consistent with both the documentation and the |
| 615 | implementation. |
| 616 | |
| 617 | .. |
| 618 | |
| 619 | .. bpo: 23944 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 620 | .. date: 9047 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 621 | .. nonce: Q8ZL2s |
| 622 | .. section: Tools/Demos |
| 623 | |
| 624 | Argument Clinic now wraps long impl prototypes at column 78. |
| 625 | |
| 626 | .. |
| 627 | |
| 628 | .. bpo: 20586 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 629 | .. date: 9046 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 630 | .. nonce: 7BiEkx |
| 631 | .. section: Tools/Demos |
| 632 | |
| 633 | Argument Clinic now ensures that functions without docstrings have |
| 634 | signatures. |
| 635 | |
| 636 | .. |
| 637 | |
| 638 | .. bpo: 23492 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 639 | .. date: 9045 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 640 | .. nonce: kjIcQW |
| 641 | .. section: Tools/Demos |
| 642 | |
| 643 | Argument Clinic now generates argument parsing code with PyArg_Parse instead |
| 644 | of PyArg_ParseTuple if possible. |
| 645 | |
| 646 | .. |
| 647 | |
| 648 | .. bpo: 23500 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 649 | .. date: 9044 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 650 | .. nonce: H6_dX_ |
| 651 | .. section: Tools/Demos |
| 652 | |
| 653 | Argument Clinic is now smarter about generating the "#ifndef" (empty) |
| 654 | definition of the methoddef macro: it's only generated once, even if |
| 655 | Argument Clinic processes the same symbol multiple times, and it's emitted |
| 656 | at the end of all processing rather than immediately after the first use. |
| 657 | |
| 658 | .. |
| 659 | |
| 660 | .. bpo: 23998 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 661 | .. date: 9043 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 662 | .. nonce: z7mlLW |
| 663 | .. section: C API |
| 664 | |
| 665 | PyImport_ReInitLock() now checks for lock allocation error |