1.. bpo: 10211 2.. date: 9006 3.. nonce: JF6QJN 4.. release date: 2013-03-23 5.. section: Core and Builtins 6 7Buffer objects expose the new buffer interface internally 8 9.. 10 11.. bpo: 16445 12.. date: 9005 13.. nonce: EF19nl 14.. section: Core and Builtins 15 16Fixed potential segmentation fault when deleting an exception message. 17 18.. 19 20.. bpo: 17275 21.. date: 9004 22.. nonce: Aqerft 23.. section: Core and Builtins 24 25Corrected class name in init error messages of the C version of 26BufferedWriter and BufferedRandom. 27 28.. 29 30.. bpo: 7963 31.. date: 9003 32.. nonce: FWJtUT 33.. section: Core and Builtins 34 35Fixed misleading error message that issued when object is called without 36arguments. 37 38.. 39 40.. bpo: 5308 41.. date: 9002 42.. nonce: s5uAbP 43.. section: Core and Builtins 44 45Raise ValueError when marshalling too large object (a sequence with size >= 462**31), instead of producing illegal marshal data. 47 48.. 49 50.. bpo: 17043 51.. date: 9001 52.. nonce: 4OVhGk 53.. section: Core and Builtins 54 55The unicode-internal decoder no longer read past the end of input buffer. 56 57.. 58 59.. bpo: 16979 60.. date: 9000 61.. nonce: jTR3Oe 62.. section: Core and Builtins 63 64Fix error handling bugs in the unicode-escape-decode decoder. 65 66.. 67 68.. bpo: 10156 69.. date: 8999 70.. nonce: iEZGhY 71.. section: Core and Builtins 72 73In the interpreter's initialization phase, unicode globals are now 74initialized dynamically as needed. 75 76.. 77 78.. bpo: 16975 79.. date: 8998 80.. nonce: H9EsG9 81.. section: Core and Builtins 82 83Fix error handling bug in the escape-decode decoder. 84 85.. 86 87.. bpo: 14850 88.. date: 8997 89.. nonce: EhU_If 90.. section: Core and Builtins 91 92Now a charmap decoder treats U+FFFE as "undefined mapping" in any mapping, 93not only in a Unicode string. 94 95.. 96 97.. bpo: 11461 98.. date: 8996 99.. nonce: xwn_Zw 100.. section: Core and Builtins 101 102Fix the incremental UTF-16 decoder. Original patch by Amaury Forgeot d'Arc. 103 104.. 105 106.. bpo: 16367 107.. date: 8995 108.. nonce: lewlCg 109.. section: Core and Builtins 110 111Fix FileIO.readall() on Windows for files larger than 2 GB. 112 113.. 114 115.. bpo: 15516 116.. date: 8994 117.. nonce: 5-JJO7 118.. section: Core and Builtins 119 120Fix a bug in PyString_FromFormat where it failed to properly ignore errors 121from a __int__() method. 122 123.. 124 125.. bpo: 16839 126.. date: 8993 127.. nonce: aEw6ZB 128.. section: Core and Builtins 129 130Fix a segfault when calling unicode() on a classic class early in 131interpreter initialization. 132 133.. 134 135.. bpo: 16761 136.. date: 8992 137.. nonce: Z2d0Tr 138.. section: Core and Builtins 139 140Calling ``int()`` and ``long()`` with *base* argument only now raises 141TypeError. 142 143.. 144 145.. bpo: 16759 146.. date: 8991 147.. nonce: U0-CFS 148.. section: Core and Builtins 149 150Support the full DWORD (unsigned long) range in Reg2Py when retrieving a 151REG_DWORD value. This corrects functions like winreg.QueryValueEx that may 152have been returning truncated values. 153 154.. 155 156.. bpo: 14420 157.. date: 8990 158.. nonce: uknqaC 159.. section: Core and Builtins 160 161Support the full DWORD (unsigned long) range in Py2Reg when passed a 162REG_DWORD value. Fixes ValueError in winreg.SetValueEx when given a long. 163 164.. 165 166.. bpo: 13863 167.. date: 8989 168.. nonce: jfoNlP 169.. section: Core and Builtins 170 171Work around buggy 'fstat' implementation on Windows / NTFS that lead to 172incorrect timestamps (off by one hour) being stored in .pyc files on some 173systems. 174 175.. 176 177.. bpo: 16602 178.. date: 8988 179.. nonce: FjnLTD 180.. section: Core and Builtins 181 182When a weakref's target was part of a long deallocation chain, the object 183could remain reachable through its weakref even though its refcount had 184dropped to zero. 185 186.. 187 188.. bpo: 9011 189.. date: 8987 190.. nonce: ENWTWf 191.. section: Core and Builtins 192 193Fix hacky AST code that modified the CST when compiling a negated numeric 194literal. 195 196.. 197 198.. bpo: 16306 199.. date: 8986 200.. nonce: H29SXn 201.. section: Core and Builtins 202 203Fix multiple error messages when unknown command line parameters where 204passed to the interpreter. Patch by Hieu Nguyen. 205 206.. 207 208.. bpo: 15379 209.. date: 8985 210.. nonce: Ix2NTb 211.. section: Core and Builtins 212 213Fix passing of non-BMP characters as integers for the charmap decoder 214(already working as unicode strings). Patch by Serhiy Storchaka. 215 216.. 217 218.. bpo: 16453 219.. date: 8984 220.. nonce: 0Zm9en 221.. section: Core and Builtins 222 223Fix equality testing of dead weakref objects. 224 225.. 226 227.. bpo: 9535 228.. date: 8983 229.. nonce: hkixPD 230.. section: Core and Builtins 231 232Fix pending signals that have been received but not yet handled by Python to 233not persist after os.fork() in the child process. 234 235.. 236 237.. bpo: 15001 238.. date: 8982 239.. nonce: oD3gtX 240.. section: Core and Builtins 241 242fix segfault on "del sys.modules['__main__']". Patch by Victor Stinner. 243 244.. 245 246.. bpo: 5057 247.. date: 8981 248.. nonce: 5HFeht 249.. section: Core and Builtins 250 251the peepholer no longer optimizes subscription on unicode literals (e.g. 252u'foo'[0]) in order to produce compatible pyc files between narrow and wide 253builds. 254 255.. 256 257.. bpo: 8401 258.. date: 8980 259.. nonce: TslRZr 260.. section: Core and Builtins 261 262assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error. 263 264.. 265 266.. bpo: 14700 267.. date: 8979 268.. nonce: 1hIs61 269.. section: Core and Builtins 270 271Fix buggy overflow checks for large width and precision in string formatting 272operations. 273 274.. 275 276.. bpo: 16345 277.. date: 8978 278.. nonce: azvPpP 279.. section: Core and Builtins 280 281Fix an infinite loop when ``fromkeys`` on a dict subclass received a 282nonempty dict from the constructor. 283 284.. 285 286.. bpo: 6074 287.. date: 8977 288.. nonce: CXlveH 289.. section: Core and Builtins 290 291Ensure cached bytecode files can always be updated by the user that created 292them, even when the source file is read-only. 293 294.. 295 296.. bpo: 14783 297.. date: 8976 298.. nonce: Sk4dfh 299.. section: Core and Builtins 300 301Improve int() and long() docstrings and switch docstrings for unicode(), 302slice(), range(), and xrange() to use multi-line signatures. 303 304.. 305 306.. bpo: 16030 307.. date: 8975 308.. nonce: ljwmkM 309.. section: Core and Builtins 310 311Fix overflow bug in computing the `repr` of an xrange object with large 312start, step or length. 313 314.. 315 316.. bpo: 16029 317.. date: 8974 318.. nonce: zGzl68 319.. section: Core and Builtins 320 321Fix overflow bug occurring when pickling xranges with large start, step or 322length. 323 324.. 325 326.. bpo: 16037 327.. date: 8973 328.. nonce: tA7cA2 329.. section: Core and Builtins 330 331Limit httplib's _read_status() function to work around broken HTTP servers 332and reduce memory usage. It's actually a backport of a Python 3.2 fix. 333Thanks to Adrien Kunysz. 334 335.. 336 337.. bpo: 16588 338.. date: 8972 339.. nonce: YKgxOa 340.. section: Core and Builtins 341 342Silence unused-but-set warnings in Python/thread_pthread 343 344.. 345 346.. bpo: 13992 347.. date: 8971 348.. nonce: Jasaf2 349.. section: Core and Builtins 350 351The trashcan mechanism is now thread-safe. This eliminates sporadic crashes 352in multi-thread programs when several long deallocator chains ran 353concurrently and involved subclasses of built-in container types. 354 355.. 356 357.. bpo: 15801 358.. date: 8970 359.. nonce: gpcQV3 360.. section: Core and Builtins 361 362Make sure mappings passed to '%' formatting are actually subscriptable. 363 364.. 365 366.. bpo: 15604 367.. date: 8969 368.. nonce: q1V3sc 369.. section: Core and Builtins 370 371Update uses of PyObject_IsTrue() to check for and handle errors correctly. 372Patch by Serhiy Storchaka. 373 374.. 375 376.. bpo: 14579 377.. date: 8968 378.. nonce: Bcg1J1 379.. section: Core and Builtins 380 381Fix error handling bug in the utf-16 decoder. Patch by Serhiy Storchaka. 382 383.. 384 385.. bpo: 15368 386.. date: 8967 387.. nonce: iAaiat 388.. section: Core and Builtins 389 390An issue that caused bytecode generation to be non-deterministic when using 391randomized hashing (-R) has been fixed. 392 393.. 394 395.. bpo: 15897 396.. date: 8966 397.. nonce: GQpoBE 398.. section: Core and Builtins 399 400zipimport.c doesn't check return value of fseek(). Patch by Felipe Cruz. 401 402.. 403 404.. bpo: 16369 405.. date: 8965 406.. nonce: GtRTux 407.. section: Core and Builtins 408 409Global PyTypeObjects not initialized with PyType_Ready(...). 410 411.. 412 413.. bpo: 15033 414.. date: 8964 415.. nonce: gKl1Eg 416.. section: Core and Builtins 417 418Fix the exit status bug when modules invoked using -m switch, return the 419proper failure return value (1). Patch contributed by Jeff Knupp. 420 421.. 422 423.. bpo: 12268 424.. date: 8963 425.. nonce: 6mnsQI 426.. section: Core and Builtins 427 428File readline, readlines and read() methods no longer lose data when an 429underlying read system call is interrupted. IOError is no longer raised due 430to a read system call returning EINTR from within these methods. 431 432.. 433 434.. bpo: 13512 435.. date: 8962 436.. nonce: KW8Du9 437.. section: Core and Builtins 438 439Create ~/.pypirc securely (CVE-2011-4944). Initial patch by Philip Jenvey, 440tested by Mageia and Debian. 441 442.. 443 444.. bpo: 7719 445.. date: 8961 446.. nonce: O-kdp6 447.. section: Core and Builtins 448 449Make distutils ignore ``.nfs*`` files instead of choking later on. Initial 450patch by SilentGhost and Jeff Ramnani. 451 452.. 453 454.. bpo: 10053 455.. date: 8960 456.. nonce: rOxp0i 457.. section: Core and Builtins 458 459Don't close FDs when FileIO.__init__ fails. Loosely based on the work by 460Hirokazu Yamamoto. 461 462.. 463 464.. bpo: 14775 465.. date: 8959 466.. nonce: AHE3Lc 467.. section: Core and Builtins 468 469Fix a potential quadratic dict build-up due to the garbage collector 470repeatedly trying to untrack dicts. 471 472.. 473 474.. bpo: 14494 475.. date: 8958 476.. nonce: OjJqfu 477.. section: Core and Builtins 478 479Fix __future__.py and its documentation to note that absolute imports are 480the default behavior in 3.0 instead of 2.7. Patch by Sven Marnach. 481 482.. 483 484.. bpo: 14761 485.. date: 8957 486.. nonce: A8TEE6 487.. section: Core and Builtins 488 489Fix potential leak on an error case in the import machinery. 490 491.. 492 493.. bpo: 14699 494.. date: 8956 495.. nonce: AuoeMs 496.. section: Core and Builtins 497 498Fix calling the classmethod descriptor directly. 499 500.. 501 502.. bpo: 11603 503.. date: 8955 504.. nonce: aGsFsn 505.. section: Core and Builtins 506 507Setting __repr__ to __str__ now raises a RuntimeError when repr() or str() 508is called on such an object. 509 510.. 511 512.. bpo: 14658 513.. date: 8954 514.. nonce: jeSkqL 515.. section: Core and Builtins 516 517Fix binding a special method to a builtin implementation of a special method 518with a different name. 519 520.. 521 522.. bpo: 14612 523.. date: 8953 524.. nonce: uTBlpg 525.. section: Core and Builtins 526 527Fix jumping around with blocks by setting f_lineno. 528 529.. 530 531.. bpo: 13889 532.. date: 8952 533.. nonce: 5jUbDL 534.. section: Core and Builtins 535 536Check and (if necessary) set FPU control word before calling any of the 537dtoa.c string <-> float conversion functions, on MSVC builds of Python. 538This fixes issues when embedding Python in a Delphi app. 539 540.. 541 542.. bpo: 14505 543.. date: 8951 544.. nonce: oeGD4J 545.. section: Core and Builtins 546 547Fix file descriptor leak when deallocating file objects created with 548PyFile_FromString(). 549 550.. 551 552.. bpo: 14474 553.. date: 8950 554.. nonce: 8TuKNN 555.. section: Core and Builtins 556 557Save and restore exception state in thread.start_new_thread() while writing 558error message if the thread leaves an unhandled exception. 559 560.. 561 562.. bpo: 13019 563.. date: 8949 564.. nonce: LYHgJO 565.. section: Core and Builtins 566 567Fix potential reference leaks in bytearray.extend(). Patch by Suman Saha. 568 569.. 570 571.. bpo: 14378 572.. date: 8948 573.. nonce: SYESoz 574.. section: Core and Builtins 575 576Fix compiling ast.ImportFrom nodes with a "__future__" string as the module 577name that was not interned. 578 579.. 580 581.. bpo: 14331 582.. date: 8947 583.. nonce: xcTH6m 584.. section: Core and Builtins 585 586Use significantly less stack space when importing modules by allocating path 587buffers on the heap instead of the stack. 588 589.. 590 591.. bpo: 14334 592.. date: 8946 593.. nonce: l8YQhg 594.. section: Core and Builtins 595 596Prevent in a segfault in type.__getattribute__ when it was not passed 597strings. Also fix segfaults in the __getattribute__ and __setattr__ methods 598of old-style classes. 599 600.. 601 602.. bpo: 14161 603.. date: 8945 604.. nonce: VorA5N 605.. section: Core and Builtins 606 607fix the __repr__ of file objects to escape the file name. 608 609.. 610 611.. bpo: 1469629 612.. date: 8944 613.. nonce: ej86Z- 614.. section: Core and Builtins 615 616Allow cycles through an object's __dict__ slot to be collected. (For example 617if ``x.__dict__ is x``). 618 619.. 620 621.. bpo: 13521 622.. date: 8943 623.. nonce: L_inbK 624.. section: Core and Builtins 625 626dict.setdefault() now does only one lookup for the given key, making it 627"atomic" for many purposes. Patch by Filip Gruszczyński. 628 629.. 630 631.. bpo: 1602133 632.. date: 8942 633.. nonce: lYqpUo 634.. section: Core and Builtins 635 636on Mac OS X a shared library build (``--enable-shared``) now fills the 637``os.environ`` variable correctly. 638 639.. 640 641.. bpo: 10538 642.. date: 8941 643.. nonce: F7Gerr 644.. section: Core and Builtins 645 646When using the "s*" code with PyArg_ParseTuple() to fill a Py_buffer 647structure with data from an object supporting only the old PyBuffer 648interface, a reference to the source objects is now properly added to the 649Py_buffer.obj member. 650 651.. 652 653.. bpo: 12718 654.. date: 8940 655.. nonce: lrGueo 656.. section: Library 657 658Fix interaction with winpdb overriding __import__ by setting importer 659attribute on BaseConfigurator instance. 660 661.. 662 663.. bpo: 17521 664.. date: 8939 665.. nonce: rDGKe7 666.. section: Library 667 668Corrected non-enabling of logger following two calls to fileConfig(). 669 670.. 671 672.. bpo: 17508 673.. date: 8938 674.. nonce: sO6qmY 675.. section: Library 676 677Corrected MemoryHandler configuration in dictConfig() where the target 678handler wasn't configured first. 679 680.. 681 682.. bpo: 10212 683.. date: 8937 684.. nonce: XGXAQQ 685.. section: Library 686 687cStringIO and struct.unpack support new buffer objects. 688 689.. 690 691.. bpo: 12098 692.. date: 8936 693.. nonce: kcQpDY 694.. section: Library 695 696multiprocessing on Windows now starts child processes using the same 697sys.flags as the current process. Initial patch by Sergey Mezentsev. 698 699.. 700 701.. bpo: 8862 702.. date: 8935 703.. nonce: WpBti_ 704.. section: Library 705 706Fixed curses cleanup when getkey is interrupted by a signal. 707 708.. 709 710.. bpo: 9090 711.. date: 8934 712.. nonce: FUyySi 713.. section: Library 714 715When a socket with a timeout fails with EWOULDBLOCK or EAGAIN, retry the 716select() loop instead of bailing out. This is because select() can 717incorrectly report a socket as ready for reading (for example, if it 718received some data with an invalid checksum). 719 720.. 721 722.. bpo: 1285086 723.. date: 8933 724.. nonce: U7ONBL 725.. section: Library 726 727Get rid of the refcounting hack and speed up urllib.unquote(). 728 729.. 730 731.. bpo: 17368 732.. date: 8932 733.. nonce: y8QiJd 734.. section: Library 735 736Fix an off-by-one error in the Python JSON decoder that caused a failure 737while decoding empty object literals when object_pairs_hook was specified. 738 739.. 740 741.. bpo: 17278 742.. date: 8931 743.. nonce: pOF4An 744.. section: Library 745 746Fix a crash in heapq.heappush() and heapq.heappop() when the list is being 747resized concurrently. 748 749.. 750 751.. bpo: 17018 752.. date: 8930 753.. nonce: l8_sa8 754.. section: Library 755 756Make Process.join() retry if os.waitpid() fails with EINTR. 757 758.. 759 760.. bpo: 14720 761.. date: 8929 762.. nonce: rjT0OJ 763.. section: Library 764 765sqlite3: Convert datetime microseconds correctly. Patch by Lowe Thiderman. 766 767.. 768 769.. bpo: 17225 770.. date: 8928 771.. nonce: Z396fN 772.. section: Library 773 774JSON decoder now counts columns in the first line starting with 1, as in 775other lines. 776 777.. 778 779.. bpo: 7842 780.. date: 8927 781.. nonce: p2kMAC 782.. section: Library 783 784backported fix for py_compile.compile() syntax error handling. 785 786.. 787 788.. bpo: 13153 789.. date: 8926 790.. nonce: IN7Ddm 791.. section: Library 792 793Tkinter functions now raise TclError instead of ValueError when a unicode 794argument contains non-BMP character. 795 796.. 797 798.. bpo: 9669 799.. date: 8925 800.. nonce: Td9alB 801.. section: Library 802 803Protect re against infinite loops on zero-width matching in non-greedy 804repeat. Patch by Matthew Barnett. 805 806.. 807 808.. bpo: 13169 809.. date: 8924 810.. nonce: txDMgH 811.. section: Library 812 813The maximal repetition number in a regular expression has been increased 814from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit). 815 816.. 817 818.. bpo: 16743 819.. date: 8923 820.. nonce: 7vwfDN 821.. section: Library 822 823Fix mmap overflow check on 32 bit Windows. 824 825.. 826 827.. bpo: 11311 828.. date: 8922 829.. nonce: NvgObQ 830.. section: Library 831 832StringIO.readline(0) now returns an empty string as all other file-like 833objects. 834 835.. 836 837.. bpo: 16800 838.. date: 8921 839.. nonce: HxSo58 840.. section: Library 841 842tempfile.gettempdir() no longer left temporary files when the disk is full. 843Original patch by Amir Szekely. 844 845.. 846 847.. bpo: 13555 848.. date: 8920 849.. nonce: bXG1a4 850.. section: Library 851 852cPickle now supports files larger than 2 GiB. 853 854.. 855 856.. bpo: 17052 857.. date: 8919 858.. nonce: TEWdzQ 859.. section: Library 860 861unittest discovery should use self.testLoader. 862 863.. 864 865.. bpo: 4591 866.. date: 8918 867.. nonce: 9wJlD8 868.. section: Library 869 870Uid and gid values larger than 2**31 are supported now. 871 872.. 873 874.. bpo: 17141 875.. date: 8917 876.. nonce: pXFICp 877.. section: Library 878 879random.vonmisesvariate() no more hangs for large kappas. 880 881.. 882 883.. bpo: 17149 884.. date: 8916 885.. nonce: ONtJnJ 886.. section: Library 887 888Fix random.vonmisesvariate to always return results in the range [0, 8892*math.pi]. 890 891.. 892 893.. bpo: 1470548 894.. date: 8915 895.. nonce: xr_CsJ 896.. section: Library 897 898XMLGenerator now works with UTF-16 and UTF-32 encodings. 899 900.. 901 902.. bpo: 6975 903.. date: 8914 904.. nonce: 4GoPXW 905.. section: Library 906 907os.path.realpath() now correctly resolves multiple nested symlinks on POSIX 908platforms. 909 910.. 911 912.. bpo: 7358 913.. date: 8913 914.. nonce: -jPlTz 915.. section: Library 916 917cStringIO.StringIO now supports writing to and reading from a stream larger 918than 2 GiB on 64-bit systems. 919 920.. 921 922.. bpo: 10355 923.. date: 8912 924.. nonce: lkhqo9 925.. section: Library 926 927In SpooledTemporaryFile class mode and name properties and xreadlines method 928now work for unrolled files. encoding and newlines properties now removed 929as they have no sense and always produced AttributeError. 930 931.. 932 933.. bpo: 16686 934.. date: 8911 935.. nonce: zT_bpe 936.. section: Library 937 938Fixed a lot of bugs in audioop module. Fixed crashes in avgpp(), maxpp() 939and ratecv(). Fixed an integer overflow in add(), bias(), and ratecv(). 940reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples. 941max() and rms() no more returns a negative result and various other 942functions now work correctly with 32-bit sample -0x80000000. 943 944.. 945 946.. bpo: 17073 947.. date: 8910 948.. nonce: wlCar1 949.. section: Library 950 951Fix some integer overflows in sqlite3 module. 952 953.. 954 955.. bpo: 6083 956.. date: 8909 957.. nonce: MVAIwI 958.. section: Library 959 960Fix multiple segmentation faults occurred when PyArg_ParseTuple parses 961nested mutating sequence. 962 963.. 964 965.. bpo: 5289 966.. date: 8908 967.. nonce: 4azz2m 968.. section: Library 969 970Fix ctypes.util.find_library on Solaris. 971 972.. 973 974.. bpo: 17106 975.. date: 8907 976.. nonce: -2_cbV 977.. section: Library 978 979Fix a segmentation fault in io.TextIOWrapper when an underlying stream or a 980decoder produces data of an unexpected type (i.e. when io.TextIOWrapper 981initialized with text stream or use bytes-to-bytes codec). 982 983.. 984 985.. bpo: 13994 986.. date: 8906 987.. nonce: Y89GZB 988.. section: Library 989 990Add compatibility alias in distutils.ccompiler for 991distutils.sysconfig.customize_compiler. 992 993.. 994 995.. bpo: 15633 996.. date: 8905 997.. nonce: t407yZ 998.. section: Library 999 1000httplib.HTTPResponse is now mark closed when the server sends less than the 1001advertised Content-Length. 1002 1003.. 1004 1005.. bpo: 15881 1006.. date: 8904 1007.. nonce: UfzKmP 1008.. section: Library 1009 1010Fixed atexit hook in multiprocessing. 1011 1012.. 1013 1014.. bpo: 14340 1015.. date: 8903 1016.. nonce: 6XMfoZ 1017.. section: Library 1018 1019Upgrade the embedded expat library to version 2.1.0. 1020 1021.. 1022 1023.. bpo: 11159 1024.. date: 8902 1025.. nonce: P-3Mf3 1026.. section: Library 1027 1028SAX parser now supports unicode file names. 1029 1030.. 1031 1032.. bpo: 6972 1033.. date: 8901 1034.. nonce: e2Lq4T 1035.. section: Library 1036 1037The zipfile module no longer overwrites files outside of its destination 1038path when extracting malicious zip files. 1039 1040.. 1041 1042.. bpo: 17049 1043.. date: 8900 1044.. nonce: CoOx8W 1045.. section: Library 1046 1047Localized calendar methods now return unicode if a locale includes an 1048encoding and the result string contains month or weekday (was regression 1049from Python 2.6). 1050 1051.. 1052 1053.. bpo: 4844 1054.. date: 8899 1055.. nonce: jvXWfL 1056.. section: Library 1057 1058ZipFile now raises BadZipfile when opens a ZIP file with an incomplete "End 1059of Central Directory" record. Original patch by Guilherme Polo and Alan 1060McIntyre. 1061 1062.. 1063 1064.. bpo: 15505 1065.. date: 8898 1066.. nonce: -pH9Mh 1067.. section: Library 1068 1069`unittest.installHandler` no longer assumes SIGINT handler is set to a 1070callable object. 1071 1072.. 1073 1074.. bpo: 17051 1075.. date: 8897 1076.. nonce: erKg1U 1077.. section: Library 1078 1079Fix a memory leak in os.path.isdir() on Windows. Patch by Robert Xiao. 1080 1081.. 1082 1083.. bpo: 13454 1084.. date: 8896 1085.. nonce: 81rUI- 1086.. section: Library 1087 1088Fix a crash when deleting an iterator created by itertools.tee() if all 1089other iterators were very advanced before. 1090 1091.. 1092 1093.. bpo: 16992 1094.. date: 8895 1095.. nonce: s_RXIM 1096.. section: Library 1097 1098On Windows in signal.set_wakeup_fd, validate the file descriptor argument. 1099 1100.. 1101 1102.. bpo: 15861 1103.. date: 8894 1104.. nonce: gGkxCM 1105.. section: Library 1106 1107tkinter now correctly works with lists and tuples containing strings with 1108whitespaces, backslashes or unbalanced braces. 1109 1110.. 1111 1112.. bpo: 10527 1113.. date: 8893 1114.. nonce: EuNKip 1115.. section: Library 1116 1117Use poll() instead of select() for multiprocessing pipes. 1118 1119.. 1120 1121.. bpo: 9720 1122.. date: 8892 1123.. nonce: XPXDks 1124.. section: Library 1125 1126zipfile now writes correct local headers for files larger than 4 GiB. 1127 1128.. 1129 1130.. bpo: 13899 1131.. date: 8891 1132.. nonce: yz3hXA 1133.. section: Library 1134 1135\A, \Z, and \B now correctly match the A, Z, and B literals when used inside 1136character classes (e.g. '[\A]'). Patch by Matthew Barnett. 1137 1138.. 1139 1140.. bpo: 16398 1141.. date: 8890 1142.. nonce: JU7cL4 1143.. section: Library 1144 1145Optimize deque.rotate() so that it only moves pointers and doesn't touch the 1146underlying data with increfs and decrefs. 1147 1148.. 1149 1150.. bpo: 15109 1151.. date: 8889 1152.. nonce: Qk6XVt 1153.. section: Library 1154 1155Fix regression in sqlite3's iterdump method where it would die with an 1156encoding error if the database contained string values containing non-ASCII. 1157(Regression was introduced by fix for 9750). 1158 1159.. 1160 1161.. bpo: 15545 1162.. date: 8888 1163.. nonce: FCBNNV 1164.. section: Library 1165 1166Fix regression in sqlite3's iterdump method where it was failing if the 1167connection used a row factory (such as sqlite3.Row) that produced unsortable 1168objects. (Regression was introduced by fix for 9750). 1169 1170.. 1171 1172.. bpo: 16828 1173.. date: 8887 1174.. nonce: KB886T 1175.. section: Library 1176 1177Fix error incorrectly raised by bz2.compress(''). Patch by Martin Packman. 1178 1179.. 1180 1181.. bpo: 9586 1182.. date: 8886 1183.. nonce: 9tuKgR 1184.. section: Library 1185 1186Redefine SEM_FAILED on MacOSX to keep compiler happy. 1187 1188.. 1189 1190.. bpo: 10527 1191.. date: 8885 1192.. nonce: 7btVvN 1193.. section: Library 1194 1195make multiprocessing use poll() instead of select() if available. 1196 1197.. 1198 1199.. bpo: 16485 1200.. date: 8884 1201.. nonce: aUJyTZ 1202.. section: Library 1203 1204Now file descriptors are closed if file header patching failed on closing an 1205aifc file. 1206 1207.. 1208 1209.. bpo: 12065 1210.. date: 8883 1211.. nonce: FBZpyD 1212.. section: Library 1213 1214connect_ex() on an SSL socket now returns the original errno when the 1215socket's timeout expires (it used to return None). 1216 1217.. 1218 1219.. bpo: 16713 1220.. date: 8882 1221.. nonce: YX5wyQ 1222.. section: Library 1223 1224Fix the parsing of tel url with params using urlparse module. 1225 1226.. 1227 1228.. bpo: 16443 1229.. date: 8881 1230.. nonce: SnGosi 1231.. section: Library 1232 1233Add docstrings to regular expression match objects. Patch by Anton Kasyanov. 1234 1235.. 1236 1237.. bpo: 8853 1238.. date: 8880 1239.. nonce: vSQPAG 1240.. section: Library 1241 1242Allow port to be of type long for socket.getaddrinfo(). 1243 1244.. 1245 1246.. bpo: 16597 1247.. date: 8879 1248.. nonce: z8uMEN 1249.. section: Library 1250 1251In buffered and text IO, call close() on the underlying stream if invoking 1252flush() fails. 1253 1254.. 1255 1256.. bpo: 15701 1257.. date: 8878 1258.. nonce: rAh1Sy 1259.. section: Library 1260 1261Fix HTTPError info method call to return the headers information. 1262 1263.. 1264 1265.. bpo: 16646 1266.. date: 8877 1267.. nonce: Tc3vsq 1268.. section: Library 1269 1270ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy 1271Storchaka) 1272 1273.. 1274 1275.. bpo: 16626 1276.. date: 8876 1277.. nonce: P9xKcu 1278.. section: Library 1279 1280Fix infinite recursion in glob.glob() on Windows when the pattern contains a 1281wildcard in the drive or UNC path. Patch by Serhiy Storchaka. 1282 1283.. 1284 1285.. bpo: 16298 1286.. date: 8875 1287.. nonce: kN3o52 1288.. section: Library 1289 1290In HTTPResponse.read(), close the socket when there is no Content-Length and 1291the incoming stream is finished. Patch by Eran Rundstein. 1292 1293.. 1294 1295.. bpo: 16248 1296.. date: 8874 1297.. nonce: yOopnt 1298.. section: Library 1299 1300Disable code execution from the user's home directory by tkinter when the -E 1301flag is passed to Python. Patch by Zachary Ware. 1302 1303.. 1304 1305.. bpo: 16628 1306.. date: 8873 1307.. nonce: qnWML3 1308.. section: Library 1309 1310Fix a memory leak in ctypes.resize(). 1311 1312.. 1313 1314.. bpo: 13614 1315.. date: 8872 1316.. nonce: buqA2j 1317.. section: Library 1318 1319Fix setup.py register failure with invalid rst in description. Patch by 1320Julien Courteau and Pierre Paul Lefebvre. 1321 1322.. 1323 1324.. bpo: 10182 1325.. date: 8871 1326.. nonce: 0nH79H 1327.. section: Library 1328 1329The re module doesn't truncate indices to 32 bits anymore. Patch by Serhiy 1330Storchaka. 1331 1332.. 1333 1334.. bpo: 16573 1335.. date: 8870 1336.. nonce: kKjx72 1337.. section: Library 1338 1339In 2to3, treat enumerate() like a consuming call, so superfluous list() 1340calls aren't added to filter(), map(), and zip() which are directly passed 1341enumerate(). 1342 1343.. 1344 1345.. bpo: 1160 1346.. date: 8869 1347.. nonce: n79fOA 1348.. section: Library 1349 1350Fix compiling large regular expressions on UCS2 builds. Patch by Serhiy 1351Storchaka. 1352 1353.. 1354 1355.. bpo: 14313 1356.. date: 8868 1357.. nonce: WpDB93 1358.. section: Library 1359 1360zipfile now raises NotImplementedError when the compression type is unknown. 1361 1362.. 1363 1364.. bpo: 16408 1365.. date: 8867 1366.. nonce: iqzks4 1367.. section: Library 1368 1369Fix file descriptors not being closed in error conditions in the zipfile 1370module. Patch by Serhiy Storchaka. 1371 1372.. 1373 1374.. bpo: 16327 1375.. date: 8866 1376.. nonce: uVAHv3 1377.. section: Library 1378 1379The subprocess module no longer leaks file descriptors used for 1380stdin/stdout/stderr pipes to the child when fork() fails. 1381 1382.. 1383 1384.. bpo: 14396 1385.. date: 8865 1386.. nonce: aUgPuV 1387.. section: Library 1388 1389Handle the odd rare case of waitpid returning 0 when not expected in 1390subprocess.Popen.wait(). 1391 1392.. 1393 1394.. bpo: 16411 1395.. date: 8864 1396.. nonce: 9Mn07O 1397.. section: Library 1398 1399Fix a bug where zlib.decompressobj().flush() might try to access 1400previously-freed memory. Patch by Serhiy Storchaka. 1401 1402.. 1403 1404.. bpo: 16350 1405.. date: 8863 1406.. nonce: b77tF6 1407.. section: Library 1408 1409zlib.decompressobj().decompress() now accumulates data from successive calls 1410after EOF in unused_data, instead of only saving the argument to the last 1411call. decompressobj().flush() now correctly sets unused_data and 1412unconsumed_tail. A bug in the handling of MemoryError when setting the 1413unconsumed_tail attribute has also been fixed. Patch by Serhiy Storchaka. 1414 1415.. 1416 1417.. bpo: 12759 1418.. date: 8862 1419.. nonce: c7p8aw 1420.. section: Library 1421 1422sre_parse now raises a proper error when the name of the group is missing. 1423Initial patch by Serhiy Storchaka. 1424 1425.. 1426 1427.. bpo: 16152 1428.. date: 8861 1429.. nonce: Lypvsp 1430.. section: Library 1431 1432fix tokenize to ignore whitespace at the end of the code when no newline is 1433found. Patch by Ned Batchelder. 1434 1435.. 1436 1437.. bpo: 16230 1438.. date: 8860 1439.. nonce: Y7XU0- 1440.. section: Library 1441 1442Fix a crash in select.select() when one of the lists changes size while 1443iterated on. Patch by Serhiy Storchaka. 1444 1445.. 1446 1447.. bpo: 16228 1448.. date: 8859 1449.. nonce: zsna-8 1450.. section: Library 1451 1452Fix a crash in the json module where a list changes size while it is being 1453encoded. Patch by Serhiy Storchaka. 1454 1455.. 1456 1457.. bpo: 14897 1458.. date: 8858 1459.. nonce: OGbALj 1460.. section: Library 1461 1462Enhance error messages of struct.pack and struct.pack_into. Patch by Matti 1463Mäki. 1464 1465.. 1466 1467.. bpo: 12890 1468.. date: 8857 1469.. nonce: kDaDxa 1470.. section: Library 1471 1472cgitb no longer prints spurious <p> tags in text mode when the logdir option 1473is specified. 1474 1475.. 1476 1477.. bpo: 14398 1478.. date: 8856 1479.. nonce: jPT4ME 1480.. section: Library 1481 1482Fix size truncation and overflow bugs in the bz2 module. 1483 1484.. 1485 1486.. bpo: 5148 1487.. date: 8855 1488.. nonce: VHoO2C 1489.. section: Library 1490 1491Ignore 'U' in mode given to gzip.open() and gzip.GzipFile(). 1492 1493.. 1494 1495.. bpo: 16220 1496.. date: 8854 1497.. nonce: KAtvbg 1498.. section: Library 1499 1500wsgiref now always calls close() on an iterable response. Patch by Brent 1501Tubbs. 1502 1503.. 1504 1505.. bpo: 16461 1506.. date: 8853 1507.. nonce: 4XLB7L 1508.. section: Library 1509 1510Wave library should be able to deal with 4GB wav files, and sample rate of 151144100 Hz. 1512 1513.. 1514 1515.. bpo: 16176 1516.. date: 8852 1517.. nonce: iZz-x5 1518.. section: Library 1519 1520Properly identify Windows 8 via platform.platform() 1521 1522.. 1523 1524.. bpo: 15756 1525.. date: 8851 1526.. nonce: cV4TEW 1527.. section: Library 1528 1529subprocess.poll() now properly handles errno.ECHILD to return a returncode 1530of 0 when the child has already exited or cannot be waited on. 1531 1532.. 1533 1534.. bpo: 12376 1535.. date: 8850 1536.. nonce: mkpQwv 1537.. section: Library 1538 1539Pass on parameters in TextTestResult.__init__ super call 1540 1541.. 1542 1543.. bpo: 15222 1544.. date: 8849 1545.. nonce: lOnn6t 1546.. section: Library 1547 1548Insert blank line after each message in mbox mailboxes 1549 1550.. 1551 1552.. bpo: 16013 1553.. date: 8848 1554.. nonce: lJImKp 1555.. section: Library 1556 1557Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy 1558Storchaka. 1559 1560.. 1561 1562.. bpo: 15421 1563.. date: 8847 1564.. nonce: SUEEPv 1565.. section: Library 1566 1567fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. 1568Patch by Cédric Krier. 1569 1570.. 1571 1572.. bpo: 15970 1573.. date: 8846 1574.. nonce: 8deo2K 1575.. section: Library 1576 1577xml.etree.ElementTree now serializes correctly the empty HTML elements 1578'meta' and 'param'. 1579 1580.. 1581 1582.. bpo: 15676 1583.. date: 8845 1584.. nonce: V_auQh 1585.. section: Library 1586 1587Now "mmap" check for empty files before doing the offset check. Patch by 1588Steven Willis. 1589 1590.. 1591 1592.. bpo: 15340 1593.. date: 8844 1594.. nonce: Aqn0c1 1595.. section: Library 1596 1597Fix importing the random module when /dev/urandom cannot be opened. This 1598was a regression caused by the hash randomization patch. 1599 1600.. 1601 1602.. bpo: 15841 1603.. date: 8843 1604.. nonce: M11nwa 1605.. section: Library 1606 1607The readable(), writable() and seekable() methods of io.BytesIO and 1608io.StringIO objects now raise ValueError when the object has been closed. 1609Patch by Alessandro Moura. 1610 1611.. 1612 1613.. bpo: 16112 1614.. date: 8842 1615.. nonce: 7UQthq 1616.. section: Library 1617 1618platform.architecture does not correctly escape argument to /usr/bin/file. 1619Patch by David Benjamin. 1620 1621.. 1622 1623.. bpo: 12776 1624.. date: 8841 1625.. nonce: MzM-xL 1626.. section: Library 1627 1628call argparse type function (specified by add_argument) only once. Before, 1629the type function was called twice in the case where the default was 1630specified and the argument was given as well. This was especially 1631problematic for the FileType type, as a default file would always be opened, 1632even if a file argument was specified on the command line. (See also: 1633bpo-11839) 1634 1635.. 1636 1637.. bpo: 15906 1638.. date: 8840 1639.. nonce: sY-Tgu 1640.. section: Library 1641 1642Fix a regression in argparse caused by the preceding change, when 1643action='append', type='str' and default=[]. 1644 1645.. 1646 1647.. bpo: 13370 1648.. date: 8839 1649.. nonce: E9RveK 1650.. section: Library 1651 1652Ensure that ctypes works on Mac OS X when Python is compiled using the clang 1653compiler 1654 1655.. 1656 1657.. bpo: 15544 1658.. date: 8838 1659.. nonce: 3QjWdU 1660.. section: Library 1661 1662Fix Decimal.__float__ to work with payload-carrying NaNs. 1663 1664.. 1665 1666.. bpo: 15199 1667.. date: 8837 1668.. nonce: iOOV1X 1669.. section: Library 1670 1671Fix JavaScript's default MIME type to application/javascript. Patch by 1672Bohuslav Kabrda. 1673 1674.. 1675 1676.. bpo: 15477 1677.. date: 8836 1678.. nonce: 9gGqPw 1679.. section: Library 1680 1681In cmath and math modules, add workaround for platforms whose 1682system-supplied log1p function doesn't respect signs of zeros. 1683 1684.. 1685 1686.. bpo: 11062 1687.. date: 8835 1688.. nonce: ZhTF21 1689.. section: Library 1690 1691Fix adding a message from file to Babyl mailbox. 1692 1693.. 1694 1695.. bpo: 15646 1696.. date: 8834 1697.. nonce: VbhKq4 1698.. section: Library 1699 1700Prevent equivalent of a fork bomb when using multiprocessing on Windows 1701without the "if __name__ == '__main__'" idiom. 1702 1703.. 1704 1705.. bpo: 15567 1706.. date: 8833 1707.. nonce: MGuZ8N 1708.. section: Library 1709 1710Fix NameError when running threading._test 1711 1712.. 1713 1714.. bpo: 15424 1715.. date: 8832 1716.. nonce: 6ZaCfJ 1717.. section: Library 1718 1719Add a __sizeof__ implementation for array objects. Patch by Ludwig Hähne. 1720 1721.. 1722 1723.. bpo: 15538 1724.. date: 8831 1725.. nonce: CJHtAs 1726.. section: Library 1727 1728Fix compilation of the getnameinfo() / getaddrinfo() emulation code. Patch 1729by Philipp Hagemeister. 1730 1731.. 1732 1733.. bpo: 12288 1734.. date: 8830 1735.. nonce: EeBUVC 1736.. section: Library 1737 1738Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog. 1739 1740.. 1741 1742.. bpo: 15489 1743.. date: 8829 1744.. nonce: P9-vH9 1745.. section: Library 1746 1747Add a __sizeof__ implementation for BytesIO objects. Patch by Serhiy 1748Storchaka. 1749 1750.. 1751 1752.. bpo: 15469 1753.. date: 8828 1754.. nonce: eFsJXX 1755.. section: Library 1756 1757Add a __sizeof__ implementation for deque objects. Patch by Serhiy 1758Storchaka. 1759 1760.. 1761 1762.. bpo: 15487 1763.. date: 8827 1764.. nonce: vtEBtw 1765.. section: Library 1766 1767Add a __sizeof__ implementation for buffered I/O objects. Patch by Serhiy 1768Storchaka. 1769 1770.. 1771 1772.. bpo: 15512 1773.. date: 8826 1774.. nonce: JO3bbV 1775.. section: Library 1776 1777Add a __sizeof__ implementation for parser. Patch by Serhiy Storchaka. 1778 1779.. 1780 1781.. bpo: 15402 1782.. date: 8825 1783.. nonce: MWs0d1 1784.. section: Library 1785 1786An issue in the struct module that caused sys.getsizeof to return incorrect 1787results for struct.Struct instances has been fixed. Initial patch by Serhiy 1788Storchaka. 1789 1790.. 1791 1792.. bpo: 15232 1793.. date: 8824 1794.. nonce: R723JW 1795.. section: Library 1796 1797when mangle_from is True, email.Generator now correctly mangles lines that 1798start with 'From ' that occur in a MIME preamble or epilog. 1799 1800.. 1801 1802.. bpo: 13922 1803.. date: 8823 1804.. nonce: mg0ypz 1805.. section: Library 1806 1807argparse no longer incorrectly strips '--'s that appear after the first one. 1808 1809.. 1810 1811.. bpo: 12353 1812.. date: 8822 1813.. nonce: S3NUQb 1814.. section: Library 1815 1816argparse now correctly handles null argument values. 1817 1818.. 1819 1820.. bpo: 6493 1821.. date: 8821 1822.. nonce: onAuOo 1823.. section: Library 1824 1825An issue in ctypes on Windows that caused structure bitfields of type 1826ctypes.c_uint32 and width 32 to incorrectly be set has been fixed. 1827 1828.. 1829 1830.. bpo: 14635 1831.. date: 8820 1832.. nonce: R89rsl 1833.. section: Library 1834 1835telnetlib will use poll() rather than select() when possible to avoid 1836failing due to the select() file descriptor limit. 1837 1838.. 1839 1840.. bpo: 15247 1841.. date: 8819 1842.. nonce: XQlOgY 1843.. section: Library 1844 1845FileIO now raises an error when given a file descriptor pointing to a 1846directory. 1847 1848.. 1849 1850.. bpo: 14591 1851.. date: 8818 1852.. nonce: WiL398 1853.. section: Library 1854 1855Fix bug in Random.jumpahead that could produce an invalid Mersenne Twister 1856state on 64-bit machines. 1857 1858.. 1859 1860.. bpo: 5346 1861.. date: 8817 1862.. nonce: KazqNd 1863.. section: Library 1864 1865Preserve permissions of mbox, MMDF and Babyl mailbox files on flush(). 1866 1867.. 1868 1869.. bpo: 15219 1870.. date: 8816 1871.. nonce: q8ah8W 1872.. section: Library 1873 1874Fix a reference leak when hashlib.new() is called with invalid parameters. 1875 1876.. 1877 1878.. bpo: 9559 1879.. date: 8815 1880.. nonce: HNrpSz 1881.. section: Library 1882 1883If messages were only added, a new file is no longer created and renamed 1884over the old file when flush() is called on an mbox, MMDF or Babyl mailbox. 1885 1886.. 1887 1888.. bpo: 14653 1889.. date: 8814 1890.. nonce: wxr1Hp 1891.. section: Library 1892 1893email.utils.mktime_tz() no longer relies on system mktime() when timezone 1894offest is supplied. 1895 1896.. 1897 1898.. bpo: 6056 1899.. date: 8813 1900.. nonce: QB7JkF 1901.. section: Library 1902 1903Make multiprocessing use setblocking(True) on the sockets it uses. Original 1904patch by J Derek Wilson. 1905 1906.. 1907 1908.. bpo: 15101 1909.. date: 8812 1910.. nonce: IWvk9X 1911.. section: Library 1912 1913Make pool finalizer avoid joining current thread. 1914 1915.. 1916 1917.. bpo: 15054 1918.. date: 8811 1919.. nonce: tE72L_ 1920.. section: Library 1921 1922A bug in tokenize.tokenize that caused string literals with 'b' and 'br' 1923prefixes to be incorrectly tokenized has been fixed. Patch by Serhiy 1924Storchaka. 1925 1926.. 1927 1928.. bpo: 15036 1929.. date: 8810 1930.. nonce: Mhm512 1931.. section: Library 1932 1933Mailbox no longer throws an error if a flush is done between operations when 1934removing or changing multiple items in mbox, MMDF, or Babyl mailboxes. 1935 1936.. 1937 1938.. bpo: 10133 1939.. date: 8809 1940.. nonce: RredST 1941.. section: Library 1942 1943Make multiprocessing deallocate buffer if socket read fails. Patch by 1944Hallvard B Furuseth. 1945 1946.. 1947 1948.. bpo: 13854 1949.. date: 8808 1950.. nonce: ms8PU3 1951.. section: Library 1952 1953Make multiprocessing properly handle non-integer non-string argument to 1954SystemExit. 1955 1956.. 1957 1958.. bpo: 12157 1959.. date: 8807 1960.. nonce: awxWQJ 1961.. section: Library 1962 1963Make pool.map() empty iterables correctly. Initial patch by mouad. 1964 1965.. 1966 1967.. bpo: 14036 1968.. date: 8806 1969.. nonce: wfrN3N 1970.. section: Library 1971 1972Add an additional check to validate that port in urlparse does not go in 1973illegal range and returns None. 1974 1975.. 1976 1977.. bpo: 14888 1978.. date: 8805 1979.. nonce: 8d3GPF 1980.. section: Library 1981 1982Fix misbehaviour of the _md5 module when called on data larger than 2**32 1983bytes. 1984 1985.. 1986 1987.. bpo: 15908 1988.. date: 8804 1989.. nonce: xfD3R4 1990.. section: Library 1991 1992Fix misbehaviour of the sha1 module when called on data larger than 2**32 1993bytes. 1994 1995.. 1996 1997.. bpo: 15910 1998.. date: 8803 1999.. nonce: Xik0eY 2000.. section: Library 2001 2002Fix misbehaviour of _md5 and sha1 modules when "updating" on data larger 2003than 2**32 bytes. 2004 2005.. 2006 2007.. bpo: 14875 2008.. date: 8802 2009.. nonce: pGNN-W 2010.. section: Library 2011 2012Use float('inf') instead of float('1e66666') in the json module. 2013 2014.. 2015 2016.. bpo: 14572 2017.. date: 8801 2018.. nonce: FxInwF 2019.. section: Library 2020 2021Prevent build failures with pre-3.5.0 versions of sqlite3, such as was 2022shipped with Centos 5 and Mac OS X 10.4. 2023 2024.. 2025 2026.. bpo: 14426 2027.. date: 8800 2028.. nonce: GSay45 2029.. section: Library 2030 2031Correct the Date format in Expires attribute of Set-Cookie Header in 2032Cookie.py. 2033 2034.. 2035 2036.. bpo: 14721 2037.. date: 8799 2038.. nonce: 3gDakm 2039.. section: Library 2040 2041Send proper header, Content-length: 0 when the body is an empty string ''. 2042Initial Patch contributed by Arve Knudsen. 2043 2044.. 2045 2046.. bpo: 14072 2047.. date: 8798 2048.. nonce: 4bVZye 2049.. section: Library 2050 2051Fix parsing of 'tel' URIs in urlparse by making the check for ports 2052stricter. 2053 2054.. 2055 2056.. bpo: 9374 2057.. date: 8797 2058.. nonce: 73g_V_ 2059.. section: Library 2060 2061Generic parsing of query and fragment portions of url for any scheme. 2062Supported both by RFC3986 and RFC2396. 2063 2064.. 2065 2066.. bpo: 14798 2067.. date: 8796 2068.. nonce: uw_PT- 2069.. section: Library 2070 2071Fix the functions in pyclbr to raise an ImportError when the first part of a 2072dotted name is not a package. Patch by Xavier de Gaye. 2073 2074.. 2075 2076.. bpo: 14832 2077.. date: 8795 2078.. nonce: ZyLvfY 2079.. section: Library 2080 2081fixed the order of the argument references in the error message produced by 2082unittest's assertItemsEqual. 2083 2084.. 2085 2086.. bpo: 14829 2087.. date: 8794 2088.. nonce: yWZKyP 2089.. section: Library 2090 2091Fix bisect issues under 64-bit Windows. 2092 2093.. 2094 2095.. bpo: 14777 2096.. date: 8793 2097.. nonce: SS0XEf 2098.. section: Library 2099 2100tkinter may return undecoded UTF-8 bytes as a string when accessing the Tk 2101clipboard. Modify clipboard_get() to first request type UTF8_STRING when no 2102specific type is requested in an X11 windowing environment, falling back to 2103the current default type STRING if that fails. Original patch by Thomas 2104Kluyver. 2105 2106.. 2107 2108.. bpo: 12541 2109.. date: 8792 2110.. nonce: srvUYa 2111.. section: Library 2112 2113Be lenient with quotes around Realm field with HTTP Basic Authentation in 2114urllib2. 2115 2116.. 2117 2118.. bpo: 14662 2119.. date: 8791 2120.. nonce: kBgGen 2121.. section: Library 2122 2123Prevent shutil failures on OS X when destination does not support chflag 2124operations. Patch by Hynek Schlawack. 2125 2126.. 2127 2128.. bpo: 14157 2129.. date: 8790 2130.. nonce: QVP6vO 2131.. section: Library 2132 2133Fix time.strptime failing without a year on February 29th. Patch by Hynek 2134Schlawack. 2135 2136.. 2137 2138.. bpo: 14768 2139.. date: 8789 2140.. nonce: UFzrQa 2141.. section: Library 2142 2143os.path.expanduser('~/a') doesn't work correctly when HOME is '/'. 2144 2145.. 2146 2147.. bpo: 13183 2148.. date: 8788 2149.. nonce: WXohoU 2150.. section: Library 2151 2152Fix pdb skipping frames after hitting a breakpoint and running step. Patch 2153by Xavier de Gaye. 2154 2155.. 2156 2157.. bpo: 14664 2158.. date: 8787 2159.. nonce: pdyfQE 2160.. section: Library 2161 2162It is now possible to use @unittest.skip{If,Unless} on a test class that 2163doesn't inherit from TestCase (i.e. a mixin). 2164 2165.. 2166 2167.. bpo: 14160 2168.. date: 8786 2169.. nonce: eP9a5e 2170.. section: Library 2171 2172TarFile.extractfile() failed to resolve symbolic links when the links were 2173not located in an archive subdirectory. 2174 2175.. 2176 2177.. bpo: 14638 2178.. date: 8785 2179.. nonce: cfMimX 2180.. section: Library 2181 2182pydoc now treats non-string __name__ values as if they were missing, instead 2183of raising an error. 2184 2185.. 2186 2187.. bpo: 13684 2188.. date: 8784 2189.. nonce: GMakQh 2190.. section: Library 2191 2192Fix httplib tunnel issue of infinite loops for certain sites which send EOF 2193without trailing \r\n. 2194 2195.. 2196 2197.. bpo: 14308 2198.. date: 8783 2199.. nonce: VI_YtW 2200.. section: Library 2201 2202Fix an exception when a "dummy" thread is in the threading module's active 2203list after a fork(). 2204 2205.. 2206 2207.. bpo: 14538 2208.. date: 8782 2209.. nonce: l61eIV 2210.. section: Library 2211 2212HTMLParser can now parse correctly start tags that contain a bare '/'. 2213 2214.. 2215 2216.. bpo: 14452 2217.. date: 8781 2218.. nonce: TPNgz8 2219.. section: Library 2220 2221SysLogHandler no longer inserts a UTF-8 BOM into the message. 2222 2223.. 2224 2225.. bpo: 13496 2226.. date: 8780 2227.. nonce: ZTq6yk 2228.. section: Library 2229 2230Fix potential overflow in bisect.bisect algorithm when applied to a 2231collection of size > sys.maxsize / 2. 2232 2233.. 2234 2235.. bpo: 14399 2236.. date: 8779 2237.. nonce: ucnoq5 2238.. section: Library 2239 2240zipfile now recognizes that the archive has been modified even if only the 2241comment is changed. As a consequence of this fix, ZipFile is now a new 2242style class. 2243 2244.. 2245 2246.. bpo: 7978 2247.. date: 8778 2248.. nonce: DdYwzu 2249.. section: Library 2250 2251SocketServer now restarts the select() call when EINTR is returned. This 2252avoids crashing the server loop when a signal is received. Patch by Jerzy 2253Kozera. 2254 2255.. 2256 2257.. bpo: 10340 2258.. date: 8777 2259.. nonce: QZDDK- 2260.. section: Library 2261 2262asyncore - properly handle EINVAL in dispatcher constructor on OSX; avoid to 2263call handle_connect in case of a disconnected socket which was not meant to 2264connect. 2265 2266.. 2267 2268.. bpo: 12757 2269.. date: 8776 2270.. nonce: lfCCKo 2271.. section: Library 2272 2273Fix the skipping of doctests when python is run with -OO so that it works in 2274unittest's verbose mode as well as non-verbose mode. 2275 2276.. 2277 2278.. bpo: 13694 2279.. date: 8775 2280.. nonce: qresWC 2281.. section: Library 2282 2283asynchronous connect in asyncore.dispatcher does not set addr attribute. 2284 2285.. 2286 2287.. bpo: 10484 2288.. date: 8774 2289.. nonce: NgDSdJ 2290.. section: Library 2291 2292Fix the CGIHTTPServer's PATH_INFO handling problem. 2293 2294.. 2295 2296.. bpo: 11199 2297.. date: 8773 2298.. nonce: UMivCa 2299.. section: Library 2300 2301Fix the with urllib which hangs on particular ftp urls. 2302 2303.. 2304 2305.. bpo: 14252 2306.. date: 8772 2307.. nonce: -5zjL9 2308.. section: Library 2309 2310Fix subprocess.Popen.terminate() to not raise an error under Windows when 2311the child process has already exited. 2312 2313.. 2314 2315.. bpo: 14195 2316.. date: 8771 2317.. nonce: XpCJYQ 2318.. section: Library 2319 2320An issue that caused weakref.WeakSet instances to incorrectly return True 2321for a WeakSet instance 'a' in both 'a < a' and 'a > a' has been fixed. 2322 2323.. 2324 2325.. bpo: 14159 2326.. date: 8770 2327.. nonce: -rJiOd 2328.. section: Library 2329 2330Fix the len() of weak sets to return a better approximation when some 2331objects are dead or dying. Moreover, the implementation is now O(1) rather 2332than O(n). 2333 2334.. 2335 2336.. bpo: 2945 2337.. date: 8769 2338.. nonce: QZCfeH 2339.. section: Library 2340 2341Make the distutils upload command aware of bdist_rpm products. 2342 2343.. 2344 2345.. bpo: 6884 2346.. date: 8768 2347.. nonce: w-DWFF 2348.. section: Library 2349 2350Fix long-standing bugs with MANIFEST.in parsing in distutils on Windows. 2351 2352.. 2353 2354.. bpo: 16441 2355.. date: 8767 2356.. nonce: zm1gad 2357.. section: Library 2358 2359Avoid excessive memory usage working with large gzip files using the gzip 2360module. 2361 2362.. 2363 2364.. bpo: 15782 2365.. date: 8766 2366.. nonce: c-rtHz 2367.. section: Library 2368 2369Prevent compile errors of OS X Carbon modules _Fm, _Qd, and _Qdoffs when 2370compiling with an SDK of 10.7 or later. The OS X APIs they wrap have long 2371been deprecated and have now been removed with 10.7. These modules were 2372already empty for 64-bit builds and have been removed in Python 3. 2373 2374.. 2375 2376.. bpo: 17477 2377.. date: 8765 2378.. nonce: mkozKG 2379.. section: Library 2380 2381Update the bsddb module to pybsddb 5.3.0, supporting db-5.x, and dropping 2382support for db-4.1 and db-4.2. 2383 2384.. 2385 2386.. bpo: 17192 2387.. date: 8764 2388.. nonce: U0oKFo 2389.. section: Library 2390 2391Update the ctypes module's libffi to v3.0.13. This specifically addresses a 2392stack misalignment issue on x86 and issues on some more recent platforms. 2393 2394.. 2395 2396.. bpo: 12268 2397.. date: 8763 2398.. nonce: cWvcGA 2399.. section: Library 2400 2401The io module file object write methods no longer abort early when a write 2402system calls is interrupted (EINTR). 2403 2404.. 2405 2406.. bpo: 0 2407.. date: 8762 2408.. nonce: R41GNw 2409.. section: Library 2410 2411Fix the leak of a dict in the time module when used in an embedded 2412interpreter that is repeatedly initialized and shutdown and reinitialized. 2413 2414.. 2415 2416.. bpo: 12268 2417.. date: 8761 2418.. nonce: _DnsP2 2419.. section: Library 2420 2421File readline, readlines and read or readall methods no longer lose data 2422when an underlying read system call is interrupted within an io module 2423object. IOError is no longer raised due to a read system call returning 2424EINTR from within these methods. 2425 2426.. 2427 2428.. bpo: 16012 2429.. date: 8760 2430.. nonce: O3e6G- 2431.. section: Library 2432 2433Fix a regression in pyexpat. The parser's UseForeignDTD() method doesn't 2434require an argument again. 2435 2436.. 2437 2438.. bpo: 13590 2439.. date: 8759 2440.. nonce: 1aEwh4 2441.. section: Library 2442 2443OS X Xcode 4 - improve support for universal extension modules In 2444particular, fix extension module build failures when trying to use 244532-bit-only installer Pythons on systems with Xcode 4 (currently OS X 10.8, 10.7, 2446and optionally 10.6). * Backport 3.3.0 fixes to 2.7 branch (for release in 24472.7.4) * Since Xcode 4 removes ppc support, extension module builds now 2448check for ppc compiler support and by default remove ppc and ppc64 archs 2449when they are not available. * Extension module builds now revert to using 2450system installed headers and libs (/usr and /System/Library) if the SDK 2451used to build the interpreter is not installed or has moved. * Try to 2452avoid building extension modules with deprecated and problematic Apple 2453llvm-gcc compiler. If original compiler is not available, use clang 2454instead by default. 2455 2456.. 2457 2458.. bpo: 0 2459.. date: 8758 2460.. nonce: hHxr-m 2461.. section: IDLE 2462 2463IDLE was displaying spurious SystemExit tracebacks when running scripts that 2464terminated by raising SystemExit (i.e. unittest and turtledemo). 2465 2466.. 2467 2468.. bpo: 9290 2469.. date: 8757 2470.. nonce: Msbacw 2471.. section: IDLE 2472 2473In IDLE the sys.std* streams now implement io.TextIOBase interface and 2474support all mandatory methods and properties. 2475 2476.. 2477 2478.. bpo: 16829 2479.. date: 8756 2480.. nonce: u44Uel 2481.. section: IDLE 2482 2483IDLE printing no longer fails if there are spaces or other special 2484characters in the file path. 2485 2486.. 2487 2488.. bpo: 16819 2489.. date: 8755 2490.. nonce: rcJDrk 2491.. section: IDLE 2492 2493IDLE method completion now correctly works for unicode literals. 2494 2495.. 2496 2497.. bpo: 16504 2498.. date: 8754 2499.. nonce: othtN_ 2500.. section: IDLE 2501 2502IDLE now catches SyntaxErrors raised by tokenizer. Patch by Roger Serwy. 2503 2504.. 2505 2506.. bpo: 1207589 2507.. date: 8753 2508.. nonce: 0bmiue 2509.. section: IDLE 2510 2511Add Cut/Copy/Paste items to IDLE right click Context Menu. Patch by Todd 2512Rovito. 2513 2514.. 2515 2516.. bpo: 13052 2517.. date: 8752 2518.. nonce: ulRmqo 2519.. section: IDLE 2520 2521Fix IDLE crashing when replace string in Search/Replace dialog ended with 2522'\'. Patch by Roger Serwy. 2523 2524.. 2525 2526.. bpo: 9803 2527.. date: 8751 2528.. nonce: lJhnei 2529.. section: IDLE 2530 2531Don't close IDLE on saving if breakpoint is open. Patch by Roger Serwy. 2532 2533.. 2534 2535.. bpo: 14958 2536.. date: 8750 2537.. nonce: fWA3Eh 2538.. section: IDLE 2539 2540Change IDLE systax highlighting to recognize all string and byte literals 2541currently supported in Python 2.7. 2542 2543.. 2544 2545.. bpo: 14962 2546.. date: 8749 2547.. nonce: W_t8Sw 2548.. section: IDLE 2549 2550Update text coloring in IDLE shell window after changing options. Patch by 2551Roger Serwy. 2552 2553.. 2554 2555.. bpo: 10997 2556.. date: 8748 2557.. nonce: D59Zo_ 2558.. section: IDLE 2559 2560Prevent a duplicate entry in IDLE's "Recent Files" menu. 2561 2562.. 2563 2564.. bpo: 12510 2565.. date: 8747 2566.. nonce: 5hlN77 2567.. section: IDLE 2568 2569Attempting to get invalid tooltip no longer closes IDLE. Original patch by 2570Roger Serwy. 2571 2572.. 2573 2574.. bpo: 10365 2575.. date: 8746 2576.. nonce: DI-DrH 2577.. section: IDLE 2578 2579File open dialog now works instead of crashing even when parent window is 2580closed. Patch by Roger Serwy. 2581 2582.. 2583 2584.. bpo: 14876 2585.. date: 8745 2586.. nonce: 73XqgG 2587.. section: IDLE 2588 2589Use user-selected font for highlight configuration. Patch by Roger Serwy. 2590 2591.. 2592 2593.. bpo: 14409 2594.. date: 8744 2595.. nonce: 8SNyRR 2596.. section: IDLE 2597 2598IDLE now properly executes commands in the Shell window when it cannot read 2599the normal config files on startup and has to use the built-in default key 2600bindings. There was previously a bug in one of the defaults. 2601 2602.. 2603 2604.. bpo: 3573 2605.. date: 8743 2606.. nonce: FIbWrY 2607.. section: IDLE 2608 2609IDLE hangs when passing invalid command line args (directory(ies) instead of 2610file(s)) (Patch by Guilherme Polo) 2611 2612.. 2613 2614.. bpo: 5219 2615.. date: 8742 2616.. nonce: We72rp 2617.. section: IDLE 2618 2619Prevent event handler cascade in IDLE. 2620 2621.. 2622 2623.. bpo: 15318 2624.. date: 8741 2625.. nonce: H1-iES 2626.. section: IDLE 2627 2628Prevent writing to sys.stdin. 2629 2630.. 2631 2632.. bpo: 13532 2633.. date: 8740 2634.. nonce: csNEK_ 2635.. section: IDLE 2636 2637Check that arguments to sys.stdout.write are strings. (See also: bpo-15319) 2638 2639.. 2640 2641.. bpo: 10365 2642.. date: 8739 2643.. nonce: MInibr 2644.. section: IDLE 2645 2646File open dialog now works instead of crashing even when parent window is 2647closed while dialog is open. 2648 2649.. 2650 2651.. bpo: 14018 2652.. date: 8738 2653.. nonce: HjN-7b 2654.. section: IDLE 2655 2656Update checks for unstable system Tcl/Tk versions on OS X to include 2657versions shipped with OS X 10.7 and 10.8 in addition to 10.6. 2658 2659.. 2660 2661.. bpo: 15853 2662.. date: 8737 2663.. nonce: Re1tK- 2664.. section: IDLE 2665 2666Prevent IDLE crash on OS X when opening Preferences menu with certain 2667versions of Tk 8.5. Initial patch by Kevin Walzer. 2668 2669.. 2670 2671.. bpo: 16702 2672.. date: 8736 2673.. nonce: 3Xf_t- 2674.. section: Tests 2675 2676test_urllib2_localnet tests now correctly ignores proxies for localhost 2677tests. 2678 2679.. 2680 2681.. bpo: 13447 2682.. date: 8735 2683.. nonce: _wys-6 2684.. section: Tests 2685 2686Add a test file to host regression tests for bugs in the scripts found in 2687the Tools directory. 2688 2689.. 2690 2691.. bpo: 11420 2692.. date: 8734 2693.. nonce: J5oaxT 2694.. section: Tests 2695 2696make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas 2697Wouters. 2698 2699.. 2700 2701.. bpo: 17299 2702.. date: 8733 2703.. nonce: N_JA1r 2704.. section: Tests 2705 2706Add test coverage for cPickle with file objects and general IO objects. 2707Original patch by Aman Shah. 2708 2709.. 2710 2711.. bpo: 11963 2712.. date: 8732 2713.. nonce: _g8d_g 2714.. section: Tests 2715 2716remove human verification from test_parser and test_subprocess. 2717 2718.. 2719 2720.. bpo: 17249 2721.. date: 8731 2722.. nonce: wGvw7G 2723.. section: Tests 2724 2725convert a test in test_capi to use unittest and reap threads. 2726 2727.. 2728 2729.. bpo: 0 2730.. date: 8730 2731.. nonce: eaH1rt 2732.. section: Tests 2733 2734We now run both test_email.py and test_email_renamed.py when running the 2735test_email regression test. test_email_renamed contains some tests that 2736test_email does not. 2737 2738.. 2739 2740.. bpo: 17041 2741.. date: 8729 2742.. nonce: 57V5iD 2743.. section: Tests 2744 2745Fix testing when Python is configured with the --without-doc-strings option. 2746 2747.. 2748 2749.. bpo: 15539 2750.. date: 8728 2751.. nonce: a1_G0Q 2752.. section: Tests 2753 2754Added regression tests for Tools/scripts/pindent.py. 2755 2756.. 2757 2758.. bpo: 15324 2759.. date: 8727 2760.. nonce: VlPGUN 2761.. section: Tests 2762 2763Fix regrtest parsing of --fromfile and --randomize options. 2764 2765.. 2766 2767.. bpo: 16618 2768.. date: 8726 2769.. nonce: a2Xoyn 2770.. section: Tests 2771 2772Add more regression tests for glob. Patch by Serhiy Storchaka. 2773 2774.. 2775 2776.. bpo: 16664 2777.. date: 8725 2778.. nonce: CxbZwX 2779.. section: Tests 2780 2781Add regression tests for glob's behaviour concerning entries starting with a 2782".". Patch by Sebastian Kreft. 2783 2784.. 2785 2786.. bpo: 15747 2787.. date: 8724 2788.. nonce: TE3rVk 2789.. section: Tests 2790 2791ZFS always returns EOPNOTSUPP when attempting to set the UF_IMMUTABLE flag 2792(via either chflags or lchflags); refactor affected tests in test_posix.py 2793to account for this. 2794 2795.. 2796 2797.. bpo: 16549 2798.. date: 8723 2799.. nonce: 9ENPOM 2800.. section: Tests 2801 2802Add tests for json.tools. Initial patch by Berker Peksag and Serhiy 2803Storchaka. 2804 2805.. 2806 2807.. bpo: 16559 2808.. date: 8722 2809.. nonce: JvxWbq 2810.. section: Tests 2811 2812Add more tests for the json module, including some from the official test 2813suite at json.org. Patch by Serhiy Storchaka. 2814 2815.. 2816 2817.. bpo: 16274 2818.. date: 8721 2819.. nonce: 9-uVb_ 2820.. section: Tests 2821 2822Fix test_asyncore on Solaris. Patch by Giampaolo Rodola'. 2823 2824.. 2825 2826.. bpo: 15040 2827.. date: 8720 2828.. nonce: F30TYe 2829.. section: Tests 2830 2831Close files in mailbox tests for PyPy compatibility. Original patch by Matti 2832Picus. 2833 2834.. 2835 2836.. bpo: 15802 2837.. date: 8719 2838.. nonce: Ow-zrD 2839.. section: Tests 2840 2841Fix test logic in TestMaildir.test_create_tmp. Patch by Serhiy Storchaka. 2842 2843.. 2844 2845.. bpo: 15765 2846.. date: 8718 2847.. nonce: rH6KB2 2848.. section: Tests 2849 2850Extend a previous fix to Solaris and OpenBSD for quirky getcwd() behaviour 2851(issue #9185) to NetBSD as well. 2852 2853.. 2854 2855.. bpo: 15615 2856.. date: 8717 2857.. nonce: C9YuEt 2858.. section: Tests 2859 2860Add some tests for the json module's handling of invalid input data. Patch 2861by Kushal Das. 2862 2863.. 2864 2865.. bpo: 15496 2866.. date: 8716 2867.. nonce: tm76dD 2868.. section: Tests 2869 2870Add directory removal helpers for tests on Windows. Patch by Jeremy Kloth. 2871 2872.. 2873 2874.. bpo: 15043 2875.. date: 8715 2876.. nonce: R2j8Hb 2877.. section: Tests 2878 2879test_gdb is now skipped entirely if gdb security settings block loading of 2880the gdb hooks 2881 2882.. 2883 2884.. bpo: 14589 2885.. date: 8714 2886.. nonce: 9aNtuR 2887.. section: Tests 2888 2889Update certificate chain for sha256.tbs-internet.com, fixing a test failure 2890in test_ssl. 2891 2892.. 2893 2894.. bpo: 16698 2895.. date: 8713 2896.. nonce: RgmYjY 2897.. section: Tests 2898 2899Skip posix test_getgroups when built with OS X deployment target prior to 290010.6. 2901 2902.. 2903 2904.. bpo: 17111 2905.. date: 8712 2906.. nonce: ypc66r 2907.. section: Tests 2908 2909Prevent test_surrogates (test_fileio) failure on OS X 10.4. 2910 2911.. 2912 2913.. bpo: 17425 2914.. date: 8711 2915.. nonce: wTCSht 2916.. section: Build 2917 2918Build against openssl 0.9.8y on Windows. 2919 2920.. 2921 2922.. bpo: 16004 2923.. date: 8710 2924.. nonce: 5o_DZo 2925.. section: Build 2926 2927Add `make touch`. 2928 2929.. 2930 2931.. bpo: 5033 2932.. date: 8709 2933.. nonce: HKAgDA 2934.. section: Build 2935 2936Fix building of the sqlite3 extension module when the SQLite library version 2937has "beta" in it. Patch by Andreas Pelme. 2938 2939.. 2940 2941.. bpo: 17228 2942.. date: 8708 2943.. nonce: CCkAM0 2944.. section: Build 2945 2946Fix building without pymalloc. 2947 2948.. 2949 2950.. bpo: 17086 2951.. date: 8707 2952.. nonce: iNoopm 2953.. section: Build 2954 2955Backport the patches from the 3.3 branch to cross-build the package. 2956 2957.. 2958 2959.. bpo: 3754 2960.. date: 8706 2961.. nonce: sUdOUp 2962.. section: Build 2963 2964fix typo in pthread AC_CACHE_VAL. 2965 2966.. 2967 2968.. bpo: 17029 2969.. date: 8705 2970.. nonce: dUd1NT 2971.. section: Build 2972 2973Let h2py search the multiarch system include directory. 2974 2975.. 2976 2977.. bpo: 16953 2978.. date: 8704 2979.. nonce: tW1KVY 2980.. section: Build 2981 2982Fix socket module compilation on platforms with HAVE_BROKEN_POLL. Patch by 2983Jeffrey Armstrong. 2984 2985.. 2986 2987.. bpo: 16836 2988.. date: 8703 2989.. nonce: JZ-zO7 2990.. section: Build 2991 2992Enable IPv6 support even if IPv6 is disabled on the build host. 2993 2994.. 2995 2996.. bpo: 15923 2997.. date: 8702 2998.. nonce: PIv70V 2999.. section: Build 3000 3001fix a mistake in asdl_c.py that resulted in a TypeError after 2801bf875a24 3002(see #15801). 3003 3004.. 3005 3006.. bpo: 11715 3007.. date: 8701 3008.. nonce: M3MapP 3009.. section: Build 3010 3011Fix multiarch detection without having Debian development tools (dpkg-dev) 3012installed. 3013 3014.. 3015 3016.. bpo: 15819 3017.. date: 8700 3018.. nonce: 09XLHb 3019.. section: Build 3020 3021Make sure we can build Python out-of-tree from a readonly source directory. 3022(Somewhat related to Issue #9860.) 3023 3024.. 3025 3026.. bpo: 15822 3027.. date: 8699 3028.. nonce: aLjenQ 3029.. section: Build 3030 3031Ensure 2to3 grammar pickles are properly installed. 3032 3033.. 3034 3035.. bpo: 15560 3036.. date: 8698 3037.. nonce: I8yMU0 3038.. section: Build 3039 3040Fix building _sqlite3 extension on OS X with an SDK. 3041 3042.. 3043 3044.. bpo: 8847 3045.. date: 8697 3046.. nonce: lqI_r8 3047.. section: Build 3048 3049Disable COMDAT folding in Windows PGO builds. 3050 3051.. 3052 3053.. bpo: 14018 3054.. date: 8696 3055.. nonce: RHawO_ 3056.. section: Build 3057 3058Fix OS X Tcl/Tk framework checking when using OS X SDKs. 3059 3060.. 3061 3062.. bpo: 16256 3063.. date: 8695 3064.. nonce: vrx66r 3065.. section: Build 3066 3067OS X installer now sets correct permissions for doc directory. 3068 3069.. 3070 3071.. bpo: 8767 3072.. date: 8694 3073.. nonce: swHbgQ 3074.. section: Build 3075 3076Restore building with --disable-unicode. Patch by Stefano Taschini. 3077 3078.. 3079 3080.. bpo: 0 3081.. date: 8693 3082.. nonce: wZLzuy 3083.. section: Build 3084 3085Build against bzip2 1.0.6 and openssl 0.9.8x on Windows. 3086 3087.. 3088 3089.. bpo: 14557 3090.. date: 8692 3091.. nonce: UCbIq7 3092.. section: Build 3093 3094Fix extensions build on HP-UX. Patch by Adi Roiban. 3095 3096.. 3097 3098.. bpo: 14437 3099.. date: 8691 3100.. nonce: 61tmQt 3101.. section: Build 3102 3103Fix building the _io module under Cygwin. 3104 3105.. 3106 3107.. bpo: 15587 3108.. date: 8690 3109.. nonce: gR7vei 3110.. section: Build 3111 3112Enable Tk high-resolution text rendering on Macs with Retina displays. 3113Applies to Tkinter apps, such as IDLE, on OS X framework builds linked with 3114Cocoa Tk 8.5. 3115 3116.. 3117 3118.. bpo: 17161 3119.. date: 8689 3120.. nonce: 8Qr4fl 3121.. section: Build 3122 3123make install now also installs a python2 and python man page. 3124 3125.. 3126 3127.. bpo: 16848 3128.. date: 8688 3129.. nonce: CtyvVC 3130.. section: Build 3131 3132python-config now returns proper --ldflags values for OS X framework builds. 3133 3134.. 3135 3136.. bpo: 17156 3137.. date: 8687 3138.. nonce: iaFJiz 3139.. section: Tools/Demos 3140 3141pygettext.py now correctly escapes non-ascii characters. 3142 3143.. 3144 3145.. bpo: 15539 3146.. date: 8686 3147.. nonce: 6bqqV- 3148.. section: Tools/Demos 3149 3150Fix a number of bugs in Tools/scripts/pindent.py. Now pindent.py works with 3151a "with" statement. pindent.py no longer produces improper indentation. 3152pindent.py now works with continued lines broken after "class" or "def" 3153keywords and with continuations at the start of line. 3154 3155.. 3156 3157.. bpo: 16476 3158.. date: 8685 3159.. nonce: xAomrd 3160.. section: Tools/Demos 3161 3162Fix json.tool to avoid including trailing whitespace. 3163 3164.. 3165 3166.. bpo: 13301 3167.. date: 8684 3168.. nonce: A4WOk5 3169.. section: Tools/Demos 3170 3171use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. Patch by 3172Serhiy Storchaka. 3173 3174.. 3175 3176.. bpo: 15041 3177.. date: 8683 3178.. nonce: nMyhwF 3179.. section: Documentation 3180 3181Update "see also" list in tkinter documentation. 3182 3183.. 3184 3185.. bpo: 17412 3186.. date: 8682 3187.. nonce: 9xIwEh 3188.. section: Documentation 3189 3190update 2.7 Doc/make.bat to also use sphinx-1.0.7. 3191 3192.. 3193 3194.. bpo: 17047 3195.. date: 8681 3196.. nonce: sVzpby 3197.. section: Documentation 3198 3199remove doubled words in docs and docstrings reported by Serhiy Storchaka and 3200Matthew Barnett. 3201 3202.. 3203 3204.. bpo: 16406 3205.. date: 8680 3206.. nonce: _Z8alE 3207.. section: Documentation 3208 3209combine the pages for uploading and registering to PyPI. 3210 3211.. 3212 3213.. bpo: 16403 3214.. date: 8679 3215.. nonce: wPuYgA 3216.. section: Documentation 3217 3218Document how distutils uses the maintainer field in PKG-INFO. Patch by Jyrki 3219Pulliainen. 3220 3221.. 3222 3223.. bpo: 16695 3224.. date: 8678 3225.. nonce: O3-q4k 3226.. section: Documentation 3227 3228Document how glob handles filenames starting with a dot. Initial patch by 3229Jyrki Pulliainen. 3230 3231.. 3232 3233.. bpo: 8890 3234.. date: 8677 3235.. nonce: ldKgWT 3236.. section: Documentation 3237 3238Stop advertising an insecure practice by replacing uses of the /tmp 3239directory with better alternatives in the documentation. Patch by Geoff 3240Wilson. 3241 3242.. 3243 3244.. bpo: 17203 3245.. date: 8676 3246.. nonce: b42JWx 3247.. section: Documentation 3248 3249add long option names to unittest discovery docs. 3250 3251.. 3252 3253.. bpo: 13094 3254.. date: 8675 3255.. nonce: ujdNxz 3256.. section: Documentation 3257 3258add "Why do lambdas defined in a loop with different values all return the 3259same result?" programming FAQ. 3260 3261.. 3262 3263.. bpo: 14901 3264.. date: 8674 3265.. nonce: o_thZo 3266.. section: Documentation 3267 3268Update portions of the Windows FAQ. Patch by Ashish Nitin Patil. 3269 3270.. 3271 3272.. bpo: 15990 3273.. date: 8673 3274.. nonce: 41C5_M 3275.. section: Documentation 3276 3277Improve argument/parameter documentation. 3278 3279.. 3280 3281.. bpo: 16400 3282.. date: 8672 3283.. nonce: kDLZRV 3284.. section: Documentation 3285 3286Update the description of which versions of a given package PyPI displays. 3287 3288.. 3289 3290.. bpo: 15677 3291.. date: 8671 3292.. nonce: _0vY-h 3293.. section: Documentation 3294 3295Document that zlib and gzip accept a compression level of 0 to mean 'no 3296compression'. Patch by Brian Brazil. 3297 3298.. 3299 3300.. bpo: 8040 3301.. date: 8670 3302.. nonce: R8VAys 3303.. section: Documentation 3304 3305added a version switcher to the documentation. Patch by Yury Selivanov. 3306 3307.. 3308 3309.. bpo: 16115 3310.. date: 8669 3311.. nonce: Ba1MH_ 3312.. section: Documentation 3313 3314Improve subprocess.Popen() documentation around args, shell, and executable 3315arguments. 3316 3317.. 3318 3319.. bpo: 15979 3320.. date: 8668 3321.. nonce: UATtRZ 3322.. section: Documentation 3323 3324Improve timeit documentation. 3325 3326.. 3327 3328.. bpo: 16036 3329.. date: 8667 3330.. nonce: AGR4Am 3331.. section: Documentation 3332 3333Improve documentation of built-in int()'s signature and arguments. 3334 3335.. 3336 3337.. bpo: 15935 3338.. date: 8666 3339.. nonce: Ik7Y0z 3340.. section: Documentation 3341 3342Clarification of argparse docs, re: add_argument() type and default 3343arguments. Patch contributed by Chris Jerdonek. 3344 3345.. 3346 3347.. bpo: 13769 3348.. date: 8665 3349.. nonce: TfRtQT 3350.. section: Documentation 3351 3352Document the effect of ensure_ascii to the return type of JSON decoding 3353functions. 3354 3355.. 3356 3357.. bpo: 14880 3358.. date: 8664 3359.. nonce: bfazFx 3360.. section: Documentation 3361 3362Fix kwargs notation in csv.reader, .writer & .register_dialect. Patch by 3363Chris Rebert. 3364 3365.. 3366 3367.. bpo: 14674 3368.. date: 8663 3369.. nonce: AMOJT_ 3370.. section: Documentation 3371 3372Add a discussion of the json module's standard compliance. Patch by Chris 3373Rebert. 3374 3375.. 3376 3377.. bpo: 15630 3378.. date: 8662 3379.. nonce: ijhqyT 3380.. section: Documentation 3381 3382Add an example for "continue" stmt in the tutorial. Patch by Daniel Ellis. 3383 3384.. 3385 3386.. bpo: 13557 3387.. date: 8661 3388.. nonce: IHzHRn 3389.. section: Documentation 3390 3391Clarify effect of giving two different namespaces to exec or execfile(). 3392 3393.. 3394 3395.. bpo: 14034 3396.. date: 8660 3397.. nonce: 34GDTv 3398.. section: Documentation 3399 3400added the argparse tutorial. 3401 3402.. 3403 3404.. bpo: 15250 3405.. date: 8659 3406.. nonce: vLLPGK 3407.. section: Documentation 3408 3409Document that filecmp.dircmp compares files shallowly. Patch contributed by 3410Chris Jerdonek. 3411 3412.. 3413 3414.. bpo: 15116 3415.. date: 8658 3416.. nonce: uDQI_8 3417.. section: Documentation 3418 3419Remove references to appscript as it is no longer being supported. 3420