1.. bpo: 20041 2.. date: 9818 3.. nonce: TypyGp 4.. release date: 2016-06-12 5.. section: Core and Builtins 6 7Fixed TypeError when frame.f_trace is set to None. Patch by Xavier de Gaye. 8 9.. 10 11.. bpo: 25702 12.. date: 9817 13.. nonce: ipxyJs 14.. section: Core and Builtins 15 16A --with-lto configure option has been added that will enable link time 17optimizations at build time during a make profile-opt. Some compilers and 18toolchains are known to not produce stable code when using LTO, be sure to 19test things thoroughly before relying on it. It can provide a few % speed up 20over profile-opt alone. 21 22.. 23 24.. bpo: 26168 25.. date: 9816 26.. nonce: -nPBL6 27.. section: Core and Builtins 28 29Fixed possible refleaks in failing Py_BuildValue() with the "N" format unit. 30 31.. 32 33.. bpo: 27039 34.. date: 9815 35.. nonce: Zj7tV7 36.. section: Core and Builtins 37 38Fixed bytearray.remove() for values greater than 127. Patch by Joe Jevnik. 39 40.. 41 42.. bpo: 4806 43.. date: 9814 44.. nonce: BOapuA 45.. section: Core and Builtins 46 47Avoid masking the original TypeError exception when using star (*) unpacking 48and the exception was raised from a generator. Based on patch by Hagen 49Fürstenau. 50 51.. 52 53.. bpo: 26659 54.. date: 9813 55.. nonce: 5PRa83 56.. section: Core and Builtins 57 58Make the builtin slice type support cycle collection. 59 60.. 61 62.. bpo: 26718 63.. date: 9812 64.. nonce: K5PQ8j 65.. section: Core and Builtins 66 67super.__init__ no longer leaks memory if called multiple times. NOTE: A 68direct call of super.__init__ is not endorsed! 69 70.. 71 72.. bpo: 13410 73.. date: 9811 74.. nonce: wyldQ4 75.. section: Core and Builtins 76 77Fixed a bug in PyUnicode_Format where it failed to properly ignore errors 78from a __int__() method. 79 80.. 81 82.. bpo: 26494 83.. date: 9810 84.. nonce: Ar7ILt 85.. section: Core and Builtins 86 87Fixed crash on iterating exhausting iterators. Affected classes are generic 88sequence iterators, iterators of bytearray, list, tuple, set, frozenset, 89dict, OrderedDict and corresponding views. 90 91.. 92 93.. bpo: 26581 94.. date: 9809 95.. nonce: yNA7nm 96.. section: Core and Builtins 97 98If coding cookie is specified multiple times on a line in Python source code 99file, only the first one is taken to account. 100 101.. 102 103.. bpo: 22836 104.. date: 9808 105.. nonce: cimt1y 106.. section: Core and Builtins 107 108Ensure exception reports from PyErr_Display() and PyErr_WriteUnraisable() 109are sensible even when formatting them produces secondary errors. This 110affects the reports produced by sys.__excepthook__() and when __del__() 111raises an exception. 112 113.. 114 115.. bpo: 22847 116.. date: 9807 117.. nonce: 6baj9f 118.. section: Core and Builtins 119 120Improve method cache efficiency. 121 122.. 123 124.. bpo: 25843 125.. date: 9806 126.. nonce: t2kGug 127.. section: Core and Builtins 128 129When compiling code, don't merge constants if they are equal but have a 130different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0`` is now 131correctly compiled to two different functions: ``f1()`` returns ``1`` 132(``int``) and ``f2()`` returns ``1.0`` (``int``), even if ``1`` and ``1.0`` 133are equal. 134 135.. 136 137.. bpo: 22995 138.. date: 9805 139.. nonce: Rhr9Dh 140.. section: Core and Builtins 141 142[UPDATE] Remove the one of the pickleability tests in _PyObject_GetState() 143due to regressions observed in Cython-based projects. 144 145.. 146 147.. bpo: 25961 148.. date: 9804 149.. nonce: Hdjjw0 150.. section: Core and Builtins 151 152Disallowed null characters in the type name. 153 154.. 155 156.. bpo: 22995 157.. date: 9803 158.. nonce: Wq0E86 159.. section: Core and Builtins 160 161Instances of extension types with a state that aren't subclasses of list or 162dict and haven't implemented any pickle-related methods (__reduce__, 163__reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no 164longer be pickled. Including memoryview. 165 166.. 167 168.. bpo: 20440 169.. date: 9802 170.. nonce: GCwOfH 171.. section: Core and Builtins 172 173Massive replacing unsafe attribute setting code with special macro 174Py_SETREF. 175 176.. 177 178.. bpo: 25421 179.. date: 9801 180.. nonce: c47YEL 181.. section: Core and Builtins 182 183__sizeof__ methods of builtin types now use dynamic basic size. This allows 184sys.getsize() to work correctly with their subclasses with __slots__ 185defined. 186 187.. 188 189.. bpo: 19543 190.. date: 9800 191.. nonce: FLtPTG 192.. section: Core and Builtins 193 194Added Py3k warning for decoding unicode. 195 196.. 197 198.. bpo: 24097 199.. date: 9799 200.. nonce: Vt4E-i 201.. section: Core and Builtins 202 203Fixed crash in object.__reduce__() if slot name is freed inside __getattr__. 204 205.. 206 207.. bpo: 24731 208.. date: 9798 209.. nonce: F4USDN 210.. section: Core and Builtins 211 212Fixed crash on converting objects with special methods __str__, __trunc__, 213and __float__ returning instances of subclasses of str, long, and float to 214subclasses of str, long, and float correspondingly. 215 216.. 217 218.. bpo: 26478 219.. date: 9797 220.. nonce: n0dB8e 221.. section: Core and Builtins 222 223Fix semantic bugs when using binary operators with dictionary views and 224tuples. 225 226.. 227 228.. bpo: 26171 229.. date: 9796 230.. nonce: 8SaQEa 231.. section: Core and Builtins 232 233Fix possible integer overflow and heap corruption in zipimporter.get_data(). 234 235.. 236 237.. bpo: 26556 238.. date: 9795 239.. nonce: v5j2uL 240.. section: Library 241 242Update expat to 2.1.1, fixes CVE-2015-1283. 243 244.. 245 246.. bpo: 0 247.. date: 9794 248.. nonce: qP8WT- 249.. section: Library 250 251Fix TLS stripping vulnerability in smptlib, CVE-2016-0772. Reported by Team 252Oststrom 253 254.. 255 256.. bpo: 7356 257.. date: 9793 258.. nonce: cS5wgj 259.. section: Library 260 261ctypes.util: Make parsing of ldconfig output independent of the locale. 262 263.. 264 265.. bpo: 25738 266.. date: 9792 267.. nonce: I_1jpQ 268.. section: Library 269 270Stop BaseHTTPServer.BaseHTTPRequestHandler.send_error() from sending a 271message body for 205 Reset Content. Also, don't send the Content-Type 272header field in responses that don't have a body. Based on patch by Susumu 273Koshiba. 274 275.. 276 277.. bpo: 21313 278.. date: 9791 279.. nonce: W30MBr 280.. section: Library 281 282Fix the "platform" module to tolerate when sys.version contains truncated 283build information. 284 285.. 286 287.. bpo: 27211 288.. date: 9790 289.. nonce: _7HYjx 290.. section: Library 291 292Fix possible memory corruption in io.IOBase.readline(). 293 294.. 295 296.. bpo: 27114 297.. date: 9789 298.. nonce: bGCuAM 299.. section: Library 300 301Fix SSLContext._load_windows_store_certs fails with PermissionError 302 303.. 304 305.. bpo: 14132 306.. date: 9788 307.. nonce: Gpiuxk 308.. section: Library 309 310Fix urllib.request redirect handling when the target only has a query 311string. Fix by Ján Janech. 312 313.. 314 315.. bpo: 0 316.. date: 9787 317.. nonce: bMrCz8 318.. section: Library 319 320Removed the requirements for the ctypes and modulefinder modules to be 321compatible with earlier Python versions. 322 323.. 324 325.. bpo: 22274 326.. date: 9786 327.. nonce: 0RHDMN 328.. section: Library 329 330In the subprocess module, allow stderr to be redirected to stdout even when 331stdout is not redirected. Patch by Akira Li. 332 333.. 334 335.. bpo: 12045 336.. date: 9785 337.. nonce: LEH09W 338.. section: Library 339 340Avoid duplicate execution of command in ctypes.util._get_soname(). Patch by 341Sijin Joseph. 342 343.. 344 345.. bpo: 26960 346.. date: 9784 347.. nonce: 2l_IOl 348.. section: Library 349 350Backported #16270 from Python 3 to Python 2, to prevent urllib from hanging 351when retrieving certain FTP files. 352 353.. 354 355.. bpo: 25745 356.. date: 9783 357.. nonce: -n8acU 358.. section: Library 359 360Fixed leaking a userptr in curses panel destructor. 361 362.. 363 364.. bpo: 17765 365.. date: 9782 366.. nonce: hiSVS1 367.. section: Library 368 369weakref.ref() no longer silently ignores keyword arguments. Patch by Georg 370Brandl. 371 372.. 373 374.. bpo: 26873 375.. date: 9781 376.. nonce: _qIPUp 377.. section: Library 378 379xmlrpclib now raises ResponseError on unsupported type tags instead of 380silently return incorrect result. 381 382.. 383 384.. bpo: 24114 385.. date: 9780 386.. nonce: RMRMtM 387.. section: Library 388 389Fix an uninitialized variable in `ctypes.util`. 390 391The bug only occurs on SunOS when the ctypes implementation searches for the 392`crle` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos. 393 394.. 395 396.. bpo: 26864 397.. date: 9779 398.. nonce: DFsgvI 399.. section: Library 400 401In urllib, change the proxy bypass host checking against no_proxy to be 402case-insensitive, and to not match unrelated host names that happen to have 403a bypassed hostname as a suffix. Patch by Xiang Zhang. 404 405.. 406 407.. bpo: 26804 408.. date: 9778 409.. nonce: 6b9_UW 410.. section: Library 411 412urllib will prefer lower_case proxy environment variables over UPPER_CASE or 413Mixed_Case ones. Patch contributed by Hans-Peter Jansen. 414 415.. 416 417.. bpo: 26837 418.. date: 9777 419.. nonce: IKt9NJ 420.. section: Library 421 422assertSequenceEqual() now correctly outputs non-stringified differing items. 423This affects assertListEqual() and assertTupleEqual(). 424 425.. 426 427.. bpo: 26822 428.. date: 9776 429.. nonce: rYSL4W 430.. section: Library 431 432itemgetter, attrgetter and methodcaller objects no longer silently ignore 433keyword arguments. 434 435.. 436 437.. bpo: 26657 438.. date: 9775 439.. nonce: dfteub 440.. section: Library 441 442Fix directory traversal vulnerability with SimpleHTTPServer on Windows. 443This fixes a regression that was introduced in 2.7.7. Based on patch by 444Philipp Hagemeister. 445 446.. 447 448.. bpo: 19377 449.. date: 9774 450.. nonce: Al9S53 451.. section: Library 452 453Add .svg to mimetypes.types_map. 454 455.. 456 457.. bpo: 13952 458.. date: 9773 459.. nonce: SOoTVE 460.. section: Library 461 462Add .csv to mimetypes.types_map. Patch by Geoff Wilson. 463 464.. 465 466.. bpo: 16329 467.. date: 9772 468.. nonce: nuXD8W 469.. section: Library 470 471Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'. 472 473.. 474 475.. bpo: 23735 476.. date: 9771 477.. nonce: Y5oQ9r 478.. section: Library 479 480Handle terminal resizing with Readline 6.3+ by installing our own SIGWINCH 481handler. Patch by Eric Price. 482 483.. 484 485.. bpo: 26644 486.. date: 9770 487.. nonce: 7tt1tk 488.. section: Library 489 490Raise ValueError rather than SystemError when a negative length is passed to 491SSLSocket.recv() or read(). 492 493.. 494 495.. bpo: 23804 496.. date: 9769 497.. nonce: PP63Ff 498.. section: Library 499 500Fix SSL recv(0) and read(0) methods to return zero bytes instead of up to 5011024. 502 503.. 504 505.. bpo: 24266 506.. date: 9768 507.. nonce: YZgVyM 508.. section: Library 509 510Ctrl+C during Readline history search now cancels the search mode when 511compiled with Readline 7. 512 513.. 514 515.. bpo: 23857 516.. date: 9767 517.. nonce: u94yEL 518.. section: Library 519 520Implement PEP 493, adding a Python-2-only ssl module API and environment 521variable to configure the default handling of SSL/TLS certificates for HTTPS 522connections. 523 524.. 525 526.. bpo: 26313 527.. date: 9766 528.. nonce: xhX2Gu 529.. section: Library 530 531ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch 532by Baji. 533 534.. 535 536.. bpo: 26513 537.. date: 9765 538.. nonce: HoPepy 539.. section: Library 540 541Fixes platform module detection of Windows Server 542 543.. 544 545.. bpo: 23718 546.. date: 9764 547.. nonce: AMPC0o 548.. section: Library 549 550Fixed parsing time in week 0 before Jan 1. Original patch by Tamás Bence 551Gedai. 552 553.. 554 555.. bpo: 26177 556.. date: 9763 557.. nonce: HlSWer 558.. section: Library 559 560Fixed the keys() method for Canvas and Scrollbar widgets. 561 562.. 563 564.. bpo: 15068 565.. date: 9762 566.. nonce: bcHtiw 567.. section: Library 568 569Got rid of excessive buffering in the fileinput module. The bufsize 570parameter is no longer used. 571 572.. 573 574.. bpo: 2202 575.. date: 9761 576.. nonce: EPsrOA 577.. section: Library 578 579Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls. 580Initial patch by Mathieu Dupuy. 581 582.. 583 584.. bpo: 26475 585.. date: 9760 586.. nonce: JXVccY 587.. section: Library 588 589Fixed debugging output for regular expressions with the (?x) flag. 590 591.. 592 593.. bpo: 26385 594.. date: 9759 595.. nonce: mfwNyt 596.. section: Library 597 598Remove the file if the internal fdopen() call in NamedTemporaryFile() fails. 599Based on patch by Silent Ghost. 600 601.. 602 603.. bpo: 26309 604.. date: 9758 605.. nonce: TSTJ3A 606.. section: Library 607 608In the "SocketServer" module, shut down the request (closing the connected 609socket) when verify_request() returns false. Based on patch by Aviv 610Palivoda. 611 612.. 613 614.. bpo: 25939 615.. date: 9757 616.. nonce: I-qK2E 617.. section: Library 618 619On Windows open the cert store readonly in ssl.enum_certificates. 620 621.. 622 623.. bpo: 24303 624.. date: 9756 625.. nonce: FDBJWM 626.. section: Library 627 628Fix random EEXIST upon multiprocessing semaphores creation with Linux PID 629namespaces enabled. 630 631.. 632 633.. bpo: 25698 634.. date: 9755 635.. nonce: Id3NAo 636.. section: Library 637 638Importing module if the stack is too deep no longer replaces imported module 639with the empty one. 640 641.. 642 643.. bpo: 12923 644.. date: 9754 645.. nonce: HPAu-B 646.. section: Library 647 648Reset FancyURLopener's redirect counter even if there is an exception. 649Based on patches by Brian Brazil and Daniel Rocco. 650 651.. 652 653.. bpo: 25945 654.. date: 9753 655.. nonce: guNgNM 656.. section: Library 657 658Fixed a crash when unpickle the functools.partial object with wrong state. 659Fixed a leak in failed functools.partial constructor. "args" and "keywords" 660attributes of functools.partial have now always types tuple and dict 661correspondingly. 662 663.. 664 665.. bpo: 19883 666.. date: 9752 667.. nonce: z9TsO6 668.. section: Library 669 670Fixed possible integer overflows in zipimport. 671 672.. 673 674.. bpo: 26147 675.. date: 9751 676.. nonce: UA8O6s 677.. section: Library 678 679xmlrpclib now works with unicode not encodable with used non-UTF-8 encoding. 680 681.. 682 683.. bpo: 16620 684.. date: 9750 685.. nonce: rxpn_Y 686.. section: Library 687 688Fixed AttributeError in msilib.Directory.glob(). 689 690.. 691 692.. bpo: 21847 693.. date: 9749 694.. nonce: smLnll 695.. section: Library 696 697Fixed xmlrpclib on Unicode-disabled builds. 698 699.. 700 701.. bpo: 6500 702.. date: 9748 703.. nonce: n8NGo4 704.. section: Library 705 706Fixed infinite recursion in urllib2.Request.__getattr__(). 707 708.. 709 710.. bpo: 26083 711.. date: 9747 712.. nonce: siyOnS 713.. section: Library 714 715Workaround a subprocess bug that raises an incorrect "ValueError: insecure 716string pickle" exception instead of the actual exception on some platforms 717such as Mac OS X when an exception raised in the forked child process prior 718to the exec() was large enough that it overflowed the internal errpipe_read 719pipe buffer. 720 721.. 722 723.. bpo: 24103 724.. date: 9746 725.. nonce: gWAG0r 726.. section: Library 727 728Fixed possible use after free in ElementTree.iterparse(). 729 730.. 731 732.. bpo: 20954 733.. date: 9745 734.. nonce: H9-NYO 735.. section: Library 736 737_args_from_interpreter_flags used by multiprocessing and some tests no 738longer behaves incorrectly in the presence of the PYTHONHASHSEED environment 739variable. 740 741.. 742 743.. bpo: 14285 744.. date: 9744 745.. nonce: Z5YcQy 746.. section: Library 747 748When executing a package with the "python -m package" option, and package 749initialization raises ImportError, a proper traceback is now reported. 750 751.. 752 753.. bpo: 6478 754.. date: 9743 755.. nonce: -Bi9Hb 756.. section: Library 757 758_strptime's regexp cache now is reset after changing timezone with 759time.tzset(). 760 761.. 762 763.. bpo: 25718 764.. date: 9742 765.. nonce: D9mHZF 766.. section: Library 767 768Fixed copying object with state with boolean value is false. 769 770.. 771 772.. bpo: 25742 773.. date: 9741 774.. nonce: y6AAQ4 775.. section: Library 776 777:func:`locale.setlocale` now accepts a Unicode string for its second 778parameter. 779 780.. 781 782.. bpo: 10131 783.. date: 9740 784.. nonce: a7tptz 785.. section: Library 786 787Fixed deep copying of minidom documents. Based on patch by Marian Ganisin. 788 789.. 790 791.. bpo: 25725 792.. date: 9739 793.. nonce: mGRrqb 794.. section: Library 795 796Fixed a reference leak in cPickle.loads() when unpickling invalid data 797including tuple instructions. 798 799.. 800 801.. bpo: 25663 802.. date: 9738 803.. nonce: Ofwfqa 804.. section: Library 805 806In the Readline completer, avoid listing duplicate global names, and search 807the global namespace before searching builtins. 808 809.. 810 811.. bpo: 25688 812.. date: 9737 813.. nonce: 8P1HOv 814.. section: Library 815 816Fixed file leak in ElementTree.iterparse() raising an error. 817 818.. 819 820.. bpo: 23914 821.. date: 9736 822.. nonce: vQS48b 823.. section: Library 824 825Fixed SystemError raised by CPickle unpickler on broken data. 826 827.. 828 829.. bpo: 25924 830.. date: 9735 831.. nonce: Uxr2vt 832.. section: Library 833 834Avoid unnecessary serialization of getaddrinfo(3) calls on OS X versions 83510.5 or higher. Original patch by A. Jesse Jiryu Davis. 836 837.. 838 839.. bpo: 26406 840.. date: 9734 841.. nonce: ihvhF4 842.. section: Library 843 844Avoid unnecessary serialization of getaddrinfo(3) calls on current versions 845of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis. 846 847.. 848 849.. bpo: 5124 850.. date: 9733 851.. nonce: 4kwBvM 852.. section: IDLE 853 854Paste with text selected now replaces the selection on X11. This matches how 855paste works on Windows, Mac, most modern Linux apps, and ttk widgets. 856Original patch by Serhiy Storchaka. 857 858.. 859 860.. bpo: 24759 861.. date: 9732 862.. nonce: ccmySu 863.. section: IDLE 864 865Make clear in idlelib.idle_test.__init__ that the directory is a private 866implementation of test.test_idle and tool for maintainers. 867 868.. 869 870.. bpo: 26673 871.. date: 9731 872.. nonce: dh0_Ij 873.. section: IDLE 874 875When tk reports font size as 0, change to size 10. Such fonts on Linux 876prevented the configuration dialog from opening. 877 878.. 879 880.. bpo: 27044 881.. date: 9730 882.. nonce: 4y7tyM 883.. section: IDLE 884 885Add ConfigDialog.remove_var_callbacks to stop memory leaks. 886 887.. 888 889.. bpo: 0 890.. date: 9729 891.. nonce: _YJfG7 892.. section: IDLE 893 894In the 'IDLE-console differences' section of the IDLE doc, clarify how 895running with IDLE affects sys.modules and the standard streams. 896 897.. 898 899.. bpo: 25507 900.. date: 9728 901.. nonce: bx-miX 902.. section: IDLE 903 904fix incorrect change in IOBinding that prevented printing. Change also 905prevented saving shell window with non-ascii characters. Augment IOBinding 906htest to include all major IOBinding functions. 907 908.. 909 910.. bpo: 25905 911.. date: 9727 912.. nonce: FzNb3B 913.. section: IDLE 914 915Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK in 916README.txt and open this and NEWS.txt with 'ascii'. Re-encode CREDITS.txt to 917utf-8 and open it with 'utf-8'. 918 919.. 920 921.. bpo: 26417 922.. date: 9726 923.. nonce: XmSxEK 924.. section: IDLE 925 926Prevent spurious errors and incorrect defaults when installing IDLE 2.7 on 927OS X: default configuration settings are no longer installed from OS X 928specific copies. 929 930.. 931 932.. bpo: 26736 933.. date: 9725 934.. nonce: U_Hyqo 935.. section: Documentation 936 937Used HTTPS for external links in the documentation if possible. 938 939.. 940 941.. bpo: 6953 942.. date: 9724 943.. nonce: Zk6rno 944.. section: Documentation 945 946Rework the Readline module documentation to group related functions 947together, and add more details such as what underlying Readline functions 948and variables are accessed. 949 950.. 951 952.. bpo: 26014 953.. date: 9723 954.. nonce: C3Hbb7 955.. section: Documentation 956 957Guide users to the newer packaging documentation as was done for Python 3.x. 958In particular, the top-level 2.7 documentation page now links to the newer 959installer and distributions pages rather than the legacy install and 960Distutils pages; these are still linked to in the library/distutils doc 961page. 962 963.. 964 965.. bpo: 21916 966.. date: 9722 967.. nonce: muwCyp 968.. section: Tests 969 970Added tests for the turtle module. Patch by ingrid, Gregory Loyse and Jelle 971Zijlstra. 972 973.. 974 975.. bpo: 25940 976.. date: 9721 977.. nonce: PgiLVN 978.. section: Tests 979 980Changed test_ssl to use self-signed.pythontest.net. This avoids relying on 981svn.python.org, which recently changed root certificate. 982 983.. 984 985.. bpo: 25616 986.. date: 9720 987.. nonce: Qr-60p 988.. section: Tests 989 990Tests for OrderedDict are extracted from test_collections into separate file 991test_ordered_dict. 992 993.. 994 995.. bpo: 22359 996.. date: 9719 997.. nonce: laY9yB 998.. section: Build 999 1000Avoid incorrect recursive $(MAKE), and disable the rules for running pgen 1001when cross-compiling. The pgen output is normally saved with the source 1002code anyway, and is still regenerated when doing a native build. Patch by 1003Jonas Wagner and Xavier de Gaye. 1004 1005.. 1006 1007.. bpo: 19450 1008.. date: 9718 1009.. nonce: iS8xhV 1010.. section: Build 1011 1012Update Windows builds to use SQLite 3.8.11.0. 1013 1014.. 1015 1016.. bpo: 27229 1017.. date: 9717 1018.. nonce: C2NDch 1019.. section: Build 1020 1021Fix the cross-compiling pgen rule for in-tree builds. Patch by Xavier de 1022Gaye. 1023 1024.. 1025 1026.. bpo: 17603 1027.. date: 9716 1028.. nonce: 102DA- 1029.. section: Build 1030 1031Avoid error about nonexistant fileblocks.o file by using a lower-level check 1032for st_blocks in struct stat. 1033 1034.. 1035 1036.. bpo: 26465 1037.. date: 9715 1038.. nonce: _YR608 1039.. section: Build 1040 1041Update Windows builds to use OpenSSL 1.0.2g. 1042 1043.. 1044 1045.. bpo: 24421 1046.. date: 9714 1047.. nonce: 2zY7vM 1048.. section: Build 1049 1050Compile Modules/_math.c once, before building extensions. Previously it 1051could fail to compile properly if the math and cmath builds were concurrent. 1052 1053.. 1054 1055.. bpo: 25824 1056.. date: 9713 1057.. nonce: u0HToh 1058.. section: Build 1059 1060Fixes sys.winver to not include any architecture suffix. 1061 1062.. 1063 1064.. bpo: 25348 1065.. date: 9712 1066.. nonce: u6_BaQ 1067.. section: Build 1068 1069Added ``--pgo`` and ``--pgo-job`` arguments to ``PCbuild\build.bat`` for 1070building with Profile-Guided Optimization. The old 1071``PCbuild\build_pgo.bat`` script is now deprecated, and simply calls 1072``PCbuild\build.bat --pgo %*``. 1073 1074.. 1075 1076.. bpo: 25827 1077.. date: 9711 1078.. nonce: yg3DMM 1079.. section: Build 1080 1081Add support for building with ICC to ``configure``, including a new 1082``--with-icc`` flag. 1083 1084.. 1085 1086.. bpo: 25696 1087.. date: 9710 1088.. nonce: 2R_wIv 1089.. section: Build 1090 1091Fix installation of Python on UNIX with make -j9. 1092 1093.. 1094 1095.. bpo: 26930 1096.. date: 9709 1097.. nonce: Sqz2O3 1098.. section: Build 1099 1100Update OS X 10.5+ 32-bit-only installer to build and link with OpenSSL 11011.0.2h. 1102 1103.. 1104 1105.. bpo: 26268 1106.. date: 9708 1107.. nonce: I3-YLh 1108.. section: Build 1109 1110Update Windows builds to use OpenSSL 1.0.2f. 1111 1112.. 1113 1114.. bpo: 25136 1115.. date: 9707 1116.. nonce: Vi-fmO 1117.. section: Build 1118 1119Support Apple Xcode 7's new textual SDK stub libraries. 1120 1121.. 1122 1123.. bpo: 26799 1124.. date: 9706 1125.. nonce: gK2VXX 1126.. section: Tools/Demos 1127 1128Fix python-gdb.py: don't get C types once when the Python code is loaded, 1129but get C types on demand. The C types can change if python-gdb.py is loaded 1130before the Python executable. Patch written by Thomas Ilsche. 1131 1132.. 1133 1134.. bpo: 30255 1135.. date: 9705 1136.. nonce: EGf-zW 1137.. section: C API 1138 1139PySlice_GetIndicesEx now clips the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] 1140instead of [-PY_SSIZE_T_MAX-1, PY_SSIZE_T_MAX]. This makes it safe to do 1141"step = -step" when reversing a slice. 1142 1143.. 1144 1145.. bpo: 26476 1146.. date: 9704 1147.. nonce: oJrb6q 1148.. section: C API 1149 1150Fixed compilation error when use PyErr_BadInternalCall() in C++. Patch by 1151Jeroen Demeyer. 1152 1153.. 1154 1155.. bpo: 17500 1156.. date: 9703 1157.. nonce: QTZbRV 1158.. section: Windows 1159 1160Remove unused and outdated icons. (See also: 1161https://github.com/python/pythondotorg/issues/945) 1162