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