1.. bpo: 23571 2.. date: 8990 3.. nonce: GTkAkq 4.. release date: 2015-03-09 5.. section: Core and Builtins 6 7PyObject_Call() and PyCFunction_Call() now raise a SystemError if a function 8returns a result and raises an exception. The SystemError is chained to the 9previous exception. 10 11.. 12 13.. bpo: 22524 14.. date: 8989 15.. nonce: Ks6_2x 16.. section: Library 17 18New os.scandir() function, part of the PEP 471: "os.scandir() function -- a 19better and faster directory iterator". Patch written by Ben Hoyt. 20 21.. 22 23.. bpo: 23103 24.. date: 8988 25.. nonce: I3RLIV 26.. section: Library 27 28Reduced the memory consumption of IPv4Address and IPv6Address. 29 30.. 31 32.. bpo: 21793 33.. date: 8987 34.. nonce: GQtYMM 35.. section: Library 36 37BaseHTTPRequestHandler again logs response code as numeric, not as 38stringified enum. Patch by Demian Brecht. 39 40.. 41 42.. bpo: 23476 43.. date: 8986 44.. nonce: 82QV9I 45.. section: Library 46 47In the ssl module, enable OpenSSL's X509_V_FLAG_TRUSTED_FIRST flag on 48certificate stores when it is available. 49 50.. 51 52.. bpo: 23576 53.. date: 8985 54.. nonce: 98F-PP 55.. section: Library 56 57Avoid stalling in SSL reads when EOF has been reached in the SSL layer but 58the underlying connection hasn't been closed. 59 60.. 61 62.. bpo: 23504 63.. date: 8984 64.. nonce: o31h5I 65.. section: Library 66 67Added an __all__ to the types module. 68 69.. 70 71.. bpo: 23563 72.. date: 8983 73.. nonce: iQB-ba 74.. section: Library 75 76Optimized utility functions in urllib.parse. 77 78.. 79 80.. bpo: 7830 81.. date: 8982 82.. nonce: irvPdC 83.. section: Library 84 85Flatten nested functools.partial. 86 87.. 88 89.. bpo: 20204 90.. date: 8981 91.. nonce: DorA4b 92.. section: Library 93 94Added the __module__ attribute to _tkinter classes. 95 96.. 97 98.. bpo: 19980 99.. date: 8980 100.. nonce: whwzL_ 101.. section: Library 102 103Improved help() for non-recognized strings. help('') now shows the help on 104str. help('help') now shows the help on help(). Original patch by Mark 105Lawrence. 106 107.. 108 109.. bpo: 23521 110.. date: 8979 111.. nonce: HvwFfd 112.. section: Library 113 114Corrected pure python implementation of timedelta division. 115 116Eliminated OverflowError from ``timedelta * float`` for some floats; 117Corrected rounding in timedelta true division. 118 119.. 120 121.. bpo: 21619 122.. date: 8978 123.. nonce: uL0SZh 124.. section: Library 125 126Popen objects no longer leave a zombie after exit in the with statement if 127the pipe was broken. Patch by Martin Panter. 128 129.. 130 131.. bpo: 22936 132.. date: 8977 133.. nonce: JrhGYd 134.. section: Library 135 136Make it possible to show local variables in tracebacks for both the 137traceback module and unittest. 138 139.. 140 141.. bpo: 15955 142.. date: 8976 143.. nonce: _8nYPy 144.. section: Library 145 146Add an option to limit the output size in bz2.decompress(). Patch by 147Nikolaus Rath. 148 149.. 150 151.. bpo: 6639 152.. date: 8975 153.. nonce: rmjUmG 154.. section: Library 155 156Module-level turtle functions no longer raise TclError after closing the 157window. 158 159.. 160 161.. bpo: 814253 162.. date: 8974 163.. nonce: icZb-I 164.. section: Library 165 166Group references and conditional group references now work in lookbehind 167assertions in regular expressions. (See also: bpo-9179) 168 169.. 170 171.. bpo: 23215 172.. date: 8973 173.. nonce: VHVSVX 174.. section: Library 175 176Multibyte codecs with custom error handlers that ignores errors consumed too 177much memory and raised SystemError or MemoryError. Original patch by Aleksi 178Torhamo. 179 180.. 181 182.. bpo: 5700 183.. date: 8972 184.. nonce: iA5yzL 185.. section: Library 186 187io.FileIO() called flush() after closing the file. flush() was not called in 188close() if closefd=False. 189 190.. 191 192.. bpo: 23374 193.. date: 8971 194.. nonce: 8A9LuZ 195.. section: Library 196 197Fixed pydoc failure with non-ASCII files when stdout encoding differs from 198file system encoding (e.g. on Mac OS). 199 200.. 201 202.. bpo: 23481 203.. date: 8970 204.. nonce: ZWwliG 205.. section: Library 206 207Remove RC4 from the SSL module's default cipher list. 208 209.. 210 211.. bpo: 21548 212.. date: 8969 213.. nonce: CmO_Yh 214.. section: Library 215 216Fix pydoc.synopsis() and pydoc.apropos() on modules with empty docstrings. 217 218.. 219 220.. bpo: 22885 221.. date: 8968 222.. nonce: p8FnYk 223.. section: Library 224 225Fixed arbitrary code execution vulnerability in the dbm.dumb module. 226Original patch by Claudiu Popa. 227 228.. 229 230.. bpo: 23239 231.. date: 8967 232.. nonce: PGUq7T 233.. section: Library 234 235ssl.match_hostname() now supports matching of IP addresses. 236 237.. 238 239.. bpo: 23146 240.. date: 8966 241.. nonce: PW-O3u 242.. section: Library 243 244Fix mishandling of absolute Windows paths with forward slashes in pathlib. 245 246.. 247 248.. bpo: 23096 249.. date: 8965 250.. nonce: Ftrmf3 251.. section: Library 252 253Pickle representation of floats with protocol 0 now is the same for both 254Python and C implementations. 255 256.. 257 258.. bpo: 19105 259.. date: 8964 260.. nonce: ZK07Ff 261.. section: Library 262 263pprint now more efficiently uses free space at the right. 264 265.. 266 267.. bpo: 14910 268.. date: 8963 269.. nonce: zueIhP 270.. section: Library 271 272Add allow_abbrev parameter to argparse.ArgumentParser. Patch by Jonathan 273Paugh, Steven Bethard, paul j3 and Daniel Eriksson. 274 275.. 276 277.. bpo: 21717 278.. date: 8962 279.. nonce: Knut81 280.. section: Library 281 282tarfile.open() now supports 'x' (exclusive creation) mode. 283 284.. 285 286.. bpo: 23344 287.. date: 8961 288.. nonce: ieu8C1 289.. section: Library 290 291marshal.dumps() is now 20-25% faster on average. 292 293.. 294 295.. bpo: 20416 296.. date: 8960 297.. nonce: cwEgkL 298.. section: Library 299 300marshal.dumps() with protocols 3 and 4 is now 40-50% faster on average. 301 302.. 303 304.. bpo: 23421 305.. date: 8959 306.. nonce: eckzoV 307.. section: Library 308 309Fixed compression in tarfile CLI. Patch by wdv4758h. 310 311.. 312 313.. bpo: 23367 314.. date: 8958 315.. nonce: kHnFiz 316.. section: Library 317 318Fix possible overflows in the unicodedata module. 319 320.. 321 322.. bpo: 23361 323.. date: 8957 324.. nonce: I_w0-z 325.. section: Library 326 327Fix possible overflow in Windows subprocess creation code. 328 329.. 330 331.. bpo: 0 332.. date: 8956 333.. nonce: sfmjTs 334.. section: Library 335 336logging.handlers.QueueListener now takes a respect_handler_level keyword 337argument which, if set to True, will pass messages to handlers taking 338handler levels into account. 339 340.. 341 342.. bpo: 19705 343.. date: 8955 344.. nonce: WLzTRV 345.. section: Library 346 347turtledemo now has a visual sorting algorithm demo. Original patch from 348Jason Yeo. 349 350.. 351 352.. bpo: 23801 353.. date: 8954 354.. nonce: jyJK3z 355.. section: Library 356 357Fix issue where cgi.FieldStorage did not always ignore the entire preamble 358to a multipart body. 359 360.. 361 362.. bpo: 23445 363.. date: 8953 364.. nonce: 7fmkYO 365.. section: Build 366 367pydebug builds now use "gcc -Og" where possible, to make the resulting 368executable faster. 369 370.. 371 372.. bpo: 23686 373.. date: 8952 374.. nonce: B7jDXY 375.. section: Build 376 377Update OS X 10.5 installer build to use OpenSSL 1.0.2a. 378 379.. 380 381.. bpo: 20204 382.. date: 8951 383.. nonce: M_jcNK 384.. section: C API 385 386Deprecation warning is now raised for builtin types without the __module__ 387attribute. 388 389.. 390 391.. bpo: 23465 392.. date: 8950 393.. nonce: qBauCy 394.. section: Windows 395 396Implement PEP 486 - Make the Python Launcher aware of virtual environments. 397Patch by Paul Moore. 398 399.. 400 401.. bpo: 23437 402.. date: 8949 403.. nonce: ro9X8r 404.. section: Windows 405 406Make user scripts directory versioned on Windows. Patch by Paul Moore. 407