summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-35394: Add empty slots to abstract asyncio protocols (#10889)Andrew Svetlov2018-12-114-24/+68
| | | | | | * bpo-35394: Add empty slots to abstract asyncio protocols * Add missing test file
* Remove an unused variable after bpo-35444. (GH-11117)Serhiy Storchaka2018-12-111-1/+0
|
* bpo-35426: Eliminate race condition in test_interprocess_signal (GH-11087)Pablo Galindo2018-12-111-22/+18
| | | The test only except SIGUSR1Exception inside wait_signal(), but the signal can be sent during subprocess_send_signal() call.
* bpo-35412: Skip test_multiprocessing_fork and ↵Pablo Galindo2018-12-112-0/+7
| | | | | test_multiprocessing_forkserver on Windows (GH-11086) Forkserver and fork are not available on Windows and therefore these test must be skipped.
* bpo-35458: Fix test_shutil.test_disk_usage() (GH-11111)Victor Stinner2018-12-111-1/+5
| | | | | | | | | | The following test fails if a different process creates or removes a file on the same disk partition between the two lines: usage = shutil.disk_usage(os.path.dirname(__file__)) self.assertEqual(usage, shutil.disk_usage(__file__)) Only test that disk_usage() succeed on a filename, but don't check the result. Add also tests on the fields type (must be int).
* bpo-35454: Fix miscellaneous minor issues in error handling. (#11077)Serhiy Storchaka2018-12-119-23/+44
| | | | | | * bpo-35454: Fix miscellaneous minor issues in error handling. * Fix a null pointer dereference.
* bpo-35444: Unify and optimize the helper for getting a builtin object. ↵Serhiy Storchaka2018-12-1121-72/+68
| | | | | | | | (GH-11047) This speeds up pickling of some iterators. This fixes also error handling in pickling methods when fail to look up builtin "getattr".
* bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)Ned Deily2018-12-113-27/+10
|
* bpo-35401: Update macOS installer to OpenSSL 1.1.0j (GH-11094)Ned Deily2018-12-112-3/+4
| | | https://bugs.python.org/issue35401
* bpo-34977: Remove unused preprocessor definition (GH-11092)Steve Dower2018-12-111-12/+0
|
* bpo-35401: Update Windows build to OpenSSL 1.1.0j (GH-11088)Steve Dower2018-12-114-13/+5
|
* bpo-34977: Add Windows App Store package (GH-11027)Steve Dower2018-12-1147-405/+2928
| | | Also adds the PC/layout script for generating layouts on Windows.
* bpo-34977: Use venv redirector instead of original python.exe on Windows ↵Steve Dower2018-12-1011-53/+452
| | | | (GH-11029)
* bpo-31374: expat doesn't include <pyconfig.h> on Windows (GH-11079)Victor Stinner2018-12-101-1/+3
|
* bpo-32788: Better error handling in sqlite3. (GH-3723)Serhiy Storchaka2018-12-107-124/+156
| | | Propagate unexpected errors (like MemoryError and KeyboardInterrupt) to user.
* bpo-35452: Make PySys_HasWarnOptions() never raising an exception. (GH-11075)Serhiy Storchaka2018-12-101-1/+2
|
* bpo-31374: Include pyconfig.h earlier in expat (GH-11064)Victor Stinner2018-12-101-0/+1
| | | | | | Include <pyconfig.h> ealier in Modules/expat/xmltok.c to define properly _POSIX_C_SOURCE. Python defines _POSIX_C_SOURCE as 200809L, whereas <features.h> (included indirectly by <string.h>) defines _POSIX_C_SOURCE as 199506L.
* bpo-35050: AF_ALG length check off-by-one error (GH-10058)Christian Heimes2018-12-103-3/+24
| | | | | | | | The length check for AF_ALG salg_name and salg_type had a off-by-one error. The code assumed that both values are not necessarily NULL terminated. However the Kernel code for alg_bind() ensures that the last byte of both strings are NULL terminated. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-35052: Fix handler on xml.dom.minidom.cloneNode() (GH-11061)Victor Stinner2018-12-103-4/+57
| | | | | | | | | | | Fix xml.dom.minidom cloneNode() on a document with an entity: pass the correct arguments to the user data handler of an entity (fix an old copy/paste mistake). Bug spotted and fix proposed by Charalampos Stratakis, initial reproducer written by Petr Viktorin. Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com> Co-Authored-By: Petr Viktorin <encukou@gmail.com>
* bpo-35445: Do not ignore memory errors when create posix.environ. (GH-11049)Serhiy Storchaka2018-12-102-37/+28
|
* bpo-35451: Fix reference counting for sys.warnoptions and sys._xoptions. ↵Serhiy Storchaka2018-12-101-2/+0
| | | | (GH-11063)
* bpo-35433: Properly detect installed SDK versions (GH-11009)Jeremy Kloth2018-12-102-7/+13
|
* Remove a duplicate descriptor in gdbm. (GH-11053)Serhiy Storchaka2018-12-091-1/+0
|
* bpo-22005: Document the reality of pickle compatibility. (GH-11054)Gregory P. Smith2018-12-091-1/+3
|
* bpo-34245: install Python shared library with more standard 0755 mode (GH-8492)jdemeyer2018-12-092-2/+3
|
* Fix numbered lists in stdtypes.rst. (GH-10989)Andre Delfino2018-12-091-14/+10
|
* bpo-33725: skip test_multiprocessing_fork on macOS (GH-11043)Ned Deily2018-12-092-0/+5
|
* bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033)Zackery Spytz2018-12-087-30/+25
| | | | | | | | | | In _localemodule.c and selectmodule.c, remove dead code that would cause double decrefs if run. In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases where a new list is populated and there is no possibility of an error. In addition, check if the list changed size in the loop in array_array_fromlist().
* bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)Mario Corchero2018-12-083-11/+136
| | | | | | | | | | | | | | | | | | | | | | | * tests: Further validate `wraps` functionality in `unittest.mock.Mock` Add more tests to validate how `wraps` interacts with other features of mocks. * Don't call the wrapped object if `side_effect` is set When a object is wrapped using `Mock(wraps=...)`, if an user sets a `side_effect` in one of their methods, return the value of `side_effect` and don't call the original object. * Refactor what to be called on `mock_call` When a `Mock` is called, it should return looking up in the following order: `side_effect`, `return_value`, `wraps`. If any of the first two return `mock.DEFAULT`, lookup in the next option. It makes no sense to check for `wraps` returning default, as it is supposed to be the original implementation and there is nothing to fallback to.
* bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests ↵Anirudha Bose2018-12-071-11/+16
| | | | (GH-8520)
* bpo-9566: Fix compiler warnings in peephole.c (GH-10652)Victor Stinner2018-12-071-21/+47
|
* bpo-22005: Fix condition for unpickling a date object. (GH-11025)Serhiy Storchaka2018-12-071-1/+1
|
* Revert "bpo-34977: Add Windows App Store package (GH-10245)" (GH-11019)Victor Stinner2018-12-0752-3085/+331
| | | This reverts commit 468a15aaf9206448a744fc5eab3fc21f51966aad.
* bpo-22005: Fixed unpickling instances of datetime classes pickled by Python ↵Serhiy Storchaka2018-12-075-95/+333
| | | | | | 2. (GH-11017) encoding='latin1' should be used for successful decoding.
* bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. ↵Zackery Spytz2018-12-0717-27/+113
| | | | | | (GH-11015) Set MemoryError when appropriate, add missing failure checks, and fix some potential leaks.
* bpo-35346, platform: replace os.popen() with subprocess (GH-10786)Victor Stinner2018-12-073-48/+30
| | | | | | | | | | | Replace os.popen() with subprocess.check_output() in the platform module: * platform.uname() (its _syscmd_ver() helper function) now redirects stderr to DEVNULL. * Remove platform.DEV_NULL. * _syscmd_uname() and _syscmd_file() no longer catch AttributeError. The "except AttributeError:" was only needed in Python 2, when os.popen() was not always available. In Python 3, subprocess.check_output() is always available.
* bpo-34864: warn if "Prefer tabs when opening documents" set to "Always" (#10464)Tal Einat2018-12-075-9/+69
| | | | | | | | | | | | * bpo-34864: warn if "Prefer tabs when opening documents" set to "Always" * add NEWS entry * address code review comments * address second code review comments * Add entry for idlelib/NEWS.txt.
* bpo-35434 Fix wrong issue number in what's new in 3.8 (GH-11012)Mariatta2018-12-071-1/+1
| | | https://bugs.python.org/issue35434
* bpo-34977: Add Windows App Store package (GH-10245)Steve Dower2018-12-0752-331/+3082
|
* Add missing period in distutils.dep_util.newer_group doc (GH-11003)Andre Delfino2018-12-061-1/+1
|
* Clarify expectedFailure in the unittest docs. (#10953)Gregory P. Smith2018-12-061-2/+2
|
* bpo-33023: Fix NotImplemented to NotImplementedError. (GH-10934)Serhiy Storchaka2018-12-063-4/+9
|
* Remove unused function in `testmock/support.py` (GH-10975)Mario Corchero2018-12-061-7/+0
| | | | The function is never imported and the implementation is actually buggy. As `warnings.catch_warnings` is not imported here.
* bpo-35363: test_eintr uses print(flush=True) (GH-10990)Victor Stinner2018-12-061-2/+3
|
* bpo-35424: test_multiprocessing: join 3 pools (GH-10986)Victor Stinner2018-12-061-0/+3
| | | | | | Join 3 pools in these tests: * test.test_multiprocessing_spawn.WithProcessesTestPool.test_context * test.test_multiprocessing_spawn.WithProcessesTestPool.test_traceback
* bpo-35384: The repr of ctypes.CArgObject no longer fails for non-ascii ↵Serhiy Storchaka2018-12-062-4/+23
| | | | character. (GH-10863)
* Revert "bpo-34172: multiprocessing.Pool leaks resources after being deleted ↵Victor Stinner2018-12-063-58/+24
| | | | | (GH-8450)" (GH-10971) This reverts commit 97bfe8d3ebb0a54c8798f57555cb4152f9b2e1d0.
* bpo-33709: test_ntpath and test_posixpath fail in Windows with ACP!=1252. ↵native-api2018-12-061-1/+5
| | | | (GH-7278)
* bpo-34162: Update idlelib NEWS to 2018-12-05. (GH-10964)Terry Jan Reedy2018-12-061-0/+32
|
* bpo-35363: test_eintr runs eintr_tester.py in verbose mode (GH-10965)Victor Stinner2018-12-051-1/+15
| | | | | Moreover, "python3 -m test test_eintr -v" now avoids redirecting stdout/stderr to a pipe, the child process inherits stdout/stderr from the parent.