summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30731: python.manifest fix (#2328)Segev Finer2017-07-132-5/+6
| | | bpo-30731: python.manifest fix
* bpo-30923: Suppress fall-through warnings in libmpdec. (#2698)Stefan Krah2017-07-131-0/+3
|
* bpo-30911: Add tests for bad boolean arguments for accelerated json (#2690)Serhiy Storchaka2017-07-131-0/+22
| | | encoder and decoder.
* bpo-30911: Fix a crash in json on platforms with unsigned char (#2684)Segev Finer2017-07-131-1/+1
| | | when pass bad strict argument.
* bpo-30466: Add brief explanation of classes to tutorial (GH-1804)Trey Hunner2017-07-131-0/+6
|
* Fix a spelling mistake and tweak tense of output for test.bisect (GH-2683)Brett Cannon2017-07-121-3/+3
| | | 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).
* bpo-30899: Add unittests, 100% coverage, for IDLE's two ConfigParser ↵Louie Lu2017-07-124-30/+198
| | | | | | subclasses. (#2662) Patch by Louie Lu.
* bpo-30908: Fix dangling thread in test_os.TestSendfile (#2680)Victor Stinner2017-07-121-0/+1
| | | | | | | | | | | | | 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
* bpo-30876: Relative import from unloaded package now reimports the package ↵Serhiy Storchaka2017-07-128-388/+390
| | | | | | | | | (#2639) instead of failing with SystemError. Relative import from non-package now fails with ImportError rather than SystemError.
* bpo-30779: IDLE: fix changes.delete_section calls in configdialog (#2667)csabella2017-07-113-5/+9
| | | | Also improve test of config.ConfigChanges.delete_section. Original patch by Cheryl Sabella.
* Avoid _GNU_SOURCE redefined warning in xmlparse.c (#2670)Segev Finer2017-07-111-1/+1
|
* bpo-30881: IDLE: add docstrings to browser.py (#2638)csabella2017-07-112-4/+94
| | | Patch by Cheryl Sabella.
* bpo-30870: IDLE -- fix logic error in eae2537. (#2660)terryjreedy2017-07-111-2/+5
|
* bpo-22207: Add checks for possible integer overflows in unicodeobject.c. (#2623)Serhiy Storchaka2017-07-111-6/+12
| | | Based on patch by Victor Stinner.
* bpo-30879: os.listdir() and os.scandir() now emit bytes names when (#2634)Serhiy Storchaka2017-07-114-6/+35
| | | | called with bytes-like argument.
* bpo-30891: Fix importlib _find_and_load() race condition (#2646)Victor Stinner2017-07-103-1567/+1556
| | | | | | * 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
* bpo-30892: Fix _elementtree module initialization (#2647)Victor Stinner2017-07-101-0/+5
| | | | Handle getattr(copy, 'deepcopy') error in _elementtree module initialization.
* bpo-30851: IDLE: Remove unused tk variables in configdialog. (#2626)csabella2017-07-102-22/+3
| | | | | One is a duplicate, one is set but cannot be altered by users. Patch by Cheryl Sabella.
* bpo-30866: Add _testcapi.stack_pointer() (#2601)Victor Stinner2017-07-101-0/+8
|
* bpo-30886: Fix multiprocessing.Queue.join_thread() (#2642)Victor Stinner2017-07-102-8/+4
| | | | | | | | | | 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)
* Remove _PyArg_NoStackKeywords(). (#2641)Serhiy Storchaka2017-07-103-27/+2
|
* bpo-30870: IDLE: Change sample font when select by key-up/down (#2617)Louie Lu2017-07-092-26/+28
| | | Patch by Louie Lu.
* bpo-30878: Fix error message when keyword arguments are passed (#2635)Sylvain2017-07-092-4/+12
| | | to staticmethod() and classmethod().
* bpo-29854: Skip history-size test on older readline (GH-2621)Nir Soffer2017-07-081-0/+7
| | | | | | | | 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.
* bpo-8231: Call idlelib.IdleConf.GetUserCfgDir only once. (#2629)terryjreedy2017-07-084-7/+8
|
* bpo-30779: News (#2627)terryjreedy2017-07-081-0/+8
|
* bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in ↵terryjreedy2017-07-074-171/+277
| | | | | | | | | | | | config; test. (#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.
* bpo-29854: test_readline logs versions (#2619)Victor Stinner2017-07-072-2/+19
| | | | | * test_readline logs the versions of libreadline when run in verbose mode * Add also readline._READLINE_LIBRARY_VERSION
* bpo-29854: Fix segfault in call_readline() (GH-728)Nir Soffer2017-07-073-7/+48
| | | | | | | | | | | | | 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.
* bpo-30780: Fix error in idlelib.test_idle.test_configdialog (#2606)terryjreedy2017-07-071-1/+1
|
* Make test_shutil test_disk_usage not depend on the cwd fs (#2597)Gregory P. Smith2017-07-071-1/+1
| | | Make test_shutil test_disk_usage not depend on the current working directory's filesystem.
* Fix case in .gitignore (GH-2607)Segev Finer2017-07-061-1/+1
|
* bpo-26506: hex() documentation: mention %x % int (GH-2525)Manvisha Kodali2017-07-061-10/+52
|
* bpo-30862: Updated Logger.setLevel documentation. (GH-2604)Vinay Sajip2017-07-061-4/+8
|
* bpo-30814: Fixed a race condition when import a submodule from a package. ↵Serhiy Storchaka2017-07-067-337/+352
| | | | (#2580)
* Update idlelib/NEWS.txt with merges upto 2017 Jul 5. (#2595)terryjreedy2017-07-051-1/+41
|
* bpo-30828: Fix out of bounds write in ↵Yury Selivanov2017-07-053-4/+34
| | | | `asyncio.CFuture.remove_done_callback() (#2569)
* Revert "bpo-30822: Fix testing of datetime module." (#2588)Victor Stinner2017-07-054-15/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "bpo-30854: Fix compile error when --without-threads (#2581)" This reverts commit 0c3116309307ad2c7f8e2d2096612f4ab33cbb62. * Revert "NEWS for 30777 (#2576)" This reverts commit aaa917ff38f9869eeebe3bc9469bfee64089d826. * Revert "bpo-21624: IDLE -- minor htest fixes (#2575)" This reverts commit 2000150c569941584994ec4ec59171961209bec3. * Revert "bpo-30777: IDLE: configdialog - add docstrings and improve comments (#2440)" This reverts commit 7eb5883ac59833bf63f0e1f7fb95671a1ac1ee08. * Revert "bpo-30319: socket.close() now ignores ECONNRESET (#2565)" This reverts commit 67e1478dba6efe60b8e1890192014b8b06dd6bd9. * Revert "bpo-30789: Use a single memory block for co_extra. (#2555)" This reverts commit 378ebb6578b9d709f38b888d23874c0b18125249. * Revert "bpo-30845: Enhance test_concurrent_futures cleanup (#2564)" This reverts commit 3df9dec425b0254df1cdf41922fd8d6b08bf47e4. * Revert "bpo-29293: multiprocessing.Condition.notify() lacks parameter `n` (#2480)" This reverts commit 48350412b70c76fa51f488cfc736c80d59b5e8eb. * Revert "Remove outdated FOX from GUI FAQ (GH-2538)" This reverts commit d3ed2877a798d07df75422afe136b4727e500c99. * Revert "bpo-6691: Pyclbr now reports nested classes and functions. (#2503)" This reverts commit 246ff3bd00f97658e567a7087645a6b76e056491. * Revert "bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955)" This reverts commit 6969eaf4682beb01bc95eeb14f5ce6c01312e297. * Revert "bpo-30832: Remove own implementation for thread-local storage (#2537)" This reverts commit aa0aa0492c5fffe750a26d2ab13737a1a6d7d63c. * Revert "bpo-30764: Fix regrtest --fail-env-changed --forever (#2536)" This reverts commit 5e87592fd12e0b7c41edc11d4885ed7298d5063b. * Revert "bpo-30822: Deduplicate ZoneInfoTest classes in test_datetime. (#2534)" This reverts commit 34b54873b51a1ebee2a3c57b7205537b4f33128d. * Revert "bpo-30822: Fix testing of datetime module. (#2530)" This reverts commit 98b6bc3bf72532b784a1c1fa76eaa6026a663e44.
* bpo-30854: Fix compile error when --without-threads (#2581)Masayuki Yamamoto2017-07-052-1/+3
| | | | | | * bpo-30854: Fix compile error when --without-threads * bpo-30854: fix news
* NEWS for 30777 (#2576)terryjreedy2017-07-051-0/+2
|
* bpo-21624: IDLE -- minor htest fixes (#2575)terryjreedy2017-07-052-1/+2
|
* bpo-30777: IDLE: configdialog - add docstrings and improve comments (#2440)csabella2017-07-051-128/+297
| | | Patch by Cheryl Sabella.
* bpo-30319: socket.close() now ignores ECONNRESET (#2565)Victor Stinner2017-07-042-1/+4
| | | | socket.close() was modified in Python 3.6 to raise OSError on failure: see bpo-26685.
* bpo-30789: Use a single memory block for co_extra. (#2555)Serhiy Storchaka2017-07-041-39/+15
| | | | | | * bpo-30789: Use a single memory block for co_extra. * Address review comments.
* bpo-30845: Enhance test_concurrent_futures cleanup (#2564)Victor Stinner2017-07-042-1/+9
| | | | | | | | | | | * 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).
* bpo-29293: multiprocessing.Condition.notify() lacks parameter `n` (#2480)Antoine Pitrou2017-07-044-28/+71
| | | | | | * bpo-29293: multiprocessing.Condition.notify() lacks parameter `n` * Add NEWS blurb
* Remove outdated FOX from GUI FAQ (GH-2538)Berker Peksag2017-07-041-9/+0
| | | | | | 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.
* bpo-6691: Pyclbr now reports nested classes and functions. (#2503)csabella2017-07-043-186/+338
| | | Original patch by Guilherme Polo. Revisions by Cheryl Sabella.
* bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955)Serhiy Storchaka2017-07-0376-1916/+616
| | | | | the bare METH_FASTCALL be used for functions with positional-only parameters.
* bpo-30832: Remove own implementation for thread-local storage (#2537)Masayuki Yamamoto2017-07-034-220/+15
| | | | | | | | | | | | | | | | * bpo-30832: Remove own implementation for thread-local storage CPython has provided the own implementation for thread-local storage (TLS) on Python/thread.c, it's used in the case which a platform has not supplied native TLS. However, currently all supported platforms (NT and pthreads) have provided native TLS and defined the Py_HAVE_NATIVE_TLS macro with unconditional in any case. * bpo-30832: replace NT with Windows * bpo-30832: change to directive chain * bpo-30832: remove comemnt which making no sense