Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-39439: Fix multiprocessing spawn path in a venv on Windows (GH-18158) | Adam Meily | 2020-01-28 | 2 | -1/+2 | |
| | ||||||
* | bpo-39287: Doc: Add UTF-8 mode section in using/windows. (GH-17935) | Inada Naoki | 2020-01-28 | 2 | -2/+44 | |
| | | | Co-Authored-By: Kyle Stanley <aeros167@gmail.com> | |||||
* | bpo-39393: Misleading error message on dependent DLL resolution failure ↵ | Zackery Spytz | 2020-01-28 | 2 | -2/+5 | |
| | | | | (GH-18093) | |||||
* | bpo-38883: Don't use POSIX `$HOME` in `pathlib.Path.home/expanduser` on ↵ | Christoph Reiter | 2020-01-28 | 3 | -11/+20 | |
| | | | | | | | | | Windows (GH-17961) In bpo-36264 os.path.expanduser was changed to ignore HOME on Windows. Path.expanduser/home still honored HOME despite being documented as behaving the same as os.path.expanduser. This makes them also ignore HOME so that both implementations behave the same way again. | |||||
* | bpo-38644: Pass tstate in ceval.c (GH-18222) | Victor Stinner | 2020-01-28 | 1 | -6/+6 | |
| | | | Pass explicitly the Python thread state (tstate) in ceval.c. | |||||
* | bpo-36018: Minor fixes to the NormalDist() examples and recipes. (GH-18226) | Raymond Hettinger | 2020-01-27 | 1 | -5/+5 | |
| | | | | | * Change the source for the SAT data to a primary source. * Fix typo in the standard deviation * Clarify that the binomial probabalities are just for the Python room. | |||||
* | bpo-39205: Tests that highlight a hang on ProcessPoolExecutor shutdown (#18221) | Brian Quinlan | 2020-01-27 | 1 | -0/+20 | |
| | ||||||
* | bpo-39392: Turtle overlap fill depends on OS (#18223) | Terry Jan Reedy | 2020-01-27 | 2 | -0/+6 | |
| | | | | | Whether or not overlap regions for self-intersecting polygons or multiple shapes are filled depends on the operating system graphics, typeof overlap, and number of overlaps. | |||||
* | bpo-38631: Avoid Py_FatalError() in PyCode_New() (GH-18215) | Victor Stinner | 2020-01-27 | 1 | -26/+46 | |
| | | | | | | | intern_strings() now raises a SystemError, rather than calling Py_FatalError(). intern_string_constants() now reports exceptions to the caller, rather than ignoring silently exceptions. | |||||
* | bpo-38631: Avoid Py_FatalError() in _PyCodecRegistry_Init() (GH-18217) | Victor Stinner | 2020-01-27 | 1 | -16/+21 | |
| | | | | _PyCodecRegistry_Init() now reports exceptions to the caller, rather than calling Py_FatalError(). | |||||
* | bpo-30780: Add IDLE configdialog tests (#3592) | Cheryl Sabella | 2020-01-27 | 4 | -31/+149 | |
| | | | | | | | Expose dialog buttons to test code and complete their test coverage. Complete test coverage for highlights and keys tabs. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | |||||
* | Add test.test_import.data.unwritable package to makefile (#18211) | Dino Viehland | 2020-01-27 | 1 | -0/+1 | |
| | ||||||
* | bpo-38631: Avoid Py_FatalError() in _memory_release() (GH-18214) | Victor Stinner | 2020-01-27 | 1 | -1/+2 | |
| | | | | | If the export count is negative, _memory_release() now raises a SystemError and returns -1, rather than calling Py_FatalError() which aborts the process. | |||||
* | bpo-38631: Avoid Py_FatalError() in PyModule_Create2() (GH-18212) | Victor Stinner | 2020-01-27 | 1 | -2/+5 | |
| | | | | | | | If PyModule_Create2() is called when the Python import machinery is not initialized, it now raises a SystemError and returns NULL, instead of calling Py_FatalError() which aborts the process. The caller must be prepared to handle NULL anyway. | |||||
* | bpo-39459: test.pythoninfo logs effective uid/gid (GH-18203) | Victor Stinner | 2020-01-27 | 1 | -9/+14 | |
| | | | Fix also umask formatting: use octal prefix. | |||||
* | bpo-39453: Add testcase for bpo-39453 (GH-18202) | Dong-hee Na | 2020-01-27 | 2 | -1/+3 | |
| | | | | | | | | | https://bugs.python.org/issue39453 Automerge-Triggered-By: @pablogsal Automerge-Triggered-By: @pablogsal | |||||
* | Ignore NEWS snippets in code coverage stats (GH-18194) | Nick Coghlan | 2020-01-28 | 1 | -1/+1 | |
| | ||||||
* | bpo-39453: Make list.__contains__ hold strong references to avoid crashes ↵ | Dong-hee Na | 2020-01-27 | 3 | -1/+13 | |
| | | | | (GH-18181) | |||||
* | Clarify and fix assertions that mocks have not been awaited (GH-18196) | Chris Withers | 2020-01-27 | 2 | -27/+30 | |
| | | | | | - The gc.collect is needed for other implementations, such as pypy - Using context managers over multiple lines will only catch the warning from the first line in the context! - remove a skip for a test that no longer fails on pypy | |||||
* | Use relative imports in mock and its tests to help backporting (GH-18197) | Chris Withers | 2020-01-27 | 3 | -79/+82 | |
| | | | | | | | | * asyncio.run only available in 3.8+ * iscoroutinefunction has important bungfixes in 3.8 * IsolatedAsyncioTestCase only available in 3.8+ | |||||
* | Fix so that test.test_distutils can be executed by unittest and not just ↵ | Toshio Kuratomi | 2020-01-27 | 1 | -0/+6 | |
| | | | | regrtest (GH-13480) | |||||
* | bpo-39320: Handle unpacking of **values in compiler (GH-18141) | Mark Shannon | 2020-01-27 | 10 | -3662/+3670 | |
| | | | | | | | | | | | | | * Add DICT_UPDATE and DICT_MERGE bytecodes. Use them for ** unpacking. * Remove BUILD_MAP_UNPACK and BUILD_MAP_UNPACK_WITH_CALL, as they are now unused. * Update magic number for ** unpacking opcodes. * Update dis.rst to incorporate new bytecodes. * Add blurb entry. | |||||
* | bpo-25597: Ensure wraps' return value is used for magic methods in MagicMock ↵ | Karthikeyan Singaravelan | 2020-01-27 | 3 | -0/+56 | |
| | | | | (#16029) | |||||
* | bpo-36018: Add another example for NormalDist() (#18191) | Raymond Hettinger | 2020-01-25 | 1 | -0/+36 | |
| | ||||||
* | Fix linecache.py add lazycache to __all__ and use dict.clear to clear the ↵ | 加和 | 2020-01-25 | 2 | -18/+21 | |
| | | | | cache (GH-4641) | |||||
* | bpo-39374: Updated sorting documentation (GH-18177) | Juhana Jauhiainen | 2020-01-25 | 1 | -4/+6 | |
| | ||||||
* | bpo-36654: Add examples for using tokenize module programmically (#12947) | Windson yang | 2020-01-25 | 1 | -0/+19 | |
| | ||||||
* | bpo-15243: Document __prepare__ as classmethod (GH-17124) | alclarks | 2020-01-25 | 1 | -1/+2 | |
| | ||||||
* | bpo-38932: Mock fully resets child objects on reset_mock(). (GH-17409) | Vegard Stikbakke | 2020-01-25 | 3 | -2/+15 | |
| | ||||||
* | Update 3.8.rst (GH-18173) | fireattack | 2020-01-25 | 1 | -1/+1 | |
| | | | Fixed the name of the contributor (@selik). | |||||
* | Post 3.9.0a3 | Łukasz Langa | 2020-01-25 | 1 | -1/+1 | |
| | ||||||
* | Merge tag 'v3.9.0a3' | Łukasz Langa | 2020-01-25 | 89 | -275/+1024 | |
|\ | | | | | | | Python 3.9.0a3 | |||||
| * | Python 3.9.0a3v3.9.0a3 | Łukasz Langa | 2020-01-24 | 89 | -275/+1024 | |
| | | ||||||
* | | bpo-37955: correct mock.patch docs with respect to the returned type (GH-15521) | Paulo Henrique Silva | 2020-01-25 | 2 | -2/+4 | |
| | | ||||||
* | | bpo-39082: Allow AsyncMock to correctly patch static/class methods (GH-18116) | Matthew Kokotovich | 2020-01-25 | 3 | -0/+26 | |
| | | ||||||
* | | bpo-39388: IDLE: Fix bug when cancelling out of configdialog (GH-18068) | Cheryl Sabella | 2020-01-25 | 4 | -8/+19 | |
|/ | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | |||||
* | bpo-39430: Fix race condition in lazy imports in tarfile. (GH-18161) | Serhiy Storchaka | 2020-01-24 | 2 | -10/+9 | |
| | | | Use `from ... import ...` to ensure module is fully loaded before accessing its attributes. | |||||
* | bpo-38631: Avoid Py_FatalError() in GC collect() (GH-18164) | Victor Stinner | 2020-01-24 | 1 | -7/+1 | |
| | | | | | | | collect() should not get an exception, but it does, logging the exception is enough. Override sys.unraisablehook to decide how to handle unraisable exceptions. Py_FatalError() should be avoided whenever possible. | |||||
* | bpo-39390 shutil: fix argument types for ignore callback (GH-18122) | mbarkhau | 2020-01-24 | 3 | -1/+45 | |
| | ||||||
* | bpo-38473: Handle autospecced functions and methods used with attach_mock ↵ | Karthikeyan Singaravelan | 2020-01-24 | 3 | -0/+35 | |
| | | | | (GH-16784) | |||||
* | bpo-39395: putenv() and unsetenv() always available (GH-18135) | Victor Stinner | 2020-01-24 | 12 | -154/+52 | |
| | | | | | | | | The os.putenv() and os.unsetenv() functions are now always available. On non-Windows platforms, Python now requires setenv() and unsetenv() functions to build. Remove putenv_dict from posixmodule.c: it's not longer needed. | |||||
* | bpo-39413: Implement os.unsetenv() on Windows (GH-18163) | Victor Stinner | 2020-01-24 | 6 | -49/+150 | |
| | | | The os.unsetenv() function is now also available on Windows. | |||||
* | bpo-39361: Document the removal of PyTypeObject.tp_print (GH-18125) | Ammar Askar | 2020-01-24 | 1 | -0/+5 | |
| | ||||||
* | bpo-39426: Fix outdated default and highest protocols in docs (GH-18154) | Mark Dickinson | 2020-01-24 | 3 | -19/+21 | |
| | | | | | | Some portions of the pickle documentation hadn't been updated for the pickle protocol changes in Python 3.8 (new protocol 5, default protocol 4). This PR fixes those docs. https://bugs.python.org/issue39426 | |||||
* | bpo-39429: Add a new "Python Development Mode" doc page (GH-18132) | Victor Stinner | 2020-01-24 | 13 | -49/+268 | |
| | ||||||
* | Fix `mock.patch.dict` to be stopped with `mock.patch.stopall` (#17606) | Mario Corchero | 2020-01-24 | 3 | -2/+69 | |
| | | | | | As the function was not registering in the active patches, the mocks started by `mock.patch.dict` were not being stopped when `mock.patch.stopall` was being called. | |||||
* | bpo-24928: Add test case for patch.dict using OrderedDict (GH -11437) | Emmanuel Arias | 2020-01-24 | 1 | -0/+20 | |
| | | | | | * add test for path.dict using OrderedDict Co-authored-by: Yu Tomita nekobon@users.noreply.github.com | |||||
* | bpo-17005: Minor improvements to the documentation of TopologicalSorter ↵ | Pablo Galindo | 2020-01-23 | 1 | -75/+67 | |
| | | | | (GH-18155) | |||||
* | bpo-39431: Also mention nonlocal in assignment quirk (GH-17375) | Shanavas M | 2020-01-23 | 1 | -4/+4 | |
| | ||||||
* | bpo-17005: Add a class to perform topological sorting to the standard ↵ | Pablo Galindo | 2020-01-23 | 6 | -3/+738 | |
| | | | | | library (GH-11583) Co-Authored-By: Tim Peters <tim.peters@gmail.com> |