1 .. bpo: 3211 2 .. date: 7017 3 .. nonce: 53eouC 4 .. release date: 18-June-2008 5 .. section: Core and Builtins 6 7 warnings.warn_explicit() did not guard against its 'registry' argument being 8 anything other than a dict or None. Also fixed a bug in error handling when 9 'message' and 'category' were both set to None, triggering a bus error. 10 11 .. 12 13 .. bpo: 3100 14 .. date: 7016 15 .. nonce: FGUaxt 16 .. section: Core and Builtins 17 18 Corrected a crash on deallocation of a subclassed weakref which holds the 19 last (strong) reference to its referent. 20 21 .. 22 23 .. bpo: 0 24 .. date: 7015 25 .. nonce: habgq9 26 .. section: Core and Builtins 27 28 Add future_builtins.ascii(). 29 30 .. 31 32 .. bpo: 0 33 .. date: 7014 34 .. nonce: ZqCwWn 35 .. section: Core and Builtins 36 37 Several set methods now accept multiple arguments: update(), union(), 38 intersection(), intersection_update(), difference(), and 39 difference_update(). 40 41 .. 42 43 .. bpo: 2898 44 .. date: 7013 45 .. nonce: 3Al5vX 46 .. section: Core and Builtins 47 48 Added sys.getsizeof() to retrieve size of objects in bytes. 49 50 .. 51 52 .. bpo: 0 53 .. date: 7012 54 .. nonce: 7NZKM7 55 .. section: Core and Builtins 56 57 New environment variable PYTHONIOENCODING. 58 59 .. 60 61 .. bpo: 2488 62 .. date: 7011 63 .. nonce: SglN-p 64 .. section: Core and Builtins 65 66 Add sys.maxsize. 67 68 .. 69 70 .. bpo: 2353 71 .. date: 7010 72 .. nonce: IYOwih 73 .. section: Core and Builtins 74 75 file.xreadlines() now emits a Py3k warning. 76 77 .. 78 79 .. bpo: 2863 80 .. date: 7009 81 .. nonce: rpJxY7 82 .. section: Core and Builtins 83 84 generators now have a ``gen.__name__`` attribute that equals 85 ``gen.gi_code.co_name``, like ``func.__name___`` that equals 86 ``func.func_code.co_name``. The repr() of a generator now also contains 87 this name. 88 89 .. 90 91 .. bpo: 2831 92 .. date: 7008 93 .. nonce: Clokao 94 .. section: Core and Builtins 95 96 enumerate() now has a ``start`` argument. 97 98 .. 99 100 .. bpo: 2801 101 .. date: 7007 102 .. nonce: mKH_h9 103 .. section: Core and Builtins 104 105 fix bug in the float.is_integer method where a ValueError was sometimes 106 incorrectly raised. 107 108 .. 109 110 .. bpo: 2790 111 .. date: 7006 112 .. nonce: XESeko 113 .. section: Core and Builtins 114 115 sys.flags was not properly exposing its bytes_warning attribute. 116 117 .. 118 119 .. bpo: 2196 120 .. date: 7005 121 .. nonce: Bzc5vC 122 .. section: Core and Builtins 123 124 hasattr() now lets exceptions which do not inherit Exception 125 (KeyboardInterrupt, and SystemExit) propagate instead of ignoring them. 126 127 .. 128 129 .. bpo: 0 130 .. date: 7004 131 .. nonce: PBmDwc 132 .. section: Core and Builtins 133 134 Added checks for integer overflows, contributed by Google. Some are only 135 available if asserts are left in the code, in cases where they can't be 136 triggered from Python code. 137 138 .. 139 140 .. bpo: 1179 141 .. date: 7003 142 .. nonce: ZiG6Oq 143 .. section: Library 144 145 [CVE-2007-4965] Integer overflow in imageop module. 146 147 .. 148 149 .. bpo: 3116 150 .. date: 7002 151 .. nonce: A_baFS 152 .. section: Library 153 154 marshal.dumps() had quadratic behavior for strings > 32Mb. 155 156 .. 157 158 .. bpo: 2138 159 .. date: 7001 160 .. nonce: 1v8Wds 161 .. section: Library 162 163 Add factorial() to the math module. 164 165 .. 166 167 .. bpo: 0 168 .. date: 7000 169 .. nonce: Zg08xh 170 .. section: Library 171 172 The heapq module does comparisons using LT instead of LE. This makes its 173 implementation match that used by list.sort(). 174 175 .. 176 177 .. bpo: 2819 178 .. date: 6999 179 .. nonce: 8rJOqA 180 .. section: Library 181 182 add full-precision summation function to math module, based on Hettinger's 183 ASPN Python Cookbook recipe. 184 185 .. 186 187 .. bpo: 2592 188 .. date: 6998 189 .. nonce: dyYM9F 190 .. section: Library 191 192 delegate nb_index and the floor/truediv slots in weakref.proxy. 193 194 .. 195 196 .. bpo: 0 197 .. date: 6997 198 .. nonce: 9pq1AU 199 .. section: Library 200 201 Support os.O_ASYNC and fcntl.FASYNC if the constants exist on the platform. 202 203 .. 204 205 .. bpo: 0 206 .. date: 6996 207 .. nonce: xpuGyu 208 .. section: Library 209 210 Support for Windows 9x has been removed from the winsound module. 211 212 .. 213 214 .. bpo: 0 215 .. date: 6995 216 .. nonce: QqGmIr 217 .. section: Library 218 219 bsddb module updated to version 4.7.3. 220 http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3. This code should 221 be compatible with Python 3.0. 222 223 .. 224 225 .. bpo: 2858 226 .. date: 6994 227 .. nonce: klmpfU 228 .. section: Library 229 230 Fix potential memory corruption when bsddb.db.DBEnv.lock_get and other 231 bsddb.db object constructors raised an exception. 232 233 .. 234 235 .. bpo: 2669 236 .. date: 6993 237 .. nonce: ThHCIr 238 .. section: Library 239 240 bsddb/__init__.py iteration no longer silently fails when the database has 241 changed size during iteration. It now raises a RuntimeError in the same 242 manner as a dictionary. 243 244 .. 245 246 .. bpo: 2870 247 .. date: 6992 248 .. nonce: dmu5w6 249 .. section: Library 250 251 cmathmodule.c compile error. 252 253 .. 254 255 .. bpo: 0 256 .. date: 6991 257 .. nonce: F-3bCT 258 .. section: Library 259 260 Added a threading.Thread.ident property. 261 262 .. 263 264 .. bpo: 0 265 .. date: 6990 266 .. nonce: eoz_IQ 267 .. section: Library 268 269 logging.config: Removed out-of-date comment in _install_handlers and used 270 issubclass in place of equality comparison of classes. 271 272 .. 273 274 .. bpo: 2722 275 .. date: 6989 276 .. nonce: wqgrWN 277 .. section: Library 278 279 Now the os.getcwd() supports very long path names. 280 281 .. 282 283 .. bpo: 2888 284 .. date: 6988 285 .. nonce: gJe46M 286 .. section: Library 287 288 Fixed the behaviour of pprint when working with nested structures, to match 289 the behaviour of 2.5 and 3.0 (now follows the common sense). 290 291 .. 292 293 .. bpo: 1817 294 .. date: 6987 295 .. nonce: pPMpU3 296 .. section: Library 297 298 cgi now correctly handles the querystring on POST requests 299 300 .. 301 302 .. bpo: 3136 303 .. date: 6986 304 .. nonce: h_BTKr 305 .. section: Library 306 307 fileConfig()'s disabling of old loggers is now conditional via an optional 308 disable_existing_loggers parameter, but the default value is such that the 309 old behaviour is preserved. Thanks to Leandro Lucarella for the patch. 310 311 .. 312 313 .. bpo: 3126 314 .. date: 6985 315 .. nonce: fTafXl 316 .. section: Library 317 318 StreamHandler and FileHandler check before calling "flush" and "close" that 319 the stream object has these, using hasattr (thanks to bobf for the patch). 320 321 .. 322 323 .. bpo: 2912 324 .. date: 6984 325 .. nonce: eOMCRu 326 .. section: Library 327 328 platform.uname now tries to determine unknown information even if os.uname 329 exists. 330 331 .. 332 333 .. bpo: 0 334 .. date: 6983 335 .. nonce: suPcSI 336 .. section: Library 337 338 The rfc822 module has been deprecated for removal in 3.0. 339 340 .. 341 342 .. bpo: 0 343 .. date: 6982 344 .. nonce: UOZNCJ 345 .. section: Library 346 347 The mimetools module has been deprecated for removal in 3.0. 348 349 .. 350 351 .. bpo: 0 352 .. date: 6981 353 .. nonce: RqZ_5y 354 .. section: Library 355 356 The ctypes.byref function now takes an optional second parameter which 357 specifies an offset in bytes for the constructed pointer-like object. 358 359 .. 360 361 .. bpo: 0 362 .. date: 6980 363 .. nonce: oTWuUu 364 .. section: Library 365 366 Added the ast module. 367 368 .. 369 370 .. bpo: 0 371 .. date: 6979 372 .. nonce: fHFiuS 373 .. section: Library 374 375 Added the multiprocessing module, PEP 371. 376 377 .. 378 379 .. bpo: 0 380 .. date: 6978 381 .. nonce: nlfVuP 382 .. section: Library 383 384 Factored out the indentation cleaning from inspect.getdoc() into 385 inspect.cleandoc() to ease standalone use. 386 387 .. 388 389 .. bpo: 1798 390 .. date: 6977 391 .. nonce: AzgRaY 392 .. section: Library 393 394 Add ctypes calling convention that allows safe access to errno. 395 396 .. 397 398 .. bpo: 2404 399 .. date: 6976 400 .. nonce: y3Vi2t 401 .. section: Library 402 403 ctypes objects support the new pep3118 buffer interface. 404 405 .. 406 407 .. bpo: 2125 408 .. date: 6975 409 .. nonce: wZgsqd 410 .. section: Library 411 412 Add GetInteger and GetString methods for msilib.Record objects. 413 414 .. 415 416 .. bpo: 2782 417 .. date: 6974 418 .. nonce: cDdM9Y 419 .. section: Library 420 421 The datetime module's strftime methods now accept unicode format strings 422 just as time.strftime always has. 423 424 .. 425 426 .. bpo: 0 427 .. date: 6973 428 .. nonce: lhIEH0 429 .. section: Library 430 431 The sgmllib and htmllib modules have been deprecated for removal in Python 432 3.0. 433 434 .. 435 436 .. bpo: 3011 437 .. date: 6972 438 .. nonce: 6bdKsn 439 .. section: Library 440 441 locale module alias table was updated to the latest version from the X.org 442 locale.alias file. 443 444 .. 445 446 .. bpo: 1797 447 .. date: 6971 448 .. nonce: q7se8Q 449 .. section: Library 450 451 ctypes NULL function pointers have a False boolean value now. 452 453 .. 454 455 .. bpo: 2985 456 .. date: 6970 457 .. nonce: Lj8FT6 458 .. section: Library 459 460 Allow 64-bit integer responses (``<i8>``) in XMLRPC transfers. 461 462 .. 463 464 .. bpo: 2877 465 .. date: 6969 466 .. nonce: DHx0Vp 467 .. section: Library 468 469 The UserString.MutableString class has been removed in Python 3.0. 470 471 .. 472 473 .. bpo: 0 474 .. date: 6968 475 .. nonce: eAZNNA 476 .. section: Library 477 478 Do not close external file objects passed to tarfile.open(mode='w:bz2') when 479 the TarFile is closed. 480 481 .. 482 483 .. bpo: 2959 484 .. date: 6967 485 .. nonce: VfcUGd 486 .. section: Library 487 488 For consistency with other file-like objects, gzip's GzipFile.close() can 489 now be called multiple times without raising an exception. 490 491 .. 492 493 .. bpo: 1390 494 .. date: 6966 495 .. nonce: r5VD4K 496 .. section: Library 497 498 Raise ValueError in toxml when an invalid comment would otherwise be 499 produced. 500 501 .. 502 503 .. bpo: 2914 504 .. date: 6965 505 .. nonce: vFi4D6 506 .. section: Library 507 508 TimedRotatingFileHandler now takes an optional keyword argument "utc" to use 509 UTC time rather than local time. 510 511 .. 512 513 .. bpo: 2929 514 .. date: 6964 515 .. nonce: rN0khF 516 .. section: Library 517 518 TimedRotatingFileHandler was using the wrong path when deleting old log 519 files (filename only instead of full path). 520 521 .. 522 523 .. bpo: 1775025 524 .. date: 6963 525 .. nonce: 0zA_rX 526 .. section: Library 527 528 You can now specify zipfile members to open(), read() or extract() via a 529 ZipInfo instance. This allows handling duplicate filenames in zipfiles. 530 531 .. 532 533 .. bpo: 961805 534 .. date: 6962 535 .. nonce: lic8H4 536 .. section: Library 537 538 Fix Text.edit_modified() in Tkinter. 539 540 .. 541 542 .. bpo: 1793 543 .. date: 6961 544 .. nonce: uqwZq4 545 .. section: Library 546 547 Function ctypes.util.find_msvcrt() added that returns the name of the C 548 runtime library that Python uses. ctypes.util.find_library(name) now call 549 this function when name is 'm' or 'c'. 550 551 .. 552 553 .. bpo: 0 554 .. date: 6960 555 .. nonce: TYfaoC 556 .. section: Library 557 558 The statvfs module has been deprecated for removal in Python 3.0. 559 560 .. 561 562 .. bpo: 0 563 .. date: 6959 564 .. nonce: YxHVfd 565 .. section: Library 566 567 The sunaudiodev and SUNAUDIODEV modules have been deprecated for removal in 568 Python 3.0. 569 570 .. 571 572 .. bpo: 0 573 .. date: 6958 574 .. nonce: xxpvg4 575 .. section: Library 576 577 The WAIT module from IRIX has been deprecated for removal in Python 3.0. 578 579 .. 580 581 .. bpo: 0 582 .. date: 6957 583 .. nonce: 2EEuVl 584 .. section: Library 585 586 The torgb module from IRIX has been deprecated for removal in Python 3.0. 587 588 .. 589 590 .. bpo: 0 591 .. date: 6956 592 .. nonce: DxcqyJ 593 .. section: Library 594 595 The SV module from IRIX has been deprecated for removal in Python 3.0. 596 597 .. 598 599 .. bpo: 0 600 .. date: 6955 601 .. nonce: T3Yn6K 602 .. section: Library 603 604 The readcd module from IRIX has been deprecated for removal in Python 3.0. 605 606 .. 607 608 .. bpo: 0 609 .. date: 6954 610 .. nonce: H9XINa 611 .. section: Library 612 613 The panelparser module from IRIX has been deprecated for removal in Python 614 3.0. 615 616 .. 617 618 .. bpo: 0 619 .. date: 6953 620 .. nonce: zVi2Qa 621 .. section: Library 622 623 The panel module from IRIX has been deprecated for removal in Python 3.0. 624 625 .. 626 627 .. bpo: 0 628 .. date: 6952 629 .. nonce: G7TA5T 630 .. section: Library 631 632 The jpeg module from IRIX has been deprecated for removal in Python 3.0. 633 634 .. 635 636 .. bpo: 0 637 .. date: 6951 638 .. nonce: mVA78R 639 .. section: Library 640 641 The IOCTL module from IRIX has been deprecated for removal in Python 3.0. 642 643 .. 644 645 .. bpo: 0 646 .. date: 6950 647 .. nonce: J4KyX6 648 .. section: Library 649 650 The IN module from IRIX has been deprecated for removal in Python 3.0. 651 652 .. 653 654 .. bpo: 0 655 .. date: 6949 656 .. nonce: Nuh6UM 657 .. section: Library 658 659 The imgfile module from IRIX has been deprecated for removal in Python 3.0. 660 661 .. 662 663 .. bpo: 0 664 .. date: 6948 665 .. nonce: UBseEw 666 .. section: Library 667 668 The GLWS module from IRIX has been deprecated for removal in Python 3.0. 669 670 .. 671 672 .. bpo: 0 673 .. date: 6947 674 .. nonce: xgzC-j 675 .. section: Library 676 677 The GET module from IRIX has been deprecated for removal in Python 3.0. 678 679 .. 680 681 .. bpo: 0 682 .. date: 6946 683 .. nonce: NgBwkl 684 .. section: Library 685 686 The fm module from IRIX has been deprecated for removal in Python 3.0. 687 688 .. 689 690 .. bpo: 0 691 .. date: 6945 692 .. nonce: 9kD1K- 693 .. section: Library 694 695 The FL, flp, and fl modules from IRIX have been deprecated for removal in 696 Python 3.0. 697 698 .. 699 700 .. bpo: 0 701 .. date: 6944 702 .. nonce: AYoVJR 703 .. section: Library 704 705 The FILE module on IRIX has been deprecated for removal in Python 3.0. 706 707 .. 708 709 .. bpo: 0 710 .. date: 6943 711 .. nonce: CQ38ij 712 .. section: Library 713 714 The ERRNO module on IRIX has been deprecated for removal in Python 3.0. 715 716 .. 717 718 .. bpo: 0 719 .. date: 6942 720 .. nonce: R-9YLH 721 .. section: Library 722 723 The DEVICE, GL, gl, and cgen modules (which indirectly includes cgensupport) 724 have been deprecated for removal in Python 3.0. 725 726 .. 727 728 .. bpo: 0 729 .. date: 6941 730 .. nonce: dKOF2g 731 .. section: Library 732 733 The CL, CL_old, and cl modules for IRIX have been deprecated for removal in 734 Python 3.0. 735 736 .. 737 738 .. bpo: 0 739 .. date: 6940 740 .. nonce: 5cFkYd 741 .. section: Library 742 743 The cdplayer module for IRIX has been deprecated for removal in Python 3.0. 744 745 .. 746 747 .. bpo: 0 748 .. date: 6939 749 .. nonce: 5y0yek 750 .. section: Library 751 752 The cddb module for IRIX has been deprecated for removal in Python 3.0. 753 754 .. 755 756 .. bpo: 0 757 .. date: 6938 758 .. nonce: 0pHLuS 759 .. section: Library 760 761 The cd and CD modules for IRIX have been deprecated for removal in Python 762 3.0. 763 764 .. 765 766 .. bpo: 0 767 .. date: 6937 768 .. nonce: eF0f6O 769 .. section: Library 770 771 The al and AL modules for IRIX have been deprecated for removal in Python 772 3.0. 773 774 .. 775 776 .. bpo: 1713041 777 .. date: 6936 778 .. nonce: JzsT_z 779 .. section: Library 780 781 fix pprint's handling of maximum depth. 782 783 .. 784 785 .. bpo: 0 786 .. date: 6935 787 .. nonce: FpBuBP 788 .. section: Library 789 790 The timing module has been deprecated for removal in Python 3.0. 791 792 .. 793 794 .. bpo: 0 795 .. date: 6934 796 .. nonce: Lz9Ysd 797 .. section: Library 798 799 The sv module has been deprecated for removal in Python 3.0. 800 801 .. 802 803 .. bpo: 0 804 .. date: 6933 805 .. nonce: kwju7- 806 .. section: Library 807 808 The multifile module has been deprecated as per PEP 4. 809 810 .. 811 812 .. bpo: 0 813 .. date: 6932 814 .. nonce: G-Cuj6 815 .. section: Library 816 817 The imageop module has been deprecated for removal in Python 3.0. 818 819 .. 820 821 .. bpo: 2250 822 .. date: 6931 823 .. nonce: v4HLiv 824 .. section: Library 825 826 Exceptions raised during evaluation of names in rlcompleter's 827 ``Completer.complete()`` method are now caught and ignored. 828 829 .. 830 831 .. bpo: 2659 832 .. date: 6930 833 .. nonce: FuhwDb 834 .. section: Library 835 836 Added ``break_on_hyphens`` option to textwrap TextWrapper class. 837 838 .. 839 840 .. bpo: 0 841 .. date: 6929 842 .. nonce: w8Xvgj 843 .. section: Library 844 845 The mhlib module has been deprecated for removal in Python 3.0. 846 847 .. 848 849 .. bpo: 0 850 .. date: 6928 851 .. nonce: f4HWLF 852 .. section: Library 853 854 The linuxaudiodev module has been deprecated for removal in Python 3.0. 855 856 .. 857 858 .. bpo: 0 859 .. date: 6927 860 .. nonce: O9UJsR 861 .. section: Library 862 863 The ihooks module has been deprecated for removal in Python 3.0. 864 865 .. 866 867 .. bpo: 0 868 .. date: 6926 869 .. nonce: JFJhmk 870 .. section: Library 871 872 The fpformat module has been deprecated for removal in Python 3.0. 873 874 .. 875 876 .. bpo: 0 877 .. date: 6925 878 .. nonce: BVxyeG 879 .. section: Library 880 881 The dl module has been deprecated for removal in Python 3.0. 882 883 .. 884 885 .. bpo: 0 886 .. date: 6924 887 .. nonce: MCsyLJ 888 .. section: Library 889 890 The Canvas module has been deprecated for removal in Python 3.0. 891 892 .. 893 894 .. bpo: 0 895 .. date: 6923 896 .. nonce: aVjhm5 897 .. section: Library 898 899 The compiler package has been deprecated for removal in Python 3.0. 900 901 .. 902 903 .. bpo: 0 904 .. date: 6922 905 .. nonce: R6-PB3 906 .. section: Library 907 908 The Bastion and rexec modules have been deprecated for removal in Python 909 3.0. 910 911 .. 912 913 .. bpo: 0 914 .. date: 6921 915 .. nonce: BvlchT 916 .. section: Library 917 918 The bsddb185 module has been deprecated for removal in Python 3.0. 919 920 .. 921 922 .. bpo: 0 923 .. date: 6920 924 .. nonce: Lt4pJF 925 .. section: Library 926 927 The pure module has been deprecated for removal in Python 3.0. 928 929 .. 930 931 .. bpo: 2487 932 .. date: 6919 933 .. nonce: n2AhZO 934 .. section: Library 935 936 change the semantics of math.ldexp(x, n) when n is too large to fit in a C 937 long. ldexp(x, n) now returns a zero (with suitable sign) if n is large and 938 negative; previously, it raised OverflowError. 939 940 .. 941 942 .. bpo: 0 943 .. date: 6918 944 .. nonce: 6I_VH_ 945 .. section: Library 946 947 The toaiff module has been deprecated for removal in Python 3.0. 948 949 .. 950 951 .. bpo: 0 952 .. date: 6917 953 .. nonce: qWQme_ 954 .. section: Library 955 956 The test.testall module has been deprecated for removal in Python 3.0. 957 958 .. 959 960 .. bpo: 0 961 .. date: 6916 962 .. nonce: HPixGU 963 .. section: Library 964 965 The new module has been deprecated for removal in Python 3.0. 966 967 .. 968 969 .. bpo: 0 970 .. date: 6915 971 .. nonce: sQ0aEE 972 .. section: Library 973 974 The user module has been deprecated for removal in Python 3.0. 975 976 .. 977 978 .. bpo: 0 979 .. date: 6914 980 .. nonce: J-y7uq 981 .. section: Library 982 983 The stringold module has been deprecated for removal in Python 3.0. 984 985 .. 986 987 .. bpo: 0 988 .. date: 6913 989 .. nonce: u1RhAc 990 .. section: Library 991 992 The mutex module has been deprecated for removal in Python 3.0. 993 994 .. 995 996 .. bpo: 0 997 .. date: 6912 998 .. nonce: NlWeSy 999 .. section: Library 1000 1001 The imputil module has been deprecated for removal in Python 3.0. 1002 1003 .. 1004 1005 .. bpo: 0 1006 .. date: 6911 1007 .. nonce: iI_4rp 1008 .. section: Library 1009 1010 test.test_support.catch_warning() gained a 'record' argument. 1011 1012 .. 1013 1014 .. bpo: 0 1015 .. date: 6910 1016 .. nonce: 0DtsL9 1017 .. section: Library 1018 1019 os.path.walk is deprecated in favor of os.walk. 1020 1021 .. 1022 1023 .. bpo: 0 1024 .. date: 6909 1025 .. nonce: MWVgy8 1026 .. section: Library 1027 1028 pdb gained the "until" command. 1029 1030 .. 1031 1032 .. bpo: 0 1033 .. date: 6908 1034 .. nonce: R978mb 1035 .. section: Library 1036 1037 The Mac Modules (including Carbon) have been deprecated for removal in 1038 Python 3.0. 1039 1040 .. 1041 1042 .. bpo: 0 1043 .. date: 6907 1044 .. nonce: 2hRfXS 1045 .. section: Library 1046 1047 Library: on MacOS X you can now set ``ARCHFLAGS`` in the shell environment 1048 to control the '-arch' flags that are used to build an extension. This was 1049 added for compatibility with Apple's build of Python. 1050 1051 .. 1052 1053 .. bpo: 0 1054 .. date: 6906 1055 .. nonce: HjodSi 1056 .. section: Library 1057 1058 The bundled OSX-specific copy of libbffi is now in sync with the version 1059 shipped with PyObjC 2.0 and includes support for x86_64 and ppc64 platforms. 1060 1061 .. 1062 1063 .. bpo: 0 1064 .. date: 6905 1065 .. nonce: iTp3z3 1066 .. section: Library 1067 1068 The threading module gained aliases for names that will be removed in the 1069 3.x series. 1070 1071 .. 1072 1073 .. bpo: 0 1074 .. date: 6904 1075 .. nonce: 0CBHNl 1076 .. section: Build 1077 1078 The Windows installer now includes Tk 8.5, bzip2 1.0.5, and SQLite 3.5.9. 1079 1080 .. 1081 1082 .. bpo: 1722225 1083 .. date: 6903 1084 .. nonce: j9OSPy 1085 .. section: Build 1086 1087 Support QNX 6. 1088 1089 .. 1090 1091 .. bpo: 0 1092 .. date: 6902 1093 .. nonce: CBo5JG 1094 .. section: Build 1095 1096 ``Lib/lib-old`` is now added to sys.path. 1097 1098 .. 1099 1100 .. bpo: 0 1101 .. date: 6901 1102 .. nonce: sehDt_ 1103 .. section: Build 1104 1105 On MacOS X it is now possible to install the framework in 64-bit mode or 1106 even as a 4-way universal binary (that is, PPC, i386, PPC64 and x86_64 1107 support in one binary). 1108 1109 This is controlled by the configure argument ``--with-universal-archs``: 1110 1111 - ``--with-universal-archs=all``: install 4-way universal 1112 1113 - ``--with-universal-archs=32-bit``: install 2-way universal, 32-bit (the 1114 default) 1115 1116 - ``--with-universal-archs=64-bit``: install 2-way universal, 64-bit 1117 1118 This option should be used in combination with ``--enable-universalsdk=``. 1119 1120 NOTE: 64-bit and 4-way builds are only suppported on Mac OS X 10.5 (or 1121 later). 1122 1123 .. 1124 1125 .. bpo: 0 1126 .. date: 6900 1127 .. nonce: dWsqLp 1128 .. section: C API 1129 1130 Add ``PyType_Modified()`` as a public API to clear the type cache. 1131 1132 .. 1133 1134 .. bpo: 0 1135 .. date: 6899 1136 .. nonce: kBP7ih 1137 .. section: C API 1138 1139 The PyBytes functions have been renamed to PyByteArray. 1140 1141 .. 1142 1143 .. bpo: 0 1144 .. date: 6898 1145 .. nonce: Ab5wDH 1146 .. section: C API 1147 1148 The PyString functions have been renamed to PyBytes. A batch of defines were 1149 added so that the linker still sees the original PyString names. 1150