1.. bpo: 28128 2.. date: 9744 3.. nonce: Lc2sFu 4.. release date: 2016-10-31 5.. section: Core and Builtins 6 7Deprecation warning for invalid str and byte escape sequences now prints 8better information about where the error occurs. Patch by Serhiy Storchaka 9and Eric Smith. 10 11.. 12 13.. bpo: 28509 14.. date: 9743 15.. nonce: _Fa4Uq 16.. section: Core and Builtins 17 18dict.update() no longer allocate unnecessary large memory. 19 20.. 21 22.. bpo: 28426 23.. date: 9742 24.. nonce: E_quyK 25.. section: Core and Builtins 26 27Fixed potential crash in PyUnicode_AsDecodedObject() in debug build. 28 29.. 30 31.. bpo: 28517 32.. date: 9741 33.. nonce: ExPkm9 34.. section: Core and Builtins 35 36Fixed of-by-one error in the peephole optimizer that caused keeping 37unreachable code. 38 39.. 40 41.. bpo: 28214 42.. date: 9740 43.. nonce: 6ECJox 44.. section: Core and Builtins 45 46Improved exception reporting for problematic __set_name__ attributes. 47 48.. 49 50.. bpo: 23782 51.. date: 9739 52.. nonce: lonDzj 53.. section: Core and Builtins 54 55Fixed possible memory leak in _PyTraceback_Add() and exception loss in 56PyTraceBack_Here(). 57 58.. 59 60.. bpo: 28471 61.. date: 9738 62.. nonce: Vd5pv7 63.. section: Core and Builtins 64 65Fix "Python memory allocator called without holding the GIL" crash in 66socket.setblocking. 67 68.. 69 70.. bpo: 27517 71.. date: 9737 72.. nonce: 1CYM8A 73.. section: Library 74 75LZMA compressor and decompressor no longer raise exceptions if given empty 76data twice. Patch by Benjamin Fogle. 77 78.. 79 80.. bpo: 28549 81.. date: 9736 82.. nonce: ShnM2y 83.. section: Library 84 85Fixed segfault in curses's addch() with ncurses6. 86 87.. 88 89.. bpo: 28449 90.. date: 9735 91.. nonce: 5JK6ES 92.. section: Library 93 94tarfile.open() with mode "r" or "r:" now tries to open a tar file with 95compression before trying to open it without compression. Otherwise it had 9650% chance failed with ignore_zeros=True. 97 98.. 99 100.. bpo: 23262 101.. date: 9734 102.. nonce: 6EVB7N 103.. section: Library 104 105The webbrowser module now supports Firefox 36+ and derived browsers. Based 106on patch by Oleg Broytman. 107 108.. 109 110.. bpo: 27939 111.. date: 9733 112.. nonce: mTfADV 113.. section: Library 114 115Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused by 116representing the scale as float value internally in Tk. tkinter.IntVar now 117works if float value is set to underlying Tk variable. 118 119.. 120 121.. bpo: 18844 122.. date: 9732 123.. nonce: oif1-H 124.. section: Library 125 126The various ways of specifying weights for random.choices() now produce the 127same result sequences. 128 129.. 130 131.. bpo: 28255 132.. date: 9731 133.. nonce: _ZH4wm 134.. section: Library 135 136calendar.TextCalendar().prmonth() no longer prints a space at the start of 137new line after printing a month's calendar. Patch by Xiang Zhang. 138 139.. 140 141.. bpo: 20491 142.. date: 9730 143.. nonce: ObgnQ2 144.. section: Library 145 146The textwrap.TextWrapper class now honors non-breaking spaces. Based on 147patch by Kaarle Ritvanen. 148 149.. 150 151.. bpo: 28353 152.. date: 9729 153.. nonce: sKGbLL 154.. section: Library 155 156os.fwalk() no longer fails on broken links. 157 158.. 159 160.. bpo: 28430 161.. date: 9728 162.. nonce: 4MiEYT 163.. section: Library 164 165Fix iterator of C implemented asyncio.Future doesn't accept non-None value 166is passed to it.send(val). 167 168.. 169 170.. bpo: 27025 171.. date: 9727 172.. nonce: foAViS 173.. section: Library 174 175Generated names for Tkinter widgets now start by the "!" prefix for 176readability. 177 178.. 179 180.. bpo: 25464 181.. date: 9726 182.. nonce: HDUTCu 183.. section: Library 184 185Fixed HList.header_exists() in tkinter.tix module by addin a workaround to 186Tix library bug. 187 188.. 189 190.. bpo: 28488 191.. date: 9725 192.. nonce: TgO112 193.. section: Library 194 195shutil.make_archive() no longer adds entry "./" to ZIP archive. 196 197.. 198 199.. bpo: 25953 200.. date: 9724 201.. nonce: EKKJAQ 202.. section: Library 203 204re.sub() now raises an error for invalid numerical group reference in 205replacement template even if the pattern is not found in the string. Error 206message for invalid group reference now includes the group index and the 207position of the reference. Based on patch by SilentGhost. 208 209.. 210 211.. bpo: 18219 212.. date: 9723 213.. nonce: 1ANQN1 214.. section: Library 215 216Optimize csv.DictWriter for large number of columns. Patch by Mariatta 217Wijaya. 218 219.. 220 221.. bpo: 28448 222.. date: 9722 223.. nonce: 5bduWe 224.. section: Library 225 226Fix C implemented asyncio.Future didn't work on Windows. 227 228.. 229 230.. bpo: 28480 231.. date: 9721 232.. nonce: 9lHw6m 233.. section: Library 234 235Fix error building socket module when multithreading is disabled. 236 237.. 238 239.. bpo: 24452 240.. date: 9720 241.. nonce: m9Kyg3 242.. section: Library 243 244Make webbrowser support Chrome on Mac OS X. 245 246.. 247 248.. bpo: 20766 249.. date: 9719 250.. nonce: 4kvCzx 251.. section: Library 252 253Fix references leaked by pdb in the handling of SIGINT handlers. 254 255.. 256 257.. bpo: 28492 258.. date: 9718 259.. nonce: pFRLQE 260.. section: Library 261 262Fix how StopIteration exception is raised in _asyncio.Future. 263 264.. 265 266.. bpo: 28500 267.. date: 9717 268.. nonce: NINKzZ 269.. section: Library 270 271Fix asyncio to handle async gens GC from another thread. 272 273.. 274 275.. bpo: 26923 276.. date: 9716 277.. nonce: 8dh3AV 278.. section: Library 279 280Fix asyncio.Gather to refuse being cancelled once all children are done. 281Patch by Johannes Ebke. 282 283.. 284 285.. bpo: 26796 286.. date: 9715 287.. nonce: TZyAfJ 288.. section: Library 289 290Don't configure the number of workers for default threadpool executor. 291Initial patch by Hans Lawrenz. 292 293.. 294 295.. bpo: 28544 296.. date: 9714 297.. nonce: KD1oFP 298.. section: Library 299 300Implement asyncio.Task in C. 301 302.. 303 304.. bpo: 28522 305.. date: 9713 306.. nonce: XHMQa7 307.. section: Windows 308 309Fixes mishandled buffer reallocation in getpathp.c 310 311.. 312 313.. bpo: 28444 314.. date: 9712 315.. nonce: zkc9nT 316.. section: Build 317 318Fix missing extensions modules when cross compiling. 319 320.. 321 322.. bpo: 28208 323.. date: 9711 324.. nonce: DtoP1i 325.. section: Build 326 327Update Windows build and OS X installers to use SQLite 3.14.2. 328 329.. 330 331.. bpo: 28248 332.. date: 9710 333.. nonce: KY_-en 334.. section: Build 335 336Update Windows build and OS X installers to use OpenSSL 1.0.2j. 337 338.. 339 340.. bpo: 26944 341.. date: 9709 342.. nonce: ChZ_BO 343.. section: Tests 344 345Fix test_posix for Android where 'id -G' is entirely wrong or missing the 346effective gid. 347 348.. 349 350.. bpo: 28409 351.. date: 9708 352.. nonce: Q2IlxJ 353.. section: Tests 354 355regrtest: fix the parser of command line arguments. 356