- 17 Jul, 2017 2 commits
-
-
Antoine Pitrou authored
* Improve signal delivery Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions. * Remove unused function * Improve comments * Use _Py_atomic API for concurrency-sensitive signal state * Add blurb
-
Steve Dower authored
Updates ssl and tkinter projects to use pre-built externals
-
- 16 Jul, 2017 2 commits
-
-
Serhiy Storchaka authored
-
terryjreedy authored
* Add section to idlelib/idle-test/README.txt. * Include check that branches are taken both ways. * Exclude IDLE-specific code that does not run during unit tests.
-
- 15 Jul, 2017 3 commits
-
-
Ned Deily authored
-
Nick Coghlan authored
AIX uses iso8859-1 in the C locale, not ASCII AIX doesn't currently provide any of the locale coercion locales, but we leave locale coercion enabled in case one gets added in the future.
-
terryjreedy authored
-
- 14 Jul, 2017 4 commits
-
-
Łukasz Rogalski authored
-
terryjreedy authored
-
csabella authored
The will help writing dialog improvements and splitting the class into multiple classes. Original patch by Cheryl Sabella.
-
Louie Lu authored
Initial patch by Louie Lu.
-
- 13 Jul, 2017 5 commits
-
-
Segev Finer authored
bpo-30731: python.manifest fix
-
Stefan Krah authored
-
Serhiy Storchaka authored
encoder and decoder.
-
Segev Finer authored
when pass bad strict argument.
-
Trey Hunner authored
-
- 12 Jul, 2017 4 commits
-
-
Brett Cannon authored
Changed "subbset" to "subset". Also made the sentences read like things were happening instead of stating what the code should do (in other words more descriptive than prescriptive).
-
Louie Lu authored
Patch by Louie Lu.
-
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 3 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.
-