summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* test_multiprocessing: Fix dangling process/thread (#2850)Victor Stinner2017-07-241-2/+22
| | | | | | | bpo-26762: Fix more dangling processes and threads in test_multiprocessing: * Queue: call close() followed by join_thread() * Process: call join() or self.addCleanup(p.join)
* Minor typo in curses.rst (#2763)waxmoon2017-07-241-1/+1
| | | I found a tiny typo in the curses how-to: changed 'Thy' to 'The' on line 68.
* bpo-30980: Fix double close in asyncore.file_wrapper (#2789)Nir Soffer2017-07-242-2/+6
| | | | | | | | | | | | | | | * bpo-30980: Fix close test to fail test_close_twice was not considering the fact that file_wrapper is duping the file descriptor. Closing the original descriptor left the duped one open, hiding the fact that close protection is not effective. * bpo-30980: Fix double close protection Invalidated self.fd before closing, handling correctly the case when os.close raises. * bpo-30980: Fix fd leak introduced in the fixed test
* bpo-30188: test_nntplib catch also ssl.SSLEOFError (#2843)Victor Stinner2017-07-241-1/+6
| | | | Catch also ssl.SSLEOFError in NetworkedNNTPTests setUpClass(). EOFError was already catched.
* bpo-26762: Avoid daemon process in _test_multiprocessing (#2842)Victor Stinner2017-07-241-2/+4
| | | | | test_level() of _test_multiprocessing._TestLogging now uses regular processes rather than daemon processes to prevent zombi processes (to not "leak" processes).
* More Mac installer fixes for git-based workflow (#2839)Ned Deily2017-07-241-7/+23
|
* bpo-30993: IDLE - Improve configdialog font page and tests. (#2831)Terry Jan Reedy2017-07-243-201/+216
| | | | | | In configdialog: Document causal pathways in create_font_tab docstring. Simplify some attribute names. Move set_samples calls to var_changed_font (idea from Cheryl Sabella). Move related functions to positions after the create widgets function. In test_configdialog: Fix test_font_set so not order dependent. Fix renamed test_indent_scale so it tests the widget. Adjust tests for movement of set_samples call. Add tests for load functions. Put all font tests in one class and tab indent tests in another. Except for two lines, these tests completely cover the related functions.
* bpo-30456: Clarify example for duplicates in second argument of isinstance ↵Eli Boyarski2017-07-241-1/+2
| | | | (GH-1699)
* Mac installer build now needs venv for docs build (#2828)Ned Deily2017-07-231-3/+3
|
* bpo-30993: IDLE - Improve configdialog font page and tests. (#2818)Terry Jan Reedy2017-07-233-56/+69
| | | | | | | | * Document causal event pathways in docstring. * Simplify some attribute names. * Rename test_bold_toggle_set_samples to make test_font_set fail. * Fix test_font_set so not order dependent. * Fix renamed test_indent_scale so it tests the widget.
* bpo-30919: shared memory allocation performance regression in ↵Antoine Pitrou2017-07-232-10/+20
| | | | | | | | | | multiprocessing (#2708) * Fix #30919: shared memory allocation performance regression in multiprocessing * Change strategy for Arena directory choice * Add blurb
* bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command ↵Dong-hee Na2017-07-223-1/+10
| | | | (#1214)
* bpo-26732: fix too many fds in processes started with the "forkserver" ↵Antoine Pitrou2017-07-225-33/+75
| | | | | | | | | | method (#2813) * bpo-26732: fix too many fds in processes started with the "forkserver" method A child process would inherit as many fds as the number of still-running children. * Add blurb and test comment
* bpo-30981: IDLE: Augment one configdialog font page test (#2810)Terry Jan Reedy2017-07-222-14/+32
| | | | Remove broken test of bold_toggle and test it along with its command, set_samples. This has been incorporated into 3.6 backport PR-2796.
* Fix test failure without ctypes (#2802)Antoine Pitrou2017-07-211-1/+1
|
* bpo-30891: Fix again importlib _find_and_load() (#2665)Victor Stinner2017-07-212-356/+357
| | | | | | | | | Use sys.modules.get() in the "with _ModuleLockManager(name):" block to protect the dictionary key with the module lock and use an atomic get to prevent race condition. Remove also _bootstrap._POPULATE since it was unused (_bootstrap_external now has its own _POPULATE object), add a new _SENTINEL object instead.
* bpo-19896: Add typecodes 'q' and 'Q' to multiprocessing.sharedctypes (#2741)Gareth Rees2017-07-213-11/+20
| | | | | | | | | | * bpo-19896: Add typcodes 'q' and 'Q' to multiprocessing.sharedctypes. Patch by Antony Lee. * Add NEWS entry. * Slightly tweak NEWS entry Make it clear this is more of a fix rather than a new feature.
* bpo-30981: temporarity skip failing IDLE test class (#2798)Terry Jan Reedy2017-07-212-3/+5
|
* bpo-30981: IDLE -- Add more configdialog font page tests. (#2794)Terry Jan Reedy2017-07-213-63/+54
|
* bpo-28523: IDLE: Use 'color' instead of 'colour'. (#2787)Terry Jan Reedy2017-07-212-54/+55
|
* bpo-30964: Mention ensurepip in package installation docs (GH-2786)Nicholas2017-07-212-0/+12
| | | | | | | Adds a new 'Pip not installed' section that covers running `ensurepip` manually, and also references the relevant section of the Python Packaging User Guide.
* bpo-30822: Fix testing of datetime module. (#2530) (#2783)Utkarsh Upadhyay2017-07-214-9/+15
| | | Only C implementation was tested.
* 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.