summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge tag 'v3.10.0a3'Pablo Galindo2020-12-08148-372/+1573
|\ | | | | | | Python 3.10.0a3
| * Python 3.10.0a3v3.10.0a3Pablo Galindo2020-12-07148-372/+1573
| |
* | bpo-41462: Add os.set_blocking() support for VxWorks RTOS (GH-21713)pxinwr2020-12-072-1/+4
| |
* | bpo-42579: Make workaround for various versions of Sphinx more robust (GH-23662)Matěj Cepl2020-12-071-1/+6
|/ | | | | | The solution in gh#python/cpython#13236 is too strict because it effectively requires the use of Sphinx >= 2.0. It is not too difficult to make the same solution more robust so it works with all normal versions of Sphinx.
* bpo-39825: Fixes sysconfig.get_config_var('EXT_SUFFIX') on Windows to match ↵Matti Picus2020-12-073-2/+10
| | | | distutils (GH-22088)
* bpo-30459: Cast the result of PyCell_SET to void (GH-23654)Victor Stinner2020-12-073-3/+14
|
* bpo-41889: [Enum] fix multiple-inheritance regression (GH-22487)Ethan Furman2020-12-073-3/+35
|
* Update macos installer ReadMe for 3.10.0a3 (GH-23671)Ned Deily2020-12-071-2/+10
|
* bpo-42508: Keep IDLE running on macOS (GH-23577)Terry Jan Reedy2020-12-073-19/+14
| | | | | Remove obsolete workaround that prevented running files with shortcuts when using new universal2 installers built on macOS 11. Ignore buggy 2nd run_module_event call.
* bpo-38843: Document behavior of default when the attribute is already set ↵Raymond Hettinger2020-12-071-1/+9
| | | | (GH-23653)
* bpo-42582: Remove asyncio._all_tasks_compat(). (GH-23664)Serhiy Storchaka2020-12-062-28/+0
| | | It was used to implement now removed asyncio.Task.all_tasks().
* bpo-42576: Clarify only debug builds are affected in news (GH-23663)kj2020-12-061-1/+2
|
* bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call ↵idanw2062020-12-063-1/+12
| | | | | | its __bool__ function (GH23613) Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function
* bpo-42576: Raise TypeError when passing in keyword arguments to GenericAlias ↵kj2020-12-053-1/+9
| | | | | | | | | (GH-23656) Use `_PyArg_NoKeywords` instead of `_PyArg_NoKwnames` when checking the `kwds` tuple when creating `GenericAlias`. This fixes an interpreter crash when passing in keyword arguments to `GenericAlias`'s constructor. Needs backport to 3.9. Automerge-Triggered-By: GH:gvanrossum
* GH-5054: CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed (#23638)Senthil Kumaran2020-12-053-8/+41
|
* bpo-30459: Cast the result of PyList_SET_ITEM() to void (GH-19975)Zackery Spytz2020-12-053-2/+4
| | | Do the same for PyTuple_SET_ITEM().
* bpo-41116: Fix setup.py test for macOS Tcl/Tk frameworks (GH-23649)Ned Deily2020-12-051-1/+2
| | | | | | If no explicit macOS SDK was specified, setup.py should check for Tcl and TK frameworks in /Library/Frameworks; the previous commit inadvertently broke that test.
* bpo-42536: GC track recycled tuples (GH-23623)Brandt Bucher2020-12-0512-0/+192
| | | | | | | | | | | | | | | | Several built-in and standard library types now ensure that their internal result tuples are always tracked by the garbage collector: - collections.OrderedDict.items - dict.items - enumerate - functools.reduce - itertools.combinations - itertools.combinations_with_replacement - itertools.permutations - itertools.product - itertools.zip_longest - zip Previously, they could have become untracked by a prior garbage collection.
* bpo-26131: Deprecate usage of load_module() (GH-23469)Brett Cannon2020-12-0425-3033/+3244
| | | Raise an ImportWarning when the import system falls back on load_module(). As for implementations of load_module(), raise a DeprecationWarning.
* bpo-42545: Improve the error message in the stable API script (GH-23648)Pablo Galindo2020-12-041-21/+41
|
* bpo-42545: Check that all symbols in the limited ABI are exported (GH-23616)Pablo Galindo2020-12-045-0/+1027
|
* bpo-17735: inspect.findsource now raises OSError when co_lineno is out of ↵Irit Katriel2020-12-043-1/+21
| | | | | range (GH-23633) This can happen when a file was edited after it was imported.
* bpo-31904: fix test_doctest.py failures for VxWorks (GH-23419)pxinwr2020-12-042-1/+3
| | | | Fix test_doctest.py failures for VxWorks by avoiding exact error message checks. (better for everyone all around)
* bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630)Irit Katriel2020-12-044-4/+49
|
* bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637)Victor Stinner2020-12-042-5/+3
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1866884 is fixed in gdb 10.1 (failed to reproduce on gdb-10.1-1.fc34.aarch64).
* bpo-42246: Don't forget the entry block when ensuring that all exits have a ↵Mark Shannon2020-12-044-4/+28
| | | | | line number (GH-23636) Don't forget the entry block when ensuring that all exits have a line number.
* bpo-42562: Fix issue when dis failed to parse function that has no line ↵Yurii Karabas2020-12-043-1/+20
| | | | | | numbers (GH-23632) Fix issue when dis failed to parse function that has only annotations
* bpo-42523: Fix supported versions in "Using Python on Windows" (GH-23603)Zackery Spytz2020-12-031-2/+2
|
* bpo-42262: Py_NewRef() casts its argument to PyObject* (GH-23626)Victor Stinner2020-12-032-5/+33
| | | Write also unit tests on Py_NewRef() and Py_XNewRef().
* bpo-42553: Fix test_asyncio.test_call_later() (GH-23627)Victor Stinner2020-12-032-3/+3
| | | | | Fix test_asyncio.test_call_later() race condition: don't measure asyncio performance in the call_later() unit test. The test failed randomly on the CI.
* bpo-42431: Fix outdated bytes comments (GH-23458)Serhiy Storchaka2020-12-0311-60/+65
| | | | Also move definitions of internal macros F_LJUST etc to private header.
* bpo-42328: Skip some tests with themes vista and xpnative on Windows 7 ↵Serhiy Storchaka2020-12-031-0/+9
| | | | (GH-23612)
* Remove the conditional for setting query. (#23604)Senthil Kumaran2020-12-031-2/+1
|
* bpo-42504: fix for MACOSX_DEPLOYMENT_TARGET=11 (GH-23556)FX Coudert2020-12-035-7/+12
| | | | macOS releases numbering has changed as of macOS 11 Big Sur. Previously, major releases were of the form 10.x, 10.x+1, 10.x+2, etc; as of Big Sur, they are now x, x+1, etc, so, for example, 10.15, 10.15.1, ..., 10.15.7, 11, 11.0.1, 11.1, ..., 12, 12.1, etc. Allow Python to build with single-digit deployment target values. Patch provided by FX Coudert.
* bpo-41625: Do not add os.splice on AIX due to compatibility issues (GH-23608)Pablo Galindo2020-12-022-4/+4
|
* bpo-42521: Add note about 'Python -d' only working on debug builds (GH-23607)Pablo Galindo2020-12-021-1/+2
|
* bpo-42246: Make sure that line number is correct after a return, as required ↵Mark Shannon2020-12-027-4818/+4967
| | | | | by PEP 626 (GH-23495) Make sure that line number is correct after a return, as defined by PEP 626.
* bpo-42500: Fix recursion in or after except (GH-23568)Mark Shannon2020-12-029-72/+76
| | | * Use counter, rather boolean state when handling soft overflows.
* Correct return type in Modules/_ssl.c::sslmodule_legacy (GH-23609)Pablo Galindo2020-12-021-1/+1
|
* bpo-40939: Restore some stable API functions incorrectly deleted (GH-23606)Pablo Galindo2020-12-021-8/+103
|
* bpo-31904: Fix test_netrc for VxWorks RTOS (GH-21675)pxinwr2020-12-012-48/+43
| | | Fix test_netrc on VxWorks: create temporary directories using temp_cwd().
* bpo-37221: PyCode_New() didn't change in Python 3.8 (GH-23595)Victor Stinner2020-12-011-3/+0
|
* build(deps): bump actions/upload-artifact from v2.2.0 to v2.2.1 (GH-23583)dependabot[bot]2020-12-011-1/+1
| | | | | | | | | Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.0 to v2.2.1. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.0...726a6dcd0199f578459862705eed35cda05af50b) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump actions/cache from v2.1.2 to v2.1.3 (23582)dependabot[bot]2020-12-012-2/+2
| | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from v2.1.2 to v2.1.3. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.2...0781355a23dac32fd3bac414512f4b903437991a) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* [doc] Fix abc.update_abstractmethods markup (GH-23576)Andre Delfino2020-12-011-1/+2
| | | Add link to ABCMeta while at it.
* Fix bz2 examples markup (#23580)Andre Delfino2020-12-011-8/+0
|
* bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587)Victor Stinner2020-12-0148-98/+102
| | | | | | | | | No longer use deprecated aliases to functions: * Replace PyObject_MALLOC() with PyObject_Malloc() * Replace PyObject_REALLOC() with PyObject_Realloc() * Replace PyObject_FREE() with PyObject_Free() * Replace PyObject_Del() with PyObject_Free() * Replace PyObject_DEL() with PyObject_Free()
* bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586)Victor Stinner2020-12-0133-188/+175
| | | | | | | | | | | No longer use deprecated aliases to functions: * Replace PyMem_MALLOC() with PyMem_Malloc() * Replace PyMem_REALLOC() with PyMem_Realloc() * Replace PyMem_FREE() with PyMem_Free() * Replace PyMem_Del() with PyMem_Free() * Replace PyMem_DEL() with PyMem_Free() Modify also the PyMem_DEL() macro to use directly PyMem_Free().
* bpo-31904: Fix fifo test cases for VxWorks (GH-20254)pxinwr2020-12-013-6/+18
|
* bpo-38200: Add itertools.pairwise() (GH-23549)Raymond Hettinger2020-12-015-26/+220
|