◐ Shell
clean mode source ↗

bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in config; test. by terryjreedy · Pull Request #2612 · python/cpython

added 8 commits

July 6, 2017 15:58

@terryjreedy

mlouielu

@terryjreedy

mlouielu

mlouielu

csabella

csabella

csabella

terryjreedy

terryjreedy added a commit to terryjreedy/cpython that referenced this pull request

Jul 7, 2017
…, put in config; test. (pythonGH-2612)

* 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.
(cherry picked from commit 349abd9)

terryjreedy added a commit that referenced this pull request

Jul 7, 2017
…, put in config; test. (GH-2612) (#2625)

* 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.
(cherry picked from commit 349abd9)