1.. bpo: 29781 2.. date: 2017-09-05-15-26-30 3.. nonce: LwYtBP 4.. release date: 2017-09-18 5.. section: Security 6 7SSLObject.version() now correctly returns None when handshake over BIO has 8not been performed yet. 9 10.. 11 12.. bpo: 30947 13.. date: 2017-08-16-16-35-59 14.. nonce: iNMmm4 15.. section: Security 16 17Upgrade libexpat embedded copy from version 2.2.1 to 2.2.3 to get security 18fixes. 19 20.. 21 22.. bpo: 31471 23.. date: 2017-09-14-19-47-57 24.. nonce: 0yiA5Q 25.. section: Core and Builtins 26 27Fix an assertion failure in `subprocess.Popen()` on Windows, in case the env 28argument has a bad keys() method. Patch by Oren Milman. 29 30.. 31 32.. bpo: 31418 33.. date: 2017-09-13-13-03-52 34.. nonce: rS-FlC 35.. section: Core and Builtins 36 37Fix an assertion failure in `PyErr_WriteUnraisable()` in case of an 38exception with a bad ``__module__`` attribute. Patch by Oren Milman. 39 40.. 41 42.. bpo: 31416 43.. date: 2017-09-11-12-54-35 44.. nonce: 2hlQFd 45.. section: Core and Builtins 46 47Fix assertion failures in case of a bad warnings.filters or 48warnings.defaultaction. Patch by Oren Milman. 49 50.. 51 52.. bpo: 31411 53.. date: 2017-09-11-08-50-41 54.. nonce: HZz82I 55.. section: Core and Builtins 56 57Raise a TypeError instead of SystemError in case warnings.onceregistry is 58not a dictionary. Patch by Oren Milman. 59 60.. 61 62.. bpo: 31373 63.. date: 2017-09-06-15-25-59 64.. nonce: dC4jd4 65.. section: Core and Builtins 66 67Fix several possible instances of undefined behavior due to floating-point 68demotions. 69 70.. 71 72.. bpo: 30465 73.. date: 2017-09-06-10-47-29 74.. nonce: oe-3GD 75.. section: Core and Builtins 76 77Location information (``lineno`` and ``col_offset``) in f-strings is now 78(mostly) correct. This fixes tools like flake8 from showing warnings on the 79wrong line (typically the first line of the file). 80 81.. 82 83.. bpo: 31343 84.. date: 2017-09-04-14-57-27 85.. nonce: Kl_fS5 86.. section: Core and Builtins 87 88Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray 89plans to remove the functions from sys/types.h. 90 91.. 92 93.. bpo: 31291 94.. date: 2017-08-28-11-51-29 95.. nonce: t8QggK 96.. section: Core and Builtins 97 98Fix an assertion failure in `zipimport.zipimporter.get_data` on Windows, 99when the return value of ``pathname.replace('/','\\')`` isn't a string. 100Patch by Oren Milman. 101 102.. 103 104.. bpo: 31271 105.. date: 2017-08-25-20-43-22 106.. nonce: YMduKF 107.. section: Core and Builtins 108 109Fix an assertion failure in the write() method of `io.TextIOWrapper`, when 110the encoder doesn't return a bytes object. Patch by Oren Milman. 111 112.. 113 114.. bpo: 31243 115.. date: 2017-08-24-13-34-49 116.. nonce: dRJzqR 117.. section: Core and Builtins 118 119Fix a crash in some methods of `io.TextIOWrapper`, when the decoder's state 120is invalid. Patch by Oren Milman. 121 122.. 123 124.. bpo: 30721 125.. date: 2017-08-18-15-15-20 126.. nonce: Hmc56z 127.. section: Core and Builtins 128 129``print`` now shows correct usage hint for using Python 2 redirection 130syntax. Patch by Sanyam Khurana. 131 132.. 133 134.. bpo: 31070 135.. date: 2017-08-09-09-40-54 136.. nonce: oDyLiI 137.. section: Core and Builtins 138 139Fix a race condition in importlib _get_module_lock(). 140 141.. 142 143.. bpo: 31095 144.. date: 2017-08-01-18-48-30 145.. nonce: bXWZDb 146.. section: Core and Builtins 147 148Fix potential crash during GC caused by ``tp_dealloc`` which doesn't call 149``PyObject_GC_UnTrack()``. 150 151.. 152 153.. bpo: 31071 154.. date: 2017-07-31-13-28-53 155.. nonce: P9UBDy 156.. section: Core and Builtins 157 158Avoid masking original TypeError in call with * unpacking when other 159arguments are passed. 160 161.. 162 163.. bpo: 30978 164.. date: 2017-07-21-07-39-05 165.. nonce: f0jODc 166.. section: Core and Builtins 167 168str.format_map() now passes key lookup exceptions through. Previously any 169exception was replaced with a KeyError exception. 170 171.. 172 173.. bpo: 30808 174.. date: 2017-07-17-12-12-59 175.. nonce: bA3zOv 176.. section: Core and Builtins 177 178Use _Py_atomic API for concurrency-sensitive signal state. 179 180.. 181 182.. bpo: 30876 183.. date: 2017-07-11-06-31-32 184.. nonce: x35jZX 185.. section: Core and Builtins 186 187Relative import from unloaded package now reimports the package instead of 188failing with SystemError. Relative import from non-package now fails with 189ImportError rather than SystemError. 190 191.. 192 193.. bpo: 30703 194.. date: 2017-06-28-21-07-32 195.. nonce: ULCdFp 196.. section: Core and Builtins 197 198Improve signal delivery. 199Avoid using Py_AddPendingCall from signal handler, to avoid calling 200signal-unsafe functions. The tests I'm adding here fail without the rest of 201the patch, on Linux and OS X. This means our signal delivery logic had 202defects (some signals could be lost). 203 204.. 205 206.. bpo: 30765 207.. date: 2017-06-26-14-29-50 208.. nonce: Q5iBmf 209.. section: Core and Builtins 210 211Avoid blocking in pthread_mutex_lock() when PyThread_acquire_lock() is asked 212not to block. 213 214.. 215 216.. bpo: 31161 217.. date: 06 218.. nonce: FcUAA0 219.. section: Core and Builtins 220 221Make sure the 'Missing parentheses' syntax error message is only applied to 222SyntaxError, not to subclasses. Patch by Martijn Pieters. 223 224.. 225 226.. bpo: 30814 227.. date: 05 228.. nonce: HcYsfM 229.. section: Core and Builtins 230 231Fixed a race condition when import a submodule from a package. 232 233.. 234 235.. bpo: 30597 236.. date: 04 237.. nonce: 7erHiP 238.. section: Core and Builtins 239 240``print`` now shows expected input in custom error message when used as a 241Python 2 statement. Patch by Sanyam Khurana. 242 243.. 244 245.. bpo: 31499 246.. date: 2017-09-18-10-57-04 247.. nonce: BydYhf 248.. section: Library 249 250xml.etree: Fix a crash when a parser is part of a reference cycle. 251 252.. 253 254.. bpo: 28556 255.. date: 2017-09-14-11-02-56 256.. nonce: EUOiYs 257.. section: Library 258 259typing.get_type_hints now finds the right globalns for classes and modules 260by default (when no ``globalns`` was specified by the caller). 261 262.. 263 264.. bpo: 28556 265.. date: 2017-09-13-23-27-39 266.. nonce: UmTQvv 267.. section: Library 268 269Speed improvements to the ``typing`` module. Original PRs by Ivan 270Levkivskyi and Mitar. 271 272.. 273 274.. bpo: 31544 275.. date: 2017-09-13-19-55-35 276.. nonce: beTh6t 277.. section: Library 278 279The C accelerator module of ElementTree ignored exceptions raised when 280looking up TreeBuilder target methods in XMLParser(). 281 282.. 283 284.. bpo: 31234 285.. date: 2017-09-13-18-05-56 286.. nonce: lGkcPg 287.. section: Library 288 289socket.create_connection() now fixes manually a reference cycle: clear the 290variable storing the last exception on success. 291 292.. 293 294.. bpo: 31457 295.. date: 2017-09-13-13-33-39 296.. nonce: bIVBtI 297.. section: Library 298 299LoggerAdapter objects can now be nested. 300 301.. 302 303.. bpo: 31400 304.. date: 2017-09-08-14-19-57 305.. nonce: YOTPKi 306.. section: Library 307 308Improves SSL error handling to avoid losing error numbers. 309 310.. 311 312.. bpo: 28958 313.. date: 2017-09-06-19-41-01 314.. nonce: x4-K5F 315.. section: Library 316 317ssl.SSLContext() now uses OpenSSL error information when a context cannot be 318instantiated. 319 320.. 321 322.. bpo: 27340 323.. date: 2017-09-06-06-50-41 324.. nonce: GgekV5 325.. section: Library 326 327SSLSocket.sendall() now uses memoryview to create slices of data. This fixes 328support for all bytes-like object. It is also more efficient and avoids 329costly copies. 330 331.. 332 333.. bpo: 31178 334.. date: 2017-09-05-14-55-28 335.. nonce: JrSFo7 336.. section: Library 337 338Fix string concatenation bug in rare error path in the subprocess module 339 340.. 341 342.. bpo: 31350 343.. date: 2017-09-05-10-30-48 344.. nonce: dXJ-7N 345.. section: Library 346 347Micro-optimize :func:`asyncio._get_running_loop` to become up to 10% faster. 348 349.. 350 351.. bpo: 31170 352.. date: 2017-09-04-23-41-35 353.. nonce: QGmJ1t 354.. section: Library 355 356expat: Update libexpat from 2.2.3 to 2.2.4. Fix copying of partial 357characters for UTF-8 input (libexpat bug 115): 358https://github.com/libexpat/libexpat/issues/115 359 360.. 361 362.. bpo: 29136 363.. date: 2017-09-04-16-39-49 364.. nonce: vSn1oR 365.. section: Library 366 367Add TLS 1.3 cipher suites and OP_NO_TLSv1_3. 368 369.. 370 371.. bpo: 29212 372.. date: 2017-09-03-14-31-00 373.. nonce: bicycl 374.. section: Library 375 376Fix concurrent.futures.thread.ThreadPoolExecutor threads to have a non 377repr() based thread name by default when no thread_name_prefix is supplied. 378They will now identify themselves as "ThreadPoolExecutor-y_n". 379 380.. 381 382.. bpo: 9146 383.. date: 2017-09-03-14-10-00 384.. nonce: _-oo-_ 385.. section: Library 386 387Fix a segmentation fault in _hashopenssl when standard hash functions such 388as md5 are not available in the linked OpenSSL library. As in some special 389FIPS-140 build environments. 390 391.. 392 393.. bpo: 27144 394.. date: 2017-08-30-11-26-14 395.. nonce: PEDJsE 396.. section: Library 397 398The ``map()`` and ``as_completed()`` iterators in ``concurrent.futures`` now 399avoid keeping a reference to yielded objects. 400 401.. 402 403.. bpo: 10746 404.. date: 2017-08-28-13-01-05 405.. nonce: nmAvfu 406.. section: Library 407 408Fix ctypes producing wrong :pep:`3118` type codes for integer types. 409 410.. 411 412.. bpo: 22536 413.. date: 2017-08-23 414.. nonce: _narf_ 415.. section: Library 416 417The subprocess module now sets the filename when FileNotFoundError is raised 418on POSIX systems due to the executable or cwd not being found. 419 420.. 421 422.. bpo: 31249 423.. date: 2017-08-22-12-44-48 424.. nonce: STPbb9 425.. section: Library 426 427concurrent.futures: WorkItem.run() used by ThreadPoolExecutor now breaks a 428reference cycle between an exception object and the WorkItem object. 429 430.. 431 432.. bpo: 31247 433.. date: 2017-08-21-17-50-27 434.. nonce: 8S3zJp 435.. section: Library 436 437xmlrpc.server now explicitly breaks reference cycles when using 438sys.exc_info() in code handling exceptions. 439 440.. 441 442.. bpo: 30102 443.. date: 2017-08-16-21-14-31 444.. nonce: 1sPqmc 445.. section: Library 446 447The ssl and hashlib modules now call OPENSSL_add_all_algorithms_noconf() on 448OpenSSL < 1.1.0. The function detects CPU features and enables optimizations 449on some CPU architectures such as POWER8. Patch is based on research from 450Gustavo Serra Scalet. 451 452.. 453 454.. bpo: 31185 455.. date: 2017-08-11-19-30-00 456.. nonce: i6TPgL 457.. section: Library 458 459Fixed miscellaneous errors in asyncio speedup module. 460 461.. 462 463.. bpo: 31135 464.. date: 2017-08-08-14-44-37 465.. nonce: HH94xR 466.. section: Library 467 468ttk: fix the destroy() method of LabeledScale and OptionMenu classes. Call 469the parent destroy() method even if the used attribute doesn't exist. The 470LabeledScale.destroy() method now also explicitly clears label and scale 471attributes to help the garbage collector to destroy all widgets. 472 473.. 474 475.. bpo: 31107 476.. date: 2017-08-02-12-48-15 477.. nonce: 1t2hn5 478.. section: Library 479 480Fix `copyreg._slotnames()` mangled attribute calculation for classes whose 481name begins with an underscore. Patch by Shane Harvey. 482 483.. 484 485.. bpo: 31061 486.. date: 2017-08-01-09-32-58 487.. nonce: husAYX 488.. section: Library 489 490Fixed a crash when using asyncio and threads. 491 492.. 493 494.. bpo: 30502 495.. date: 2017-07-27-11-33-58 496.. nonce: GJlfU8 497.. section: Library 498 499Fix handling of long oids in ssl. Based on patch by Christian Heimes. 500 501.. 502 503.. bpo: 30119 504.. date: 2017-07-26-15-15-00 505.. nonce: DZ6C_S 506.. section: Library 507 508ftplib.FTP.putline() now throws ValueError on commands that contains CR or 509LF. Patch by Dong-hee Na. 510 511.. 512 513.. bpo: 30595 514.. date: 2017-07-26-04-46-12 515.. nonce: -zJ7d8 516.. section: Library 517 518multiprocessing.Queue.get() with a timeout now polls its reader in 519non-blocking mode if it succeeded to acquire the lock but the acquire took 520longer than the timeout. 521 522.. 523 524.. bpo: 29403 525.. date: 2017-07-20-02-29-49 526.. nonce: 3RinCV 527.. section: Library 528 529Fix ``unittest.mock``'s autospec to not fail on method-bound builtin 530functions. Patch by Aaron Gallagher. 531 532.. 533 534.. bpo: 30961 535.. date: 2017-07-18-23-47-51 536.. nonce: 064jz0 537.. section: Library 538 539Fix decrementing a borrowed reference in tracemalloc. 540 541.. 542 543.. bpo: 25684 544.. date: 2017-07-17-11-35-00 545.. nonce: usELVx 546.. section: Library 547 548Change ``ttk.OptionMenu`` radiobuttons to be unique across instances of 549``OptionMenu``. 550 551.. 552 553.. bpo: 30886 554.. date: 2017-07-10-12-14-22 555.. nonce: nqQj34 556.. section: Library 557 558Fix multiprocessing.Queue.join_thread(): it now waits until the thread 559completes, even if the thread was started by the same process which created 560the queue. 561 562.. 563 564.. bpo: 29854 565.. date: 2017-07-07-02-18-57 566.. nonce: J8wKb_ 567.. section: Library 568 569Fix segfault in readline when using readline's history-size option. Patch 570by Nir Soffer. 571 572.. 573 574.. bpo: 30319 575.. date: 2017-07-04-13-48-21 576.. nonce: hg_3TX 577.. section: Library 578 579socket.close() now ignores ECONNRESET error. 580 581.. 582 583.. bpo: 30828 584.. date: 2017-07-04-13-10-52 585.. nonce: CLvEvV 586.. section: Library 587 588Fix out of bounds write in `asyncio.CFuture.remove_done_callback()`. 589 590.. 591 592.. bpo: 30807 593.. date: 2017-06-29-22-04-44 594.. nonce: sLtjY- 595.. section: Library 596 597signal.setitimer() may disable the timer when passed a tiny value. 598Tiny values (such as 1e-6) are valid non-zero values for setitimer(), which 599is specified as taking microsecond-resolution intervals. However, on some 600platform, our conversion routine could convert 1e-6 into a zero interval, 601therefore disabling the timer instead of (re-)scheduling it. 602 603.. 604 605.. bpo: 30441 606.. date: 2017-06-29-14-25-14 607.. nonce: 3Wh9kc 608.. section: Library 609 610Fix bug when modifying os.environ while iterating over it 611 612.. 613 614.. bpo: 30532 615.. date: 2017-06-26-11-01-59 616.. nonce: qTeL1o 617.. section: Library 618 619Fix email header value parser dropping folding white space in certain cases. 620 621.. 622 623.. bpo: 30879 624.. date: 03 625.. nonce: N3KI-o 626.. section: Library 627 628os.listdir() and os.scandir() now emit bytes names when called with 629bytes-like argument. 630 631.. 632 633.. bpo: 30746 634.. date: 02 635.. nonce: 7drQI0 636.. section: Library 637 638Prohibited the '=' character in environment variable names in 639``os.putenv()`` and ``os.spawn*()``. 640 641.. 642 643.. bpo: 29755 644.. date: 01 645.. nonce: diQcY_ 646.. section: Library 647 648Fixed the lgettext() family of functions in the gettext module. They now 649always return bytes. 650 651.. 652 653.. bpo: 31294 654.. date: 2017-09-07-20-49-09 655.. nonce: WgI18w 656.. section: Documentation 657 658Fix incomplete code snippet in the ZeroMQSocketListener and 659ZeroMQSocketHandler examples and adapt them to Python 3. 660 661.. 662 663.. bpo: 21649 664.. date: 2017-09-06-10-11-57 665.. nonce: EUvqA9 666.. section: Documentation 667 668Add RFC 7525 and Mozilla server side TLS links to SSL documentation. 669 670.. 671 672.. bpo: 30803 673.. date: 2017-07-29-14-55-50 674.. nonce: 6hutqQ 675.. section: Documentation 676 677Clarify doc on truth value testing. Original patch by Peter Thomassen. 678 679.. 680 681.. bpo: 31320 682.. date: 2017-09-05-14-23-35 683.. nonce: JRDHx7 684.. section: Tests 685 686Silence traceback in test_ssl 687 688.. 689 690.. bpo: 25674 691.. date: 2017-09-04-13-03-55 692.. nonce: whVTXh 693.. section: Tests 694 695Remove sha256.tbs-internet.com ssl test 696 697.. 698 699.. bpo: 30715 700.. date: 2017-07-25-15-27-44 701.. nonce: Sp7bTF 702.. section: Tests 703 704Address ALPN callback changes for OpenSSL 1.1.0f. The latest version behaves 705like OpenSSL 1.0.2 and no longer aborts handshake. 706 707.. 708 709.. bpo: 30822 710.. date: 2017-07-20-14-29-54 711.. nonce: X0wREo 712.. section: Tests 713 714regrtest: Exclude tzdata from regrtest --all. When running the test suite 715using --use=all / -u all, exclude tzdata since it makes test_datetime too 716slow (15-20 min on some buildbots) which then times out on some buildbots. 717Fix also regrtest command line parser to allow passing -u extralargefile to 718run test_zipfile64. 719 720.. 721 722.. bpo: 30854 723.. date: 2017-07-05-16-54-59 724.. nonce: sPADRI 725.. section: Build 726 727Fix compile error when compiling --without-threads. Patch by Masayuki 728Yamamoto. 729 730.. 731 732.. bpo: 30389 733.. date: 2017-09-06-17-14-54 734.. nonce: 9Dizrx 735.. section: Windows 736 737Adds detection of Visual Studio 2017 to distutils on Windows. 738 739.. 740 741.. bpo: 31340 742.. date: 2017-09-04-13-19-05 743.. nonce: MbkzLi 744.. section: Windows 745 746Change to building with MSVC v141 (included with Visual Studio 2017) 747 748.. 749 750.. bpo: 30581 751.. date: 2017-08-04-10-05-19 752.. nonce: OQhR7l 753.. section: Windows 754 755os.cpu_count() now returns the correct number of processors on Windows when 756the number of logical processors is greater than 64. 757 758.. 759 760.. bpo: 30731 761.. date: 2017-07-13-11-22-53 762.. nonce: nmMDwI 763.. section: Windows 764 765Add a missing xmlns to python.manifest so that it matches the schema. 766 767.. 768 769.. bpo: 31493 770.. date: 2017-09-16-23-43-39 771.. nonce: nmHMCR 772.. section: IDLE 773 774IDLE code context -- fix code update and font update timers. 775Canceling timers prevents a warning message when test_idle completes. 776 777.. 778 779.. bpo: 31488 780.. date: 2017-09-16-01-21-20 781.. nonce: 0rtXIT 782.. section: IDLE 783 784IDLE - Update non-key options in former extension classes. When applying 785configdialog changes, call .reload for each feature class. Change ParenMatch 786so updated options affect existing instances attached to existing editor 787windows. 788 789.. 790 791.. bpo: 31477 792.. date: 2017-09-15-12-38-47 793.. nonce: n__6sa 794.. section: IDLE 795 796IDLE - Improve rstrip entry in doc. Strip trailing whitespace strips more 797than blank spaces. Multiline string literals are not skipped. 798 799.. 800 801.. bpo: 31480 802.. date: 2017-09-14-17-53-53 803.. nonce: 4WJ0pl 804.. section: IDLE 805 806IDLE - make tests pass with zzdummy extension disabled by default. 807 808.. 809 810.. bpo: 31421 811.. date: 2017-09-12-08-38-27 812.. nonce: mYfQNq 813.. section: IDLE 814 815Document how IDLE runs tkinter programs. IDLE calls tcl/tk update in the 816background in order to make live 817interaction and experimentation with tkinter applications much easier. 818 819.. 820 821.. bpo: 31414 822.. date: 2017-09-11-15-46-05 823.. nonce: wiepgK 824.. section: IDLE 825 826IDLE -- fix tk entry box tests by deleting first. Adding to an int entry is 827not the same as deleting and inserting because int('') will fail. 828 829.. 830 831.. bpo: 31051 832.. date: 2017-08-30-00-06-58 833.. nonce: 50Jp_Q 834.. section: IDLE 835 836Rearrange IDLE configdialog GenPage into Window, Editor, and Help sections. 837 838.. 839 840.. bpo: 30617 841.. date: 2017-08-27-16-49-36 842.. nonce: UHnswr 843.. section: IDLE 844 845IDLE - Add docstrings and tests for outwin subclass of editor. 846Move some data and functions from the class to module level. Patch by Cheryl 847Sabella. 848 849.. 850 851.. bpo: 31287 852.. date: 2017-08-27-15-31-33 853.. nonce: aZERfI 854.. section: IDLE 855 856IDLE - Do not modify tkinter.message in test_configdialog. 857 858.. 859 860.. bpo: 27099 861.. date: 2017-08-24-13-48-16 862.. nonce: rENefC 863.. section: IDLE 864 865Convert IDLE's built-in 'extensions' to regular features. 866About 10 IDLE features were implemented as supposedly optional extensions. 867Their different behavior could be confusing or worse for users and not good 868for maintenance. Hence the conversion. 869The main difference for users is that user configurable key bindings for 870builtin features are now handled uniformly. Now, editing a binding in a 871keyset only affects its value in the keyset. All bindings are defined 872together in the system-specific default keysets in config-extensions.def. 873All custom keysets are saved as a whole in config-extension.cfg. All take 874effect as soon as one clicks Apply or Ok. 875The affected events are '<<force-open-completions>>', '<<expand-word>>', 876'<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>', 877'<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any (global) 878customizations made before 3.6.3 will not affect their keyset-specific 879customization after 3.6.3. and vice versa. 880Initial patch by Charles Wohlganger. 881 882.. 883 884.. bpo: 31206 885.. date: 2017-08-18-14-13-42 886.. nonce: F1-tKK 887.. section: IDLE 888 889IDLE: Factor HighPage(Frame) class from ConfigDialog. Patch by Cheryl 890Sabella. 891 892.. 893 894.. bpo: 31001 895.. date: 2017-08-17-15-00-20 896.. nonce: KLxYHC 897.. section: IDLE 898 899Add tests for configdialog highlight tab. Patch by Cheryl Sabella. 900 901.. 902 903.. bpo: 31205 904.. date: 2017-08-15-12-58-23 905.. nonce: iuziZ5 906.. section: IDLE 907 908IDLE: Factor KeysPage(Frame) class from ConfigDialog. The slightly modified 909tests continue to pass. Patch by Cheryl Sabella. 910 911.. 912 913.. bpo: 31130 914.. date: 2017-08-07-14-02-56 915.. nonce: FbsC7f 916.. section: IDLE 917 918IDLE -- stop leaks in test_configdialog. Initial patch by Victor Stinner. 919 920.. 921 922.. bpo: 31002 923.. date: 2017-08-03-17-54-02 924.. nonce: kUSgTE 925.. section: IDLE 926 927Add tests for configdialog keys tab. Patch by Cheryl Sabella. 928 929.. 930 931.. bpo: 19903 932.. date: 2017-08-03-14-08-42 933.. nonce: sqE1FS 934.. section: IDLE 935 936IDLE: Calltips use `inspect.signature` instead of `inspect.getfullargspec`. 937This improves calltips for builtins converted to use Argument Clinic. Patch 938by Louie Lu. 939 940.. 941 942.. bpo: 31083 943.. date: 2017-07-31-23-20-51 944.. nonce: 991FXm 945.. section: IDLE 946 947IDLE - Add an outline of a TabPage class in configdialog. Update existing 948classes to match outline. Initial patch by Cheryl Sabella. 949 950.. 951 952.. bpo: 31050 953.. date: 2017-07-30-17-39-59 954.. nonce: AXR3kP 955.. section: IDLE 956 957Factor GenPage(Frame) class from ConfigDialog. The slightly modified tests 958continue to pass. Patch by Cheryl Sabella. 959 960.. 961 962.. bpo: 31004 963.. date: 2017-07-30-01-00-58 964.. nonce: m8cc1t 965.. section: IDLE 966 967IDLE - Factor FontPage(Frame) class from ConfigDialog. 968Slightly modified tests continue to pass. Fix General tests. Patch mostly by 969Cheryl Sabella. 970 971.. 972 973.. bpo: 30781 974.. date: 2017-07-28-18-59-06 975.. nonce: ud5m18 976.. section: IDLE 977 978IDLE - Use ttk widgets in ConfigDialog. Patches by Terry Jan Reedy and 979Cheryl Sabella. 980 981.. 982 983.. bpo: 31060 984.. date: 2017-07-27-14-48-42 985.. nonce: GdY_VY 986.. section: IDLE 987 988IDLE - Finish rearranging methods of ConfigDialog Grouping methods 989pertaining to each tab and the buttons will aid writing tests and improving 990the tabs and will enable splitting the groups into classes. 991 992.. 993 994.. bpo: 30853 995.. date: 2017-07-27-10-01-14 996.. nonce: enPvvc 997.. section: IDLE 998 999IDLE -- Factor a VarTrace class out of ConfigDialog. 1000Instance tracers manages pairs consisting of a tk variable and a callback 1001function. When tracing is turned on, setting the variable calls the 1002function. Test coverage for the new class is 100%. 1003 1004.. 1005 1006.. bpo: 31003 1007.. date: 2017-07-25-01-28-35 1008.. nonce: bYINVH 1009.. section: IDLE 1010 1011IDLE: Add more tests for General tab. 1012 1013.. 1014 1015.. bpo: 30993 1016.. date: 2017-07-22-18-08-41 1017.. nonce: 34vJkB 1018.. section: IDLE 1019 1020IDLE - Improve configdialog font page and tests. 1021In configdialog: Document causal pathways in create_font_tab docstring. 1022Simplify some attribute names. Move set_samples calls to var_changed_font 1023(idea from Cheryl Sabella). Move related functions to positions after the 1024create widgets function. 1025In test_configdialog: Fix test_font_set so not order dependent. Fix renamed 1026test_indent_scale so it tests the widget. Adjust tests for movement of 1027set_samples call. Add tests for load functions. Put all font tests in one 1028class and tab indent tests in another. Except for two lines, these tests 1029completely cover the related functions. 1030 1031.. 1032 1033.. bpo: 30981 1034.. date: 2017-07-21-01-55-14 1035.. nonce: ZFvQPt 1036.. section: IDLE 1037 1038IDLE -- Add more configdialog font page tests. 1039 1040.. 1041 1042.. bpo: 28523 1043.. date: 2017-07-21-00-54-52 1044.. nonce: OPcqYJ 1045.. section: IDLE 1046 1047IDLE: replace 'colour' with 'color' in configdialog. 1048 1049.. 1050 1051.. bpo: 30917 1052.. date: 2017-07-17-23-35-57 1053.. nonce: hSiuuO 1054.. section: IDLE 1055 1056Add tests for idlelib.config.IdleConf. Increase coverage from 46% to 96%. 1057Patch by Louie Lu. 1058 1059.. 1060 1061.. bpo: 30934 1062.. date: 2017-07-15-22-26-57 1063.. nonce: BanuSB 1064.. section: IDLE 1065 1066Document coverage details for idlelib tests. 1067Add section to idlelib/idle-test/README.txt. 1068Include check that branches are taken both ways. 1069Exclude IDLE-specific code that does not run during unit tests. 1070 1071.. 1072 1073.. bpo: 30913 1074.. date: 2017-07-13-23-07-33 1075.. nonce: aezn_e 1076.. section: IDLE 1077 1078IDLE: Document ConfigDialog tk Vars, methods, and widgets in docstrings This 1079will facilitate improving the dialog and splitting up the class. Original 1080patch by Cheryl Sabella. 1081 1082.. 1083 1084.. bpo: 30899 1085.. date: 2017-07-11-02-26-17 1086.. nonce: SQmVO8 1087.. section: IDLE 1088 1089IDLE: Add tests for ConfigParser subclasses in config. Patch by Louie Lu. 1090 1091.. 1092 1093.. bpo: 30881 1094.. date: 2017-07-11-02-21-42 1095.. nonce: 4KAq_9 1096.. section: IDLE 1097 1098IDLE: Add docstrings to browser.py. Patch by Cheryl Sabella. 1099 1100.. 1101 1102.. bpo: 30851 1103.. date: 2017-07-09-23-53-00 1104.. nonce: AHXBYa 1105.. section: IDLE 1106 1107IDLE: Remove unused variables in configdialog. One is a duplicate, one is 1108set but cannot be altered by users. Patch by Cheryl Sabella. 1109 1110.. 1111 1112.. bpo: 30870 1113.. date: 2017-07-08-17-57-04 1114.. nonce: IcR2pf 1115.. section: IDLE 1116 1117IDLE: In Settings dialog, select font with Up, Down keys as well as mouse. 1118Initial patch by Louie Lu. 1119 1120.. 1121 1122.. bpo: 8231 1123.. date: 2017-07-07-21-10-55 1124.. nonce: yEge3L 1125.. section: IDLE 1126 1127IDLE: call config.IdleConf.GetUserCfgDir only once. 1128 1129.. 1130 1131.. bpo: 30779 1132.. date: 2017-07-07-20-26-37 1133.. nonce: 8KXEXN 1134.. section: IDLE 1135 1136IDLE: Factor ConfigChanges class from configdialog, put in config; test. * 1137In config, put dump test code in a function; run it and unittest in 'if 1138__name__ == '__main__'. * Add class config.ConfigChanges based on 1139changes_class_v4.py on bpo issue. * Add class test_config.ChangesTest, 1140partly using configdialog_tests_v1.py. * Revise configdialog to use 1141ConfigChanges; see tracker msg297804. * Revise test_configdialog to match 1142configdialog changes. * Remove configdialog functions unused or moved to 1143ConfigChanges. Cheryl Sabella contributed parts of the patch. 1144 1145.. 1146 1147.. bpo: 30777 1148.. date: 2017-07-04-22-45-46 1149.. nonce: uxzlMB 1150.. section: IDLE 1151 1152IDLE: configdialog - Add docstrings and fix comments. Patch by Cheryl 1153Sabella. 1154 1155.. 1156 1157.. bpo: 30495 1158.. date: 2017-06-29-18-23-06 1159.. nonce: qIWgc4 1160.. section: IDLE 1161 1162IDLE: Improve textview with docstrings, PEP8 names, and more tests. Patch by 1163Cheryl Sabella. 1164 1165.. 1166 1167.. bpo: 30723 1168.. date: 2017-06-27-19-05-40 1169.. nonce: rQh06y 1170.. section: IDLE 1171 1172IDLE: Make several improvements to parenmatch. Add 'parens' style to 1173highlight both opener and closer. Make 'default' style, which is not 1174default, a synonym for 'opener'. Make time-delay work the same with all 1175styles. Add help for config dialog extensions tab, including help for 1176parenmatch. Add new tests. Original patch by Charles Wohlganger. 1177 1178.. 1179 1180.. bpo: 30674 1181.. date: 2017-06-27-01-40-34 1182.. nonce: ppK_q8 1183.. section: IDLE 1184 1185IDLE: add docstrings to grep module. Patch by Cheryl Sabella 1186 1187.. 1188 1189.. bpo: 21519 1190.. date: 2017-06-27-00-29-56 1191.. nonce: fTj9T0 1192.. section: IDLE 1193 1194IDLE's basic custom key entry dialog now detects duplicates properly. 1195Original patch by Saimadhav Heblikar. 1196 1197.. 1198 1199.. bpo: 29910 1200.. date: 2017-06-26-22-45-27 1201.. nonce: mqHh7u 1202.. section: IDLE 1203 1204IDLE no longer deletes a character after commenting out a region by a key 1205shortcut. Add ``return 'break'`` for this and other potential conflicts 1206between IDLE and default key bindings. 1207 1208.. 1209 1210.. bpo: 30728 1211.. date: 2017-06-26-15-47-13 1212.. nonce: qH4TGL 1213.. section: IDLE 1214 1215Review and change idlelib.configdialog names. Lowercase method and attribute 1216names. Replace 'colour' with 'color', expand overly cryptic names, delete 1217unneeded underscores. Replace ``import *`` with specific imports. Patches by 1218Cheryl Sabella. 1219 1220.. 1221 1222.. bpo: 6739 1223.. date: 2017-06-26-00-28-59 1224.. nonce: x5MfhB 1225.. section: IDLE 1226 1227IDLE: Verify user-entered key sequences by trying to bind them with tk. Add 1228tests for all 3 validation functions. Original patch by G Polo. Tests added 1229by Cheryl Sabella. 1230 1231.. 1232 1233.. bpo: 30983 1234.. date: 2017-08-18-17-19-23 1235.. nonce: ggGz9z 1236.. section: Tools/Demos 1237 1238gdb integration commands (py-bt, etc.) work on optimized shared builds now, 1239too. :pep:`523` introduced _PyEval_EvalFrameDefault which inlines 1240PyEval_EvalFrameEx on non-debug shared builds. This broke the ability to 1241use py-bt, py-up, and a few other Python-specific gdb integrations. The 1242problem is fixed by only looking for _PyEval_EvalFrameDefault frames in 1243python-gdb.py. Original patch by Bruno "Polaco" Penteado. 1244