summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typo in Turtle Docs: yingyang -> yinyang (GH-2770)靳阳2017-07-201-1/+1
|
* bpo-30822: Exclude tzdata from regrtest --all (#2775)Victor Stinner2017-07-205-7/+32
| | | | | | | | | | | | | When running the test suite using --use=all / -u all, exclude tzdata since it makes test_datetime too slow (15-20 min on some buildbots) which then times out on some buildbots. -u tzdata must now be enabled explicitly, -u tzdata or -u all,tzdata, to run all test_datetime tests. Fix also regrtest command line parser to allow passing -u extralargefile to run test_zipfile64. Travis CI: remove -tzdata. Replace -u all,-tzdata,-cpu with -u all,-cpu since tzdata is now excluded from -u all.
* Update doc download files size estimates. (#2771)Ned Deily2017-07-201-9/+9
|
* bpo-30968: Fix test_get_font in IDLE's test_config. (#2769)terryjreedy2017-07-201-1/+1
|
* bpo-29403: Fix mock's broken autospec behavior on method-bound builtin ↵Aaron Gallagher2017-07-203-1/+18
| | | | | | | | | | | | | | | | | | | functions (GH-3) Cython will, in the right circumstances, offer a MethodType instance where im_func is a builtin function. Any instance of MethodType is automatically assumed to be a Python-defined function (more specifically, a function that has an inspectable signature), but _set_signature was still conservative in its assumptions. As a result _set_signature would return early with None instead of a mock since the im_func had no inspectable signature. This causes problems deeper inside mock, as _set_signature is assumed to _always_ return a mock, and nothing checked its return value. In similar corner cases, autospec will simply not check the spec of the function, so _set_signature is amended to now return early with the original, not-wrapped mock object. Patch by Aaron Gallagher.
* bpo-30917: IDLE: Fix mock_config deepcopy to read_string (#2754)Louie Lu2017-07-191-5/+11
| | | Patch by LouieLu.
* Use pythontest.net instead of debian.org in test_urllib2net (GH-2755)Ammar Askar2017-07-191-3/+3
|
* bpo-30917: IDLE: Add config.IdleConf unittests (#2691)Louie Lu2017-07-183-18/+454
| | | | Patch by Louie Lu.
* bpo-30450: Fix logic for retrying nuget.exe download (#2744)Steve Dower2017-07-182-2/+21
| | | | | | | Fix logic for retrying nuget.exe download with Python. Add support for HOST_PYTHON variable. Clear internal environment variables used in find_python.bat Use HOST_PYTHON as the actual Python if it is recent enough. Adds HOST_PYTHON variable to AppVeyor configuration
* bpo-30961: Fix decrementing a borrowed reference in tracemalloc. (#2747)Xiang Zhang2017-07-182-2/+2
|
* bpo-30794: added kill() method to multiprocessing.Process (#2528)Vitor Pereira2017-07-186-9/+40
| | | | | | | | | | | | | | * bpo-30794: added kill() method to multiprocessing.Process * Added entries to documentation and NEWS * Refactored test_terminate and test_kill * Fix SIGTERM and SIGKILL being used on Windows for the tests * Added "versionadded" marker to the documentation * Fix trailing whitespace in doc
* bpo-30946: Remove obsolete fallback code in readline module (#2738)Antoine Pitrou2017-07-187-108/+8
| | | | | | | | | | * Remove obsolete fallback code in readline module * Add NEWS * Remove obsolete include * Fix macro on Windows
* bpo-30450: Fall back to git.exe if no Python is found. (#2739)Steve Dower2017-07-171-0/+10
| | | | | | * bpo-30450: Fall back to git.exe if no Python is found. * Also check whether git.exe is on PATH if it will be used.
* bpo-30450: Adds alternate download approach for nuget.exe (#2737)Steve Dower2017-07-172-1/+41
| | | | | | * bpo-30450: Adds alternate download approach for nuget.exe * Whitespace fix.
* bpo-30808: Use _Py_atomic API for concurrency-sensitive signal state (#2417)Antoine Pitrou2017-07-172-18/+21
| | | | | | | | | | | | | | * 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
* [bpo-30916] Pre-build OpenSSL and Tcl/Tk for Windows (#2688)Steve Dower2017-07-1734-1400/+495
| | | Updates ssl and tkinter projects to use pre-built externals
* bpo-30936: Fix a reference leak in json when fail to sort keys. (#2712)Serhiy Storchaka2017-07-162-1/+7
|
* bpo-30934: Document coverage details for idlelib tests (#2711)terryjreedy2017-07-162-0/+63
| | | | | * 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.
* bpo-30939: Avoid Sphinx deprecation warning in docs build. (#2721)Ned Deily2017-07-151-1/+1
|
* bpo-30836: fix test_c_locale_coercion on AIX (GH-2713)Nick Coghlan2017-07-151-1/+8
| | | | | | | | 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.
* Null merge so github sees fork as synchronized with python (#2710)terryjreedy2017-07-150-0/+0
|
* Doc that 'sorted' args are keyword-only, fix 'reverse' default (#2706)Łukasz Rogalski2017-07-142-2/+2
|
* Update idlelib/NEWS.txt. (#2703)terryjreedy2017-07-141-0/+31
|
* bpo-30913: IDLE: Document tk vars, attributes, and methods for ConfigDialog ↵csabella2017-07-142-45/+440
| | | | | | (#2697) The will help writing dialog improvements and splitting the class into multiple classes. Original patch by Cheryl Sabella.
* bpo-30870: IDLE: Add configdialog fontlist selection unittest (#2666)Louie Lu2017-07-143-29/+108
| | | Initial patch by Louie Lu.
* 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
|