summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31247: xmlrpc.server: break reference cycle (#3166)Victor Stinner2017-08-212-12/+26
| | | | xmlrpc.server now explicitly breaks reference cycles when using sys.exc_info() in code handling exceptions.
* bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. ↵Stefan Krah2017-08-2113-21/+35
| | | | (#3157)
* bpo-9566 & bpo-30747: Silence warnings from pyatomic.h macros (#3140)Segev Finer2017-08-201-4/+4
| | | | | | | | | | | | | * bpo-9566: Silence warnings from pyatomic.h macros Apparently MSVC is too stupid to understand that the alternate branch is not taken and emits a warning for it. Warnings added in https://github.com/python/cpython/pull/2383 * bpo-9566: A better fix for the pyatomic.h warning * bpo-9566: Remove a slash
* bpo-28261: Fixed err msgs where PyArg_ParseTuple is used to parse normal ↵Oren Milman2017-08-208-19/+67
| | | | tuples. (#3119)
* bpo-31206: IDLE: Factor HighPage class from ConfigDialog (#3160)Cheryl Sabella2017-08-201-657/+0
| | | Part 3 of 3. Remove old highlight functions and load_config as this functionality is now contained within classes. Patch by Cheryl Sabella.
* bpo-31206: IDLE: Factor HighPage class from ConfigDialog (#3156)Cheryl Sabella2017-08-202-39/+37
| | | Patch 2 of 3, to avoid horrendous diff. Create highlights page from new HighPage class instead of old ConfigDialog methods and change tests to match.
* bpo-31234: test_threading: fix ref cycle (#3150)Victor Stinner2017-08-181-0/+2
| | | | test_bare_raise_in_brand_new_thread() now explicitly breaks a reference cycle to not leak a dangling thread.
* bpo-31206: IDLE: Factor HighPage class from ConfigDialog (#3141)Cheryl Sabella2017-08-182-0/+645
| | | | This is the first half of a patch similar to the one for for bpo-31205. It is being split into 2 PRs to avoid what happened with PR-3096 -- an incomprehensible diff that could not be cleanly backported to 3.6. This half copies several methods of ConfigDialog and turns them into a new class.
* bpo-31235: Fix ResourceWarning in test_logging (#3147)Victor Stinner2017-08-181-0/+2
|
* bpo-30830: test_logging uses threading_setup/cleanup (#3137)Victor Stinner2017-08-181-9/+14
| | | | | | | | | | | | | | | | | * bpo-30830: test_logging uses threading_setup/cleanup Replace @support.reap_threads on some methods with support.threading_setup() in setUp() and support.threading_cleanup() in tearDown() in BaseTest. * bpo-30830: test_logging disables threaded socketserver tests Disable tests because of socketserver.ThreadingMixIn leaks threads, whereas leaking threads now makes a test to fail on buildbots. Disable tests until socketserver is fixed: bpo-31233. * Skip also setup_via_listener()
* bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106)Victor Stinner2017-08-1813-103/+734
| | | | | | | | | | | | | | * bpo-30947: Update libexpat from 2.2.1 to 2.2.3 * Add NEWS entry * Add new loadlibrary.c * expat_external.h: restore include "pyexpatns.h" * PCbuild: add expat/loadlibrary.c * Define XML_POOR_ENTROPY to compile expat
* bpo-31234: fork_wait tests now join threads (#3139)Victor Stinner2017-08-181-8/+17
| | | | fork_wait.py tests now joins threads, to not leak running threads in the background.
* bpo-30923: Disable warning that has been part of -Wextra since gcc-7.0. (#3142)Stefan Krah2017-08-181-0/+6
|
* bpo-31109: Convert zipimport to use Argument Clinic (GH-2990)Yaron de Leeuw2017-08-184-160/+466
|
* Fix a minor grammar issue in the logging cookbook (GH-3136)Brett Cannon2017-08-181-1/+1
|
* bpo-31231: Fix pythoninfo in Travis config (#3134)Victor Stinner2017-08-181-1/+1
| | | | bpo-31231, bpo-30871: Replace "./python -m test.pythoninfo" with "make pythoninfo", since macOS uses ./python.exe.
* bpo-30121: Fix debug assert in subprocess on Windows (#1224)Segev Finer2017-08-182-5/+12
| | | | | | | | | * bpo-30121: Fix debug assert in subprocess on Windows This is caused by closing HANDLEs using os.close which is for CRT file descriptors and not for HANDLEs. * bpo-30121: Suppress debug assertion in test_subprocess when ran directly
* bpo-30721: Add missing '?' to new error message (GH-3131)Sanyam Khurana2017-08-182-3/+3
|
* Issue #30923: Revert flag that is not recognized by an obsolete gcc version. ↵Stefan Krah2017-08-181-3/+0
| | | | (#3132)
* bpo-30721: Show correct syntax hint in Py3 when using Py2 redirection syntax ↵Sanyam Khurana2017-08-183-0/+50
| | | | (#2345)
* bpo-30871: pythoninfo: more sys, os, time data (#3130)Victor Stinner2017-08-181-40/+82
| | | | | | | | * bpo-30871: pythoninfo: more sys, os, time data PythonInfo now converts types other than intger to string by default. * fix typo
* bpo-30871: Add "make pythoninfo" (#3120)Victor Stinner2017-08-181-0/+5
|
* Fix broken `Show Source` links on documentation pages (GH-3113)Elmar Ritsch2017-08-181-1/+1
| | | | | The `Show Source` was broken because of a change made in sphinx 1.5.1 In Sphinx 1.4.9, the sourcename was "index.txt". In Sphinx 1.5.1+, it is now "index.rst.txt"
* bpo-31183: `dis` now handles coroutines & async generators (GH-3077)syncosmic2017-08-184-26/+80
| | | | | | | | | | | | | | Coroutines and async generators use a distinct attribute name for their code objects, so this updates the `dis` module to correctly disassemble objects with those attributes. Due to the increase in the test module length, it also fixes some latent defects in the tests related to how the displayed source line numbers are extracted. https://bugs.python.org/issue31230 is a follow-up issue suggesting we may want to solve this a different way, by instead giving all these object types a common `__code__` attribute, avoiding the need for special casing in the `dis` module.
* bpo-31001: IDLE: Add tests for configdialog highlight tab (#3123)Cheryl Sabella2017-08-183-157/+671
|
* bpo-30871: pythoninfo: add expat and _decimal (#3121)Victor Stinner2017-08-171-0/+22
| | | | | | | | * bpo-30871: pythoninfo: add expat and _decimal * Remove _decimal.__version__ The string is hardcoded, not really interesting.
* Adds nuget symbols package for daily builds. (#3122)Steve Dower2017-08-172-3/+28
|
* bpo-30871: Add test.pythoninfo (#3075)Victor Stinner2017-08-174-3/+410
| | | | | | * Add Lib/test/pythoninfo.py: script collecting various informations about Python to help debugging test failures. * regrtest: remove sys.hash_info and sys.flags from header. * Travis CI, Appveyor: run pythoninfo before tests
* bpo-31221: patchcheck ignores external libraries (#3109)Victor Stinner2017-08-171-2/+20
| | | | | | | | | | | | | | | | Tools/scripts/patchcheck.py now ignores changes in directories which are copies of external libraries: * Modules/_ctypes/libffi_msvc/ * Modules/_ctypes/libffi_osx/ * Modules/_decimal/libmpdec/ * Modules/expat/ * Modules/zlib/ Drop also support for Mercurial, since CPython migrated to Git. Exclude also libmpdec patchcheck: exclude also libffi_osx and libffi_msvc
* Update the language selection in the docs language switch. (GH-3114)Julien Palard2017-08-171-1/+1
| | | Change the option for `Français` into `French` to be consistent with the other language selections that are already in English.
* bpo-24700: Add a fast path for comparing array.array of equal type (#3009)Adrian Wielgosik2017-08-173-15/+78
|
* bpo-18966: non-daemonic threads created by a multiprocessing.Process should ↵Antoine Pitrou2017-08-164-0/+33
| | | | | | | | be joined on exit (#3111) * bpo-18966: non-daemonic threads created by a multiprocessing.Process should be joined on exit * Add NEWS blurb
* bpo-31069, test_multiprocessing: Fix dangling process (#3103)Victor Stinner2017-08-161-1/+2
| | | | Fix a warning about dangling processes in test_rapid_restart() of _test_multiprocessing: join the process.
* bpo-30983: Revert changes which broke most buildbots (#3100)Victor Stinner2017-08-162-5/+2
| | | | | | | | | | * Revert "Add Bruno Penteado to ACKS (#3091)" This reverts commit f978405b3f092e4005b92ba1dbaab15f609b3bb0. * Revert "bpo-30983: eval frame rename in pep 0523 broke gdb's python extension (#2803)" This reverts commit 2e0f4db114424a00354eab889ba8f7334a2ab8f0.
* bpo-30928: Update idlelib/NEWS.txt to 2017-08-15. (#3098)Terry Jan Reedy2017-08-151-1/+29
|
* bpo-31205: IDLE: Factor KeysPage class from ConfigDialog (#3096)Cheryl Sabella2017-08-153-457/+470
| | | The slightly modified tests continue to pass. Patch by Cheryl Sabella.
* Add Windows team as a codeowner for Windows-specific files (#3089)Steve Dower2017-08-151-0/+8
|
* fix grammr in error messages in overlapped.c (GH-3095)Oren Milman2017-08-151-2/+2
|
* bpo-30714: ALPN changes for OpenSSL 1.1.0f (#2305)Christian Heimes2017-08-153-4/+8
| | | | | | | | | | OpenSSL 1.1.0 to 1.1.0e aborted the handshake when server and client could not agree on a protocol using ALPN. OpenSSL 1.1.0f changed that. The most recent version now behaves like OpenSSL 1.0.2 again. The ALPN callback can pretend to not been set. See https://github.com/openssl/openssl/pull/3158 for more details Signed-off-by: Christian Heimes <christian@python.org>
* bpo-31002: IDLE: Add tests for configdialog keys tab (#2996)Cheryl Sabella2017-08-153-188/+610
| | | Patch by Cheryl Sabella.
* Add Bruno Penteado to ACKS (#3091)Łukasz Langa2017-08-141-0/+1
|
* bpo-30983: eval frame rename in pep 0523 broke gdb's python extension (#2803)Bruno "Polaco" Penteado2017-08-141-2/+4
| | | | | | | pep 0523 renames PyEval_EvalFrameEx to _PyEval_EvalFrameDefault while the gdb python extension only looks for PyEval_EvalFrameEx to understand if it is dealing with a frame. Final effect is that attaching gdb to a python3.6 process doesnt resolve python objects. Eg. py-list and py-bt dont work properly. This patch fixes that. Tested locally on python3.6
* bpo-31191: Improve grammar in threading.Barrier docs (GH-3080)Saurabh Chaturvedi2017-08-141-2/+2
|
* bpo-30824: Add mimetype for .json (#3048)Nate Tangsurat2017-08-141-0/+1
|
* bpo-31106: Fix handling of erros in posix_fallocate() and posix_fadvise() ↵Коренберг Марк2017-08-142-10/+39
| | | | (#3000) (#3000)
* bpo-5001, bpo-31169: Fix two uninformative asserts in ↵Allen W. Smith, Ph.D2017-08-123-7/+20
| | | | | | | | | | | | | | | | multiprocessing/managers.py (#3078) * Make error message more informative Replace assertions in error-reporting code with more-informative version that doesn't cause confusion over where and what the error is. * Additional clarification + get travis to check * Change from SystemError to TypeError As suggested in PR comment by @pitrou, changing from SystemError; TypeError appears appropriate. * NEWS file installation; ACKS addition (will do my best to justify it by additional work)
* bpo-30747: Attempt to fix atomic load/store (#2383)Pär Björklund2017-08-122-10/+297
| | | | | _Py_atomic_* are currently not implemented as atomic operations when building with MSVC. This patch attempts to implement parts of the functionality required.
* Fix typo in 3.7 What's New (GH-3069)Daniel Himmelstein2017-08-111-1/+1
| | | Remove unneeded word `to`.
* bpo-31008: Fix asyncio test_wait_for_handle on Windows (#3065)Victor Stinner2017-08-101-1/+3
|
* bpo-26762: _test_multiprocessing reports dangling (#3064)Victor Stinner2017-08-101-0/+6
| | | | _test_multiprocessing now marks the test as ENV_CHANGED on dangling process or thread.