- 12 Jul, 2017 2 commits
-
-
Victor Stinner authored
tearDown() now clears explicitly the self.server variable to make sure that the thread is completely cleared when tearDownClass() checks if all threads have been cleaned up. Fix the following warning: $ ./python -m test --fail-env-changed -m test.test_os.TestSendfile.test_keywords -R 3:1 test_os (...) Warning -- threading_cleanup() failed to cleanup 0 threads after 3 sec (count: 0, dangling: 2) (...) Tests result: ENV CHANGED
-
Serhiy Storchaka authored
instead of failing with SystemError. Relative import from non-package now fails with ImportError rather than SystemError.
-
- 11 Jul, 2017 6 commits
-
-
csabella authored
Also improve test of config.ConfigChanges.delete_section. Original patch by Cheryl Sabella.
-
Segev Finer authored
-
csabella authored
Patch by Cheryl Sabella.
-
terryjreedy authored
-
Serhiy Storchaka authored
Based on patch by Victor Stinner.
-
Serhiy Storchaka authored
called with bytes-like argument.
-
- 10 Jul, 2017 6 commits
-
-
Victor Stinner authored
* Rewrite importlib _get_module_lock(): it is now responsible to hold the imp lock directly. * _find_and_load() now holds the module lock to check if name is in sys.modules to prevent a race condition
-
Victor Stinner authored
Handle getattr(copy, 'deepcopy') error in _elementtree module initialization.
-
csabella authored
One is a duplicate, one is set but cannot be altered by users. Patch by Cheryl Sabella.
-
Victor Stinner authored
-
Victor Stinner authored
multiprocessing.Queue.join_thread() now waits until the thread completes, even if the thread was started by the same process which created the queue. Fix the following warning which occurs randomly when running test_handle_called_with_mp_queue of test_logging.QueueListenerTest: Warning -- threading_cleanup() failed to cleanup -1 threads after 4 sec (count: 0, dangling: 1)
-
Serhiy Storchaka authored
-
- 09 Jul, 2017 2 commits
- 08 Jul, 2017 3 commits
-
-
Nir Soffer authored
Turns out that history-size was added in readline 6.0. This explain why this tests fail on FreeBSD when using readline 5.2. We skip now the history size if readline does not support it. See https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES for details.
-
terryjreedy authored
-
terryjreedy authored
-
- 07 Jul, 2017 5 commits
-
-
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.
-
Victor Stinner authored
* test_readline logs the versions of libreadline when run in verbose mode * Add also readline._READLINE_LIBRARY_VERSION
-
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.
-
terryjreedy authored
-
Gregory P. Smith authored
Make test_shutil test_disk_usage not depend on the current working directory's filesystem.
-
- 06 Jul, 2017 4 commits
-
-
Segev Finer authored
-
Manvisha Kodali authored
-
Vinay Sajip authored
-
Serhiy Storchaka authored
-
- 05 Jul, 2017 7 commits
-
-
terryjreedy authored
-
Yury Selivanov authored
-
Victor Stinner authored
* Revert "bpo-30854: Fix compile error when --without-threads (#2581)" This reverts commit 0c311630. * Revert "NEWS for 30777 (#2576)" This reverts commit aaa917ff. * Revert "bpo-21624: IDLE -- minor htest fixes (#2575)" This reverts commit 2000150c. * Revert "bpo-30777: IDLE: configdialog - add docstrings and improve comments (#2440)" This reverts commit 7eb5883a. * Revert "bpo-30319: socket.close() now ignores ECONNRESET (#2565)" This reverts commit 67e1478d. * Revert "bpo-30789: Use a single memory block for co_extra. (#2555)" This reverts commit 378ebb65. * Revert "bpo-30845: Enhance test_concurrent_futures cleanup (#2564)" This reverts commit 3df9dec4. * Revert "bpo-29293: multiprocessing.Condition.notify() lacks parameter `n` (#2480)" This reverts commit 48350412. * Revert "Remove outdated FOX from GUI FAQ (GH-2538)" This reverts commit d3ed2877. * Revert "bpo-6691: Pyclbr now reports nested classes and functions. (#2503)" This reverts commit 246ff3bd. * Revert "bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955)" This reverts commit 6969eaf4. * Revert "bpo-30832: Remove own implementation for thread-local storage (#2537)" This reverts commit aa0aa049. * Revert "bpo-30764: Fix regrtest --fail-env-changed --forever (#2536)" This reverts commit 5e87592f. * Revert "bpo-30822: Deduplicate ZoneInfoTest classes in test_datetime. (#2534)" This reverts commit 34b54873. * Revert "bpo-30822: Fix testing of datetime module. (#2530)" This reverts commit 98b6bc3b.
-
Masayuki Yamamoto authored
* bpo-30854: Fix compile error when --without-threads * bpo-30854: fix news
-
terryjreedy authored
-
terryjreedy authored
-
csabella authored
Patch by Cheryl Sabella.
-
- 04 Jul, 2017 5 commits
-
-
Victor Stinner authored
socket.close() was modified in Python 3.6 to raise OSError on failure: see bpo-26685.
-
Serhiy Storchaka authored
* bpo-30789: Use a single memory block for co_extra. * Address review comments.
-
Victor Stinner authored
* bpo-30845: reap_children() now logs warnings * bpo-30845: Enhance test_concurrent_futures cleanup In setUp() and tearDown() methods of test_concurrent_futures tests, make sure that tests don't leak threads nor processes. Clear explicitly the reference to the executor to make it that it's destroyed (to prevent "dangling threads" warning).
-
Antoine Pitrou authored
* bpo-29293: multiprocessing.Condition.notify() lacks parameter `n` * Add NEWS blurb
-
Berker Peksag authored
FXpy doesn't have a Python 3 port and it only supports Python 2.2 and older versions. Reported by Alex Walters on docs@p.o.
-