1.. bpo: 21963 2.. date: 9487 3.. nonce: eUwKx1 4.. release date: 2014-11-25 5.. section: Core and Builtins 6 7backout issue #1856 patch (avoid crashes and lockups when daemon threads run 8while the interpreter is shutting down; instead, these threads are now 9killed when they try to take the GIL), as it seems to break some existing 10code. 11 12.. 13 14.. bpo: 22604 15.. date: 9486 16.. nonce: yii-It 17.. section: Core and Builtins 18 19Fix assertion error in debug mode when dividing a complex number by 20(nan+0j). 21 22.. 23 24.. bpo: 22470 25.. date: 9485 26.. nonce: Lc7ZPK 27.. section: Core and Builtins 28 29Fixed integer overflow issues in "backslashreplace" and "xmlcharrefreplace" 30error handlers. 31 32.. 33 34.. bpo: 22526 35.. date: 9484 36.. nonce: Oc9lar 37.. section: Core and Builtins 38 39Fix iterating through files with lines longer than 2^31 bytes. 40 41.. 42 43.. bpo: 22519 44.. date: 9483 45.. nonce: zTlQLy 46.. section: Core and Builtins 47 48Fix overflow checking in PyString_Repr. 49 50.. 51 52.. bpo: 22518 53.. date: 9482 54.. nonce: C9T6ed 55.. section: Core and Builtins 56 57Fix integer overflow issues in latin-1 encoding. 58 59.. 60 61.. bpo: 22379 62.. date: 9481 63.. nonce: 4_3Ge- 64.. section: Core and Builtins 65 66Fix empty exception message in a TypeError raised in ``str.join``. 67 68.. 69 70.. bpo: 22221 71.. date: 9480 72.. nonce: t0BE8h 73.. section: Core and Builtins 74 75Now the source encoding declaration on the second line isn't effective if 76the first line contains anything except a comment. 77 78.. 79 80.. bpo: 22023 81.. date: 9479 82.. nonce: id5Xei 83.. section: Core and Builtins 84 85Fix ``%S``, ``%R`` and ``%V`` formats of :c:func:`PyUnicode_FromFormat`. 86 87.. 88 89.. bpo: 21591 90.. date: 9478 91.. nonce: hJVYlf 92.. section: Core and Builtins 93 94Correctly handle qualified exec statements in tuple form by moving 95compatibility layer from run-time to AST transformation. 96 97.. 98 99.. bpo: 22417 100.. date: 9477 101.. nonce: To4b7U 102.. section: Library 103 104Verify certificates by default in httplib (PEP 476). 105 106.. 107 108.. bpo: 22927 109.. date: 9476 110.. nonce: TKaKOP 111.. section: Library 112 113Allow urllib.urlopen to take a *context* parameter to control SSL settings 114for HTTPS connections. 115 116.. 117 118.. bpo: 22921 119.. date: 9475 120.. nonce: a4wx1C 121.. section: Library 122 123Allow SSLContext to take the *hostname* parameter even if OpenSSL doesn't 124support SNI. 125 126.. 127 128.. bpo: 9003 129.. date: 9474 130.. nonce: VCncsy 131.. section: Library 132 133httplib.HTTPSConnection, urllib2.HTTPSHandler and urllib2.urlopen now take 134optional arguments to allow for server certificate checking, as recommended 135in public uses of HTTPS. This backport is part of PEP 467. (See also: 136bpo-22366) 137 138.. 139 140.. bpo: 12728 141.. date: 9473 142.. nonce: rHZmXO 143.. section: Library 144 145Different Unicode characters having the same uppercase but different 146lowercase are now matched in case-insensitive regular expressions. 147 148.. 149 150.. bpo: 22821 151.. date: 9472 152.. nonce: 30cQ-U 153.. section: Library 154 155Fixed fcntl() with integer argument on 64-bit big-endian platforms. 156 157.. 158 159.. bpo: 17293 160.. date: 9471 161.. nonce: Hk06bO 162.. section: Library 163 164uuid.getnode() now determines MAC address on AIX using netstat. Based on 165patch by Aivars Kalvāns. 166 167.. 168 169.. bpo: 22769 170.. date: 9470 171.. nonce: PunnvQ 172.. section: Library 173 174Fixed ttk.Treeview.tag_has() when called without arguments. 175 176.. 177 178.. bpo: 22787 179.. date: 9469 180.. nonce: QIzbnh 181.. section: Library 182 183Allow the keyfile argument of SSLContext.load_cert_chain to be None. 184 185.. 186 187.. bpo: 22775 188.. date: 9468 189.. nonce: 9X-KKA 190.. section: Library 191 192Fixed unpickling of Cookie.SimpleCookie with protocol 2. Patch by Tim 193Graham. 194 195.. 196 197.. bpo: 22776 198.. date: 9467 199.. nonce: xNcRse 200.. section: Library 201 202Brought excluded code into the scope of a try block in SysLogHandler.emit(). 203 204.. 205 206.. bpo: 17381 207.. date: 9466 208.. nonce: IrcC9I 209.. section: Library 210 211Fixed ranges handling in case-insensitive regular expressions. 212 213.. 214 215.. bpo: 19329 216.. date: 9465 217.. nonce: f3o3tr 218.. section: Library 219 220Optimized compiling charsets in regular expressions. 221 222.. 223 224.. bpo: 22410 225.. date: 9464 226.. nonce: 99YFdd 227.. section: Library 228 229Module level functions in the re module now cache compiled locale-dependent 230regular expressions taking into account the locale. 231 232.. 233 234.. bpo: 8876 235.. date: 9463 236.. nonce: A83Av4 237.. section: Library 238 239distutils now falls back to copying files when hard linking doesn't work. 240This allows use with special filesystems such as VirtualBox shared folders. 241 242.. 243 244.. bpo: 9351 245.. date: 9462 246.. nonce: u5UI-6 247.. section: Library 248 249Defaults set with set_defaults on an argparse subparser are no longer 250ignored when also set on the parent parser. 251 252.. 253 254.. bpo: 20421 255.. date: 9461 256.. nonce: iR0S1s 257.. section: Library 258 259Add a .version() method to SSL sockets exposing the actual protocol version 260in use. 261 262.. 263 264.. bpo: 22435 265.. date: 9460 266.. nonce: Mrmeio 267.. section: Library 268 269Fix a file descriptor leak when SocketServer bind fails. 270 271.. 272 273.. bpo: 13664 274.. date: 9459 275.. nonce: tjVs9o 276.. section: Library 277 278GzipFile now supports non-ascii Unicode filenames. 279 280.. 281 282.. bpo: 13096 283.. date: 9458 284.. nonce: rsailB 285.. section: Library 286 287Fixed segfault in CTypes POINTER handling of large values. 288 289.. 290 291.. bpo: 11694 292.. date: 9457 293.. nonce: JuDrch 294.. section: Library 295 296Raise ConversionError in xdrlib as documented. Patch by Filip Gruszczyński 297and Claudiu Popa. 298 299.. 300 301.. bpo: 1686 302.. date: 9456 303.. nonce: -w9zEU 304.. section: Library 305 306Fix string.Template when overriding the pattern attribute. 307 308.. 309 310.. bpo: 11866 311.. date: 9455 312.. nonce: xrvbIC 313.. section: Library 314 315Eliminated race condition in the computation of names for new threads. 316 317.. 318 319.. bpo: 22219 320.. date: 9454 321.. nonce: l9Enh9 322.. section: Library 323 324The zipfile module CLI now adds entries for directories (including empty 325directories) in ZIP file. 326 327.. 328 329.. bpo: 22449 330.. date: 9453 331.. nonce: nFW_Fl 332.. section: Library 333 334In the ssl.SSLContext.load_default_certs, consult the environmental 335variables SSL_CERT_DIR and SSL_CERT_FILE on Windows. 336 337.. 338 339.. bpo: 8473 340.. date: 9452 341.. nonce: QcfDba 342.. section: Library 343 344doctest.testfile now uses universal newline mode to read the test file. 345 346.. 347 348.. bpo: 20076 349.. date: 9451 350.. nonce: -7OIVB 351.. section: Library 352 353Added non derived UTF-8 aliases to locale aliases table. 354 355.. 356 357.. bpo: 20079 358.. date: 9450 359.. nonce: qM949O 360.. section: Library 361 362Added locales supported in glibc 2.18 to locale alias table. 363 364.. 365 366.. bpo: 22530 367.. date: 9449 368.. nonce: 4EcK4x 369.. section: Library 370 371Allow the ``group()`` method of regular expression match objects to take a 372``long`` as an index. 373 374.. 375 376.. bpo: 22517 377.. date: 9448 378.. nonce: qT6-aB 379.. section: Library 380 381When an io.BufferedRWPair object is deallocated, clear its weakrefs. 382 383.. 384 385.. bpo: 10510 386.. date: 9447 387.. nonce: N-ntcD 388.. section: Library 389 390distutils register and upload methods now use HTML standards compliant CRLF 391line endings. 392 393.. 394 395.. bpo: 9850 396.. date: 9446 397.. nonce: D-UnVi 398.. section: Library 399 400Fixed macpath.join() for empty first component. Patch by Oleg Oshmyan. 401 402.. 403 404.. bpo: 20912 405.. date: 9445 406.. nonce: cAq3mZ 407.. section: Library 408 409Now directories added to ZIP file have correct Unix and MS-DOS directory 410attributes. 411 412.. 413 414.. bpo: 21866 415.. date: 9444 416.. nonce: hSc4wM 417.. section: Library 418 419ZipFile.close() no longer writes ZIP64 central directory records if 420allowZip64 is false. 421 422.. 423 424.. bpo: 22415 425.. date: 9443 426.. nonce: VKFghV 427.. section: Library 428 429Fixed debugging output of the GROUPREF_EXISTS opcode in the re module. 430 431.. 432 433.. bpo: 22423 434.. date: 9442 435.. nonce: Rtb4oT 436.. section: Library 437 438Unhandled exception in thread no longer causes unhandled AttributeError when 439sys.stderr is None. 440 441.. 442 443.. bpo: 22419 444.. date: 9441 445.. nonce: FqH4aC 446.. section: Library 447 448Limit the length of incoming HTTP request in wsgiref server to 65536 bytes 449and send a 414 error code for higher lengths. Patch contributed by Devin 450Cook. 451 452.. 453 454.. bpo: 0 455.. date: 9440 456.. nonce: y7r3O2 457.. section: Library 458 459Lax cookie parsing in http.cookies could be a security issue when combined 460with non-standard cookie handling in some Web browsers. Reported by Sergey 461Bobrov. 462 463.. 464 465.. bpo: 21147 466.. date: 9439 467.. nonce: w9DE17 468.. section: Library 469 470sqlite3 now raises an exception if the request contains a null character 471instead of truncating it. Based on patch by Victor Stinner. 472 473.. 474 475.. bpo: 21951 476.. date: 9438 477.. nonce: 3vS4LK 478.. section: Library 479 480Fixed a crash in Tkinter on AIX when called Tcl command with empty string or 481tuple argument. 482 483.. 484 485.. bpo: 21951 486.. date: 9437 487.. nonce: _CCC4v 488.. section: Library 489 490Tkinter now most likely raises MemoryError instead of crash if the memory 491allocation fails. 492 493.. 494 495.. bpo: 22226 496.. date: 9436 497.. nonce: T1ZMPY 498.. section: Library 499 500First letter no longer is stripped from the "status" key in the result of 501Treeview.heading(). 502 503.. 504 505.. bpo: 22051 506.. date: 9435 507.. nonce: cUjFqL 508.. section: Library 509 510turtledemo no longer reloads examples to re-run them. Initialization of 511variables and gui setup should be done in main(), which is called each time 512a demo is run, but not on import. 513 514.. 515 516.. bpo: 21597 517.. date: 9434 518.. nonce: aPTCWJ 519.. section: Library 520 521The separator between the turtledemo text pane and the drawing canvas can 522now be grabbed and dragged with a mouse. The code text pane can be widened 523to easily view or copy the full width of the text. The canvas can be 524widened on small screens. Original patches by Jan Kanis and Lita Cho. 525 526.. 527 528.. bpo: 18132 529.. date: 9433 530.. nonce: 2R2nwM 531.. section: Library 532 533Turtledemo buttons no longer disappear when the window is shrunk. Original 534patches by Jan Kanis and Lita Cho. 535 536.. 537 538.. bpo: 22312 539.. date: 9432 540.. nonce: WP13o8 541.. section: Library 542 543Fix ntpath.splitdrive IndexError. 544 545.. 546 547.. bpo: 22216 548.. date: 9431 549.. nonce: Cmalu6 550.. section: Library 551 552smtplib now resets its state more completely after a quit. The most obvious 553consequence of the previous behavior was a STARTTLS failure during a 554connect/starttls/quit/connect/starttls sequence. 555 556.. 557 558.. bpo: 21305 559.. date: 9430 560.. nonce: Fl8I5B 561.. section: Library 562 563os.urandom now caches a fd to /dev/urandom. This is a PEP 466 backport from 564Python 3. 565 566.. 567 568.. bpo: 21307 569.. date: 9429 570.. nonce: U7iiqX 571.. section: Library 572 573As part of PEP 466, backport hashlib.algorithms_guaranteed and 574hashlib.algorithms_available. 575 576.. 577 578.. bpo: 22259 579.. date: 9428 580.. nonce: 6v9wLm 581.. section: Library 582 583Fix segfault when attempting to fopen a file descriptor corresponding to a 584directory. 585 586.. 587 588.. bpo: 22236 589.. date: 9427 590.. nonce: 1utXkg 591.. section: Library 592 593Fixed Tkinter images copying operations in NoDefaultRoot mode. 594 595.. 596 597.. bpo: 22191 598.. date: 9426 599.. nonce: 1K-CmD 600.. section: Library 601 602Fixed warnings.__all__. 603 604.. 605 606.. bpo: 21308 607.. date: 9425 608.. nonce: _z9b8i 609.. section: Library 610 611Backport numerous features from Python's ssl module. This is part of PEP 612466. 613 614.. 615 616.. bpo: 15696 617.. date: 9424 618.. nonce: PTwXYJ 619.. section: Library 620 621Add a __sizeof__ implementation for mmap objects on Windows. 622 623.. 624 625.. bpo: 8797 626.. date: 9423 627.. nonce: aJcIPu 628.. section: Library 629 630Raise HTTPError on failed Basic Authentication immediately. Initial patch by 631Sam Bull. 632 633.. 634 635.. bpo: 22068 636.. date: 9422 637.. nonce: wCdaW0 638.. section: Library 639 640Avoided reference loops with Variables and Fonts in Tkinter. 641 642.. 643 644.. bpo: 21448 645.. date: 9421 646.. nonce: THJSYB 647.. section: Library 648 649Changed FeedParser feed() to avoid O(N**2) behavior when parsing long line. 650Original patch by Raymond Hettinger. 651 652.. 653 654.. bpo: 17923 655.. date: 9420 656.. nonce: YI_QjG 657.. section: Library 658 659glob() patterns ending with a slash no longer match non-dirs on AIX. Based 660on patch by Delhallt. 661 662.. 663 664.. bpo: 21975 665.. date: 9419 666.. nonce: MI8ntO 667.. section: Library 668 669Fixed crash when using uninitialized sqlite3.Row (in particular when 670unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the 671__new__() method. 672 673.. 674 675.. bpo: 16037 676.. date: 9418 677.. nonce: q6A9-W 678.. section: Library 679 680HTTPMessage.readheaders() raises an HTTPException when more than 100 headers 681are read. Patch by Jyrki Pulliainen and Daniel Eriksson. 682 683.. 684 685.. bpo: 21580 686.. date: 9417 687.. nonce: BUIf7o 688.. section: Library 689 690Now Tkinter correctly handles binary "data" and "maskdata" configure options 691of tkinter.PhotoImage. 692 693.. 694 695.. bpo: 19612 696.. date: 9416 697.. nonce: xvU6AH 698.. section: Library 699 700subprocess.communicate() now also ignores EINVAL when using at least two 701pipes. 702 703.. 704 705.. bpo: 0 706.. date: 9415 707.. nonce: aDlT3j 708.. section: Library 709 710Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError on 711closed socket. 712 713.. 714 715.. bpo: 16133 716.. date: 9414 717.. nonce: 6cKWd2 718.. section: Library 719 720The asynchat.async_chat.handle_read() method now ignores socket.error() 721exceptions with blocking I/O errors: EAGAIN, EALREADY, EINPROGRESS, or 722EWOULDBLOCK. 723 724.. 725 726.. bpo: 21990 727.. date: 9413 728.. nonce: _lujpf 729.. section: Library 730 731Clean-up unnecessary and slow inner class definition in saxutils 732(Contributed by Alex Gaynor). 733 734.. 735 736.. bpo: 1730136 737.. date: 9412 738.. nonce: sqWp2M 739.. section: Library 740 741Fix the comparison between a tkFont.Font and an object of another kind. 742 743.. 744 745.. bpo: 19884 746.. date: 9411 747.. nonce: 6cbo0V 748.. section: Library 749 750readline: Disable the meta modifier key if stdout is not a terminal to not 751write the ANSI sequence "\033[1034h" into stdout. This sequence is used on 752some terminal (ex: TERM=xterm-256color") to enable support of 8 bit 753characters. 754 755.. 756 757.. bpo: 22017 758.. date: 9410 759.. nonce: BojGgr 760.. section: Library 761 762Correct reference counting error in the initialization of the _warnings 763module. 764 765.. 766 767.. bpo: 21868 768.. date: 9409 769.. nonce: q_ZIvF 770.. section: Library 771 772Prevent turtle crash when undo buffer set to a value less than one. 773 774.. 775 776.. bpo: 21151 777.. date: 9408 778.. nonce: T7tb9Q 779.. section: Library 780 781Fixed a segfault in the _winreg module when ``None`` is passed as a 782``REG_BINARY`` value to SetValueEx. Patch by John Ehresman. 783 784.. 785 786.. bpo: 21090 787.. date: 9407 788.. nonce: 20Ooif 789.. section: Library 790 791io.FileIO.readall() does not ignore I/O errors anymore. Before, it ignored 792I/O errors if at least the first C call read() succeed. 793 794.. 795 796.. bpo: 19870 797.. date: 9406 798.. nonce: 3QBvmj 799.. section: Library 800 801BaseCookie now parses 'secure' and 'httponly' flags. Backport of issue 802#16611. 803 804.. 805 806.. bpo: 21923 807.. date: 9405 808.. nonce: hXnoZa 809.. section: Library 810 811Prevent AttributeError in distutils.sysconfig.customize_compiler due to 812possible uninitialized _config_vars. 813 814.. 815 816.. bpo: 21323 817.. date: 9404 818.. nonce: yRf1v6 819.. section: Library 820 821Fix CGIHTTPServer to again handle scripts in CGI subdirectories, broken by 822the fix for security issue #19435. Patch by Zach Byrne. 823 824.. 825 826.. bpo: 22199 827.. date: 9403 828.. nonce: SIwKds 829.. section: Library 830 831Make get_makefile_filename() available in Lib/sysconfig.py for 2.7 to match 832other versions of sysconfig. 833 834.. 835 836.. bpo: 3068 837.. date: 9402 838.. nonce: TYjXTA 839.. section: IDLE 840 841Add Idle extension configuration dialog to Options menu. Changes are written 842to HOME/.idlerc/config-extensions.cfg. Original patch by Tal Einat. 843 844.. 845 846.. bpo: 16233 847.. date: 9401 848.. nonce: sOadNo 849.. section: IDLE 850 851A module browser (File : Class Browser, Alt+C) requires an editor window 852with a filename. When Class Browser is requested otherwise, from a shell, 853output window, or 'Untitled' editor, Idle no longer displays an error box. 854It now pops up an Open Module box (Alt+M). If a valid name is entered and a 855module is opened, a corresponding browser is also opened. 856 857.. 858 859.. bpo: 4832 860.. date: 9400 861.. nonce: GRKi9M 862.. section: IDLE 863 864Save As to type Python files automatically adds .py to the name you enter 865(even if your system does not display it). Some systems automatically add 866.txt when type is Text files. 867 868.. 869 870.. bpo: 21986 871.. date: 9399 872.. nonce: 04GUv2 873.. section: IDLE 874 875Code objects are not normally pickled by the pickle module. To match this, 876they are no longer pickled when running under Idle. 877 878.. 879 880.. bpo: 22221 881.. date: 9398 882.. nonce: d87SuA 883.. section: IDLE 884 885IDLE now ignores the source encoding declaration on the second line if the 886first line contains anything except a comment. 887 888.. 889 890.. bpo: 17390 891.. date: 9397 892.. nonce: I4vHFh 893.. section: IDLE 894 895Adjust Editor window title; remove 'Python', move version to end. 896 897.. 898 899.. bpo: 14105 900.. date: 9396 901.. nonce: -FZwYH 902.. section: IDLE 903 904Idle debugger breakpoints no longer disappear when inserting or deleting 905lines. 906 907.. 908 909.. bpo: 22381 910.. date: 9395 911.. nonce: 6ngdZW 912.. section: Library 913 914Update zlib to 1.2.8. 915 916.. 917 918.. bpo: 22176 919.. date: 9394 920.. nonce: rgbRyg 921.. section: Library 922 923Update the ctypes module's libffi to v3.1. This release adds support for 924the Linux AArch64 and POWERPC ELF ABIv2 little endian architectures. 925 926.. 927 928.. bpo: 10712 929.. date: 9393 930.. nonce: rnd0oc 931.. section: Tools/Demos 932 9332to3 has a new "asserts" fixer that replaces deprecated names of unittest 934methods (e.g. failUnlessEqual -> assertEqual). 935 936.. 937 938.. bpo: 22221 939.. date: 9392 940.. nonce: vONLqA 941.. section: Tools/Demos 942 9432to3 and the findnocoding.py script now ignore the source encoding 944declaration on the second line if the first line contains anything except a 945comment. 946 947.. 948 949.. bpo: 22201 950.. date: 9391 951.. nonce: k1Awbh 952.. section: Tools/Demos 953 954Command-line interface of the zipfile module now correctly extracts ZIP 955files with directory entries. Patch by Ryan Wilson. 956 957.. 958 959.. bpo: 22236 960.. date: 9390 961.. nonce: ginJSI 962.. section: Tests 963 964Tkinter tests now don't reuse default root window. New root window is 965created for every test class. 966 967.. 968 969.. bpo: 18004 970.. date: 9389 971.. nonce: jPXten 972.. section: Tests 973 974test_overflow in test_list by mistake consumed 40 GiB of memory on 64-bit 975systems. 976 977.. 978 979.. bpo: 21976 980.. date: 9388 981.. nonce: Slq6se 982.. section: Tests 983 984Fix test_ssl to accept LibreSSL version strings. Thanks to William Orr. 985 986.. 987 988.. bpo: 22770 989.. date: 9387 990.. nonce: FxAh91 991.. section: Tests 992 993Prevent some Tk segfaults on OS X when running gui tests. 994 995.. 996 997.. bpo: 20221 998.. date: 9386 999.. nonce: _yAetK 1000.. section: Build 1001 1002Removed conflicting (or circular) hypot definition when compiled with VS 10032010 or above. Initial patch by Tabrez Mohammed. 1004 1005.. 1006 1007.. bpo: 16537 1008.. date: 9385 1009.. nonce: llFo71 1010.. section: Build 1011 1012Check whether self.extensions is empty in setup.py. Patch by Jonathan 1013Hosmer. 1014 1015.. 1016 1017.. bpo: 0 1018.. date: 9384 1019.. nonce: YZUllw 1020.. section: Build 1021 1022The documentation Makefile no longer automatically downloads Sphinx. Users 1023are now required to have Sphinx already installed to build the 1024documentation. 1025 1026.. 1027 1028.. bpo: 21958 1029.. date: 9383 1030.. nonce: 3rq4qR 1031.. section: Build 1032 1033Define HAVE_ROUND when building with Visual Studio 2013 and above. Patch by 1034Zachary Turner. 1035 1036.. 1037 1038.. bpo: 15759 1039.. date: 9382 1040.. nonce: iGLR6O 1041.. section: Build 1042 1043"make suspicious", "make linkcheck" and "make doctest" in Doc/ now display 1044special message when and only when there are failures. 1045 1046.. 1047 1048.. bpo: 21166 1049.. date: 9381 1050.. nonce: KAl7aO 1051.. section: Build 1052 1053Prevent possible segfaults and other random failures of python 1054``--generate-posix-vars`` in pybuilddir.txt build target. 1055 1056.. 1057 1058.. bpo: 18096 1059.. date: 9380 1060.. nonce: ELyAUJ 1061.. section: Build 1062 1063Fix library order returned by python-config. 1064 1065.. 1066 1067.. bpo: 17219 1068.. date: 9379 1069.. nonce: q8ueQ0 1070.. section: Build 1071 1072Add library build dir for Python extension cross-builds. 1073 1074.. 1075 1076.. bpo: 22877 1077.. date: 9378 1078.. nonce: nq_snR 1079.. section: Build 1080 1081PEP 477 - OS X installer now installs pip. 1082 1083.. 1084 1085.. bpo: 22878 1086.. date: 9377 1087.. nonce: y4UnOy 1088.. section: Build 1089 1090PEP 477 - "make install" and "make altinstall" can now install or upgrade 1091pip, using the bundled pip provided by the backported ensurepip module. A 1092configure option, --with-ensurepip[=upgrade|install|no], is available to set 1093the option for subsequent installs; the default for Python 2 in "no" (do not 1094install or upgrade pip). The option can also be set with "make [alt]install 1095ENSUREPIP=[upgrade|install|no]". 1096 1097.. 1098 1099.. bpo: 17896 1100.. date: 9376 1101.. nonce: o79rHM 1102.. section: Windows 1103 1104The Windows build scripts now expect external library sources to be in 1105``PCbuild\..\externals`` rather than ``PCbuild\..\..``. 1106 1107.. 1108 1109.. bpo: 17717 1110.. date: 9375 1111.. nonce: y1zoye 1112.. section: Windows 1113 1114The Windows build scripts now use a copy of NASM pulled from svn.python.org 1115to build OpenSSL. 1116 1117.. 1118 1119.. bpo: 22644 1120.. date: 9374 1121.. nonce: gosBki 1122.. section: Windows 1123 1124The bundled version of OpenSSL has been updated to 1.0.1j. 1125