Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | bpo-35389: test.pythoninfo logs platform.libc_ver (GH-10951) | Victor Stinner | 2018-12-05 | 1 | -0/+4 | |
| | ||||||
* | Fix typo in xml.dom.minidom documentation (GH-10956) | E Kawashima | 2018-12-05 | 1 | -1/+1 | |
| | | | | Escape the \t and \n. Follow up from https://github.com/python/cpython/pull/10814. | |||||
* | bpo-35344: platform.platform() uses mac_ver() on macOS (GH-10780) | Victor Stinner | 2018-12-05 | 4 | -0/+49 | |
| | | | | | On macOS, platform.platform() now uses mac_ver(), if it returns a non-empty release string, to get the macOS version rather than darwin version. | |||||
* | Fix typos in concurrent.Futures documentation (GH-10920) | Matt Wheeler | 2018-12-05 | 1 | -2/+2 | |
| | | | | Add a missing word `as` in `as well as an`. Linkify `threading.Thread`. | |||||
* | bpo-35310: Clear select() lists before returning upon EINTR (GH-10877) | Oran Avraham | 2018-12-05 | 2 | -0/+8 | |
| | | | | | | select() calls are retried on EINTR (per PEP 475). However, if a timeout was provided and the deadline has passed after running the signal handlers, rlist, wlist and xlist should be cleared since select(2) left them unmodified. | |||||
* | bpo-34738: Add directory entries in ZIP files created by distutils. (GH-9419) | Serhiy Storchaka | 2018-12-05 | 5 | -10/+27 | |
| | ||||||
* | Correct a couple of unbalanced parenthesis. (GH-10779) | Andre Delfino | 2018-12-05 | 11 | -15/+15 | |
| | ||||||
* | Move __missing__ after __delitem__ in Data model. (GH-10923) | Andre Delfino | 2018-12-05 | 1 | -8/+8 | |
| | ||||||
* | bpo-34185: Fix test module collision in test_bdb when ran as script. (GH-8537) | Alex H | 2018-12-05 | 1 | -8/+8 | |
| | | | | | | When running test_bdb.py as a script, `import test_module` would be importing the existing Lib/test/test_modules.py instead of the tempcwd/test_module.py module which was dynamically created by test_bdb.py itself. | |||||
* | bpo-34604: Use %R because of invisible characters or trailing whitespaces. ↵ | William Grzybowski | 2018-12-05 | 3 | -3/+4 | |
| | | | | (GH-9165) | |||||
* | bpo-34987: Fix a possible null pointer dereference in _pickle.c's ↵ | Zackery Spytz | 2018-12-05 | 1 | -1/+4 | |
| | | | | save_reduce(). (GH-9886) | |||||
* | bpo-34052: Prevent SQLite functions from setting callbacks on exceptions. ↵ | Sergey Fedoseev | 2018-12-05 | 3 | -37/+84 | |
| | | | | (GH-8113) |