Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-35394: Add empty slots to abstract asyncio protocols (#10889) | Andrew Svetlov | 2018-12-11 | 4 | -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 Storchaka | 2018-12-11 | 1 | -1/+0 | |
| | ||||||
* | bpo-35426: Eliminate race condition in test_interprocess_signal (GH-11087) | Pablo Galindo | 2018-12-11 | 1 | -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 Galindo | 2018-12-11 | 2 | -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 Stinner | 2018-12-11 | 1 | -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 Storchaka | 2018-12-11 | 9 | -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 Storchaka | 2018-12-11 | 21 | -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 Deily | 2018-12-11 | 3 | -27/+10 | |
| | ||||||
* | bpo-35401: Update macOS installer to OpenSSL 1.1.0j (GH-11094) | Ned Deily | 2018-12-11 | 2 | -3/+4 | |
| | | | https://bugs.python.org/issue35401 | |||||
* | bpo-34977: Remove unused preprocessor definition (GH-11092) | Steve Dower | 2018-12-11 | 1 | -12/+0 | |
| | ||||||
* | bpo-35401: Update Windows build to OpenSSL 1.1.0j (GH-11088) | Steve Dower | 2018-12-11 | 4 | -13/+5 | |
| | ||||||
* | bpo-34977: Add Windows App Store package (GH-11027) | Steve Dower | 2018-12-11 | 47 | -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 Dower | 2018-12-10 | 11 | -53/+452 | |
| | | | | (GH-11029) | |||||
* | bpo-31374: expat doesn't include <pyconfig.h> on Windows (GH-11079) | Victor Stinner | 2018-12-10 | 1 | -1/+3 | |
| | ||||||
* | bpo-32788: Better error handling in sqlite3. (GH-3723) | Serhiy Storchaka | 2018-12-10 | 7 | -124/+156 | |
| | | | Propagate unexpected errors (like MemoryError and KeyboardInterrupt) to user. | |||||
* | bpo-35452: Make PySys_HasWarnOptions() never raising an exception. (GH-11075) | Serhiy Storchaka | 2018-12-10 | 1 | -1/+2 | |
| | ||||||
* | bpo-31374: Include pyconfig.h earlier in expat (GH-11064) | Victor Stinner | 2018-12-10 | 1 | -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 Heimes | 2018-12-10 | 3 | -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 Stinner | 2018-12-10 | 3 | -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 Storchaka | 2018-12-10 | 2 | -37/+28 | |
| | ||||||
* | bpo-35451: Fix reference counting for sys.warnoptions and sys._xoptions. ↵ | Serhiy Storchaka | 2018-12-10 | 1 | -2/+0 | |
| | | | | (GH-11063) | |||||
* | bpo-35433: Properly detect installed SDK versions (GH-11009) | Jeremy Kloth | 2018-12-10 | 2 | -7/+13 | |
| | ||||||
* | Remove a duplicate descriptor in gdbm. (GH-11053) | Serhiy Storchaka | 2018-12-09 | 1 | -1/+0 | |
| | ||||||
* | bpo-22005: Document the reality of pickle compatibility. (GH-11054) | Gregory P. Smith | 2018-12-09 | 1 | -1/+3 | |
| | ||||||
* | bpo-34245: install Python shared library with more standard 0755 mode (GH-8492) | jdemeyer | 2018-12-09 | 2 | -2/+3 | |
| | ||||||
* | Fix numbered lists in stdtypes.rst. (GH-10989) | Andre Delfino | 2018-12-09 | 1 | -14/+10 | |
| | ||||||
* | bpo-33725: skip test_multiprocessing_fork on macOS (GH-11043) | Ned Deily | 2018-12-09 | 2 | -0/+5 | |
| | ||||||
* | bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) | Zackery Spytz | 2018-12-08 | 7 | -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 Corchero | 2018-12-08 | 3 | -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 Bose | 2018-12-07 | 1 | -11/+16 | |
| | | | | (GH-8520) | |||||
* | bpo-9566: Fix compiler warnings in peephole.c (GH-10652) | Victor Stinner | 2018-12-07 | 1 | -21/+47 | |
| | ||||||
* | bpo-22005: Fix condition for unpickling a date object. (GH-11025) | Serhiy Storchaka | 2018-12-07 | 1 | -1/+1 | |
| | ||||||
* | Revert "bpo-34977: Add Windows App Store package (GH-10245)" (GH-11019) | Victor Stinner | 2018-12-07 | 52 | -3085/+331 | |
| | | | This reverts commit 468a15aaf9206448a744fc5eab3fc21f51966aad. | |||||
* | bpo-22005: Fixed unpickling instances of datetime classes pickled by Python ↵ | Serhiy Storchaka | 2018-12-07 | 5 | -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 Spytz | 2018-12-07 | 17 | -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 Stinner | 2018-12-07 | 3 | -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 Einat | 2018-12-07 | 5 | -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) | Mariatta | 2018-12-07 | 1 | -1/+1 | |
| | | | https://bugs.python.org/issue35434 | |||||
* | bpo-34977: Add Windows App Store package (GH-10245) | Steve Dower | 2018-12-07 | 52 | -331/+3082 | |
| | ||||||
* | Add missing period in distutils.dep_util.newer_group doc (GH-11003) | Andre Delfino | 2018-12-06 | 1 | -1/+1 | |
| | ||||||
* | Clarify expectedFailure in the unittest docs. (#10953) | Gregory P. Smith | 2018-12-06 | 1 | -2/+2 | |
| | ||||||
* | bpo-33023: Fix NotImplemented to NotImplementedError. (GH-10934) | Serhiy Storchaka | 2018-12-06 | 3 | -4/+9 | |
| | ||||||
* | Remove unused function in `testmock/support.py` (GH-10975) | Mario Corchero | 2018-12-06 | 1 | -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 Stinner | 2018-12-06 | 1 | -2/+3 | |
| | ||||||
* | bpo-35424: test_multiprocessing: join 3 pools (GH-10986) | Victor Stinner | 2018-12-06 | 1 | -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 Storchaka | 2018-12-06 | 2 | -4/+23 | |
| | | | | character. (GH-10863) | |||||
* | Revert "bpo-34172: multiprocessing.Pool leaks resources after being deleted ↵ | Victor Stinner | 2018-12-06 | 3 | -58/+24 | |
| | | | | | (GH-8450)" (GH-10971) This reverts commit 97bfe8d3ebb0a54c8798f57555cb4152f9b2e1d0. | |||||
* | bpo-33709: test_ntpath and test_posixpath fail in Windows with ACP!=1252. ↵ | native-api | 2018-12-06 | 1 | -1/+5 | |
| | | | | (GH-7278) | |||||
* | bpo-34162: Update idlelib NEWS to 2018-12-05. (GH-10964) | Terry Jan Reedy | 2018-12-06 | 1 | -0/+32 | |
| | ||||||
* | bpo-35363: test_eintr runs eintr_tester.py in verbose mode (GH-10965) | Victor Stinner | 2018-12-05 | 1 | -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. |