1. 17 Jul, 2017 2 commits
  2. 16 Jul, 2017 2 commits
  3. 15 Jul, 2017 3 commits
  4. 14 Jul, 2017 4 commits
  5. 13 Jul, 2017 5 commits
  6. 12 Jul, 2017 4 commits
  7. 11 Jul, 2017 6 commits
  8. 10 Jul, 2017 6 commits
  9. 09 Jul, 2017 2 commits
  10. 08 Jul, 2017 3 commits
  11. 07 Jul, 2017 3 commits
    • terryjreedy's avatar
      bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in config; test. (#2612) · 349abd9e
      terryjreedy authored
      * In config, put dump test code in a function; run it and unittest in 'if __name__ == '__main__'.
      * Add class config.ConfigChanges based on changes_class_v4.py on bpo issue.
      * Add class test_config.ChangesTest, partly based on configdialog_tests_v1.py on bpo issue.
      * Revise configdialog to use ConfigChanges, mostly as specified in tracker msg297804.
      * Revise test_configdialog to match configdialog changes.  All tests pass in both files.
      * Remove configdialog functions unused or moved to ConfigChanges.
      Cheryl Sabella contributed parts of the patch.
      349abd9e
    • Victor Stinner's avatar
      bpo-29854: test_readline logs versions (#2619) · 1881befb
      Victor Stinner authored
      * test_readline logs the versions of libreadline when run in verbose
        mode
      * Add also readline._READLINE_LIBRARY_VERSION
      1881befb
    • Nir Soffer's avatar
      bpo-29854: Fix segfault in call_readline() (GH-728) · fae8f4a9
      Nir Soffer authored
      If history-length is set in .inputrc, and the history file is double the
      history size (or more), history_get(N) returns NULL, and python
      segfaults. Fix that by checking for NULL return value.
      
      It seems that the root cause is incorrect handling of bigger history in
      readline, but Python should not segfault even if readline returns
      unexpected value.
      
      This issue affects only GNU readline. When using libedit emulation
      system history size option does not work.
      fae8f4a9