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. 115Eliminated OverflowError from ``timedelta * float`` for some floats; 116Corrected rounding in timedelta true division. 117 118.. 119 120.. bpo: 21619 121.. date: 8978 122.. nonce: uL0SZh 123.. section: Library 124 125Popen objects no longer leave a zombie after exit in the with statement if 126the pipe was broken. Patch by Martin Panter. 127 128.. 129 130.. bpo: 22936 131.. date: 8977 132.. nonce: JrhGYd 133.. section: Library 134 135Make it possible to show local variables in tracebacks for both the 136traceback module and unittest. 137 138.. 139 140.. bpo: 15955 141.. date: 8976 142.. nonce: _8nYPy 143.. section: Library 144 145Add an option to limit the output size in bz2.decompress(). Patch by 146Nikolaus Rath. 147 148.. 149 150.. bpo: 6639 151.. date: 8975 152.. nonce: rmjUmG 153.. section: Library 154 155Module-level turtle functions no longer raise TclError after closing the 156window. 157 158.. 159 160.. bpo: 814253 161.. date: 8974 162.. nonce: icZb-I 163.. section: Library 164 165Group references and conditional group references now work in lookbehind 166assertions in regular expressions. (See also: bpo-9179) 167 168.. 169 170.. bpo: 23215 171.. date: 8973 172.. nonce: VHVSVX 173.. section: Library 174 175Multibyte codecs with custom error handlers that ignores errors consumed too 176much memory and raised SystemError or MemoryError. Original patch by Aleksi 177Torhamo. 178 179.. 180 181.. bpo: 5700 182.. date: 8972 183.. nonce: iA5yzL 184.. section: Library 185 186io.FileIO() called flush() after closing the file. flush() was not called in 187close() if closefd=False. 188 189.. 190 191.. bpo: 23374 192.. date: 8971 193.. nonce: 8A9LuZ 194.. section: Library 195 196Fixed pydoc failure with non-ASCII files when stdout encoding differs from 197file system encoding (e.g. on Mac OS). 198 199.. 200 201.. bpo: 23481 202.. date: 8970 203.. nonce: ZWwliG 204.. section: Library 205 206Remove RC4 from the SSL module's default cipher list. 207 208.. 209 210.. bpo: 21548 211.. date: 8969 212.. nonce: CmO_Yh 213.. section: Library 214 215Fix pydoc.synopsis() and pydoc.apropos() on modules with empty docstrings. 216 217.. 218 219.. bpo: 22885 220.. date: 8968 221.. nonce: p8FnYk 222.. section: Library 223 224Fixed arbitrary code execution vulnerability in the dbm.dumb module. 225Original patch by Claudiu Popa. 226 227.. 228 229.. bpo: 23239 230.. date: 8967 231.. nonce: PGUq7T 232.. section: Library 233 234ssl.match_hostname() now supports matching of IP addresses. 235 236.. 237 238.. bpo: 23146 239.. date: 8966 240.. nonce: PW-O3u 241.. section: Library 242 243Fix mishandling of absolute Windows paths with forward slashes in pathlib. 244 245.. 246 247.. bpo: 23096 248.. date: 8965 249.. nonce: Ftrmf3 250.. section: Library 251 252Pickle representation of floats with protocol 0 now is the same for both 253Python and C implementations. 254 255.. 256 257.. bpo: 19105 258.. date: 8964 259.. nonce: ZK07Ff 260.. section: Library 261 262pprint now more efficiently uses free space at the right. 263 264.. 265 266.. bpo: 14910 267.. date: 8963 268.. nonce: zueIhP 269.. section: Library 270 271Add allow_abbrev parameter to argparse.ArgumentParser. Patch by Jonathan 272Paugh, Steven Bethard, paul j3 and Daniel Eriksson. 273 274.. 275 276.. bpo: 21717 277.. date: 8962 278.. nonce: Knut81 279.. section: Library 280 281tarfile.open() now supports 'x' (exclusive creation) mode. 282 283.. 284 285.. bpo: 23344 286.. date: 8961 287.. nonce: ieu8C1 288.. section: Library 289 290marshal.dumps() is now 20-25% faster on average. 291 292.. 293 294.. bpo: 20416 295.. date: 8960 296.. nonce: cwEgkL 297.. section: Library 298 299marshal.dumps() with protocols 3 and 4 is now 40-50% faster on average. 300 301.. 302 303.. bpo: 23421 304.. date: 8959 305.. nonce: eckzoV 306.. section: Library 307 308Fixed compression in tarfile CLI. Patch by wdv4758h. 309 310.. 311 312.. bpo: 23367 313.. date: 8958 314.. nonce: kHnFiz 315.. section: Library 316 317Fix possible overflows in the unicodedata module. 318 319.. 320 321.. bpo: 23361 322.. date: 8957 323.. nonce: I_w0-z 324.. section: Library 325 326Fix possible overflow in Windows subprocess creation code. 327 328.. 329 330.. bpo: 0 331.. date: 8956 332.. nonce: sfmjTs 333.. section: Library 334 335logging.handlers.QueueListener now takes a respect_handler_level keyword 336argument which, if set to True, will pass messages to handlers taking 337handler levels into account. 338 339.. 340 341.. bpo: 19705 342.. date: 8955 343.. nonce: WLzTRV 344.. section: Library 345 346turtledemo now has a visual sorting algorithm demo. Original patch from 347Jason Yeo. 348 349.. 350 351.. bpo: 23801 352.. date: 8954 353.. nonce: jyJK3z 354.. section: Library 355 356Fix issue where cgi.FieldStorage did not always ignore the entire preamble 357to a multipart body. 358 359.. 360 361.. bpo: 23445 362.. date: 8953 363.. nonce: 7fmkYO 364.. section: Build 365 366pydebug builds now use "gcc -Og" where possible, to make the resulting 367executable faster. 368 369.. 370 371.. bpo: 23686 372.. date: 8952 373.. nonce: B7jDXY 374.. section: Build 375 376Update OS X 10.5 installer build to use OpenSSL 1.0.2a. 377 378.. 379 380.. bpo: 20204 381.. date: 8951 382.. nonce: M_jcNK 383.. section: C API 384 385Deprecation warning is now raised for builtin types without the __module__ 386attribute. 387 388.. 389 390.. bpo: 23465 391.. date: 8950 392.. nonce: qBauCy 393.. section: Windows 394 395Implement :pep:`486` - Make the Python Launcher aware of virtual environments. 396Patch by Paul Moore. 397 398.. 399 400.. bpo: 23437 401.. date: 8949 402.. nonce: ro9X8r 403.. section: Windows 404 405Make user scripts directory versioned on Windows. Patch by Paul Moore. 406