Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-42576: Clarify only debug builds are affected in news (GH-23663) | kj | 2020-12-06 | 1 | -1/+2 |
| | |||||
* | bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call ↵ | idanw206 | 2020-12-06 | 3 | -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 ↵ | kj | 2020-12-05 | 3 | -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 Kumaran | 2020-12-05 | 3 | -8/+41 |
| | |||||
* | bpo-30459: Cast the result of PyList_SET_ITEM() to void (GH-19975) | Zackery Spytz | 2020-12-05 | 3 | -2/+4 |
| | | | Do the same for PyTuple_SET_ITEM(). | ||||
* | bpo-41116: Fix setup.py test for macOS Tcl/Tk frameworks (GH-23649) | Ned Deily | 2020-12-05 | 1 | -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 Bucher | 2020-12-05 | 12 | -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 Cannon | 2020-12-04 | 25 | -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 Galindo | 2020-12-04 | 1 | -21/+41 |
| | |||||
* | bpo-42545: Check that all symbols in the limited ABI are exported (GH-23616) | Pablo Galindo | 2020-12-04 | 5 | -0/+1027 |
| | |||||
* | bpo-17735: inspect.findsource now raises OSError when co_lineno is out of ↵ | Irit Katriel | 2020-12-04 | 3 | -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) | pxinwr | 2020-12-04 | 2 | -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 Katriel | 2020-12-04 | 4 | -4/+49 |
| | |||||
* | bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637) | Victor Stinner | 2020-12-04 | 2 | -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 Shannon | 2020-12-04 | 4 | -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 Karabas | 2020-12-04 | 3 | -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 Spytz | 2020-12-03 | 1 | -2/+2 |
| | |||||
* | bpo-42262: Py_NewRef() casts its argument to PyObject* (GH-23626) | Victor Stinner | 2020-12-03 | 2 | -5/+33 |
| | | | Write also unit tests on Py_NewRef() and Py_XNewRef(). | ||||
* | bpo-42553: Fix test_asyncio.test_call_later() (GH-23627) | Victor Stinner | 2020-12-03 | 2 | -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 Storchaka | 2020-12-03 | 11 | -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 Storchaka | 2020-12-03 | 1 | -0/+9 |
| | | | | (GH-23612) | ||||
* | Remove the conditional for setting query. (#23604) | Senthil Kumaran | 2020-12-03 | 1 | -2/+1 |
| | |||||
* | bpo-42504: fix for MACOSX_DEPLOYMENT_TARGET=11 (GH-23556) | FX Coudert | 2020-12-03 | 5 | -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 Galindo | 2020-12-02 | 2 | -4/+4 |
| | |||||
* | bpo-42521: Add note about 'Python -d' only working on debug builds (GH-23607) | Pablo Galindo | 2020-12-02 | 1 | -1/+2 |
| | |||||
* | bpo-42246: Make sure that line number is correct after a return, as required ↵ | Mark Shannon | 2020-12-02 | 7 | -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 Shannon | 2020-12-02 | 9 | -72/+76 |
| | | | * Use counter, rather boolean state when handling soft overflows. | ||||
* | Correct return type in Modules/_ssl.c::sslmodule_legacy (GH-23609) | Pablo Galindo | 2020-12-02 | 1 | -1/+1 |
| | |||||
* | bpo-40939: Restore some stable API functions incorrectly deleted (GH-23606) | Pablo Galindo | 2020-12-02 | 1 | -8/+103 |
| | |||||
* | bpo-31904: Fix test_netrc for VxWorks RTOS (GH-21675) | pxinwr | 2020-12-01 | 2 | -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 Stinner | 2020-12-01 | 1 | -3/+0 |
| | |||||
* | build(deps): bump actions/upload-artifact from v2.2.0 to v2.2.1 (GH-23583) | dependabot[bot] | 2020-12-01 | 1 | -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-01 | 2 | -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 Delfino | 2020-12-01 | 1 | -1/+2 |
| | | | Add link to ABCMeta while at it. | ||||
* | Fix bz2 examples markup (#23580) | Andre Delfino | 2020-12-01 | 1 | -8/+0 |
| | |||||
* | bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) | Victor Stinner | 2020-12-01 | 48 | -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 Stinner | 2020-12-01 | 33 | -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) | pxinwr | 2020-12-01 | 3 | -6/+18 |
| | |||||
* | bpo-38200: Add itertools.pairwise() (GH-23549) | Raymond Hettinger | 2020-12-01 | 5 | -26/+220 |
| | |||||
* | bpo-42482: remove reference to exc_traceback from TracebackException (GH-23531) | Irit Katriel | 2020-12-01 | 3 | -3/+25 |
| | |||||
* | bpo-31904: Support signal module on VxWorks (GH-23391) | pxinwr | 2020-11-30 | 3 | -3/+15 |
| | |||||
* | bpo-28468: Add platform.freedesktop_os_release() (GH-23492) | Christian Heimes | 2020-11-30 | 5 | -0/+211 |
| | | | | | | | Add platform.freedesktop_os_release() function to parse freedesktop.org os-release files. Signed-off-by: Christian Heimes <christian@python.org> Co-authored-by: Victor Stinner <vstinner@python.org> | ||||
* | Refactor the grammar to match the language specification docs (GH-23574) | Pablo Galindo | 2020-11-30 | 2 | -101/+101 |
| | |||||
* | bpo-42485: [Doc] Link to PEP 617 from full grammar specification (GH-23532) | James Gerity | 2020-11-30 | 1 | -1/+2 |
| | | | Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> | ||||
* | bpo-42501: Revise the usage note for Enums with the choices (GH-23563) | Raymond Hettinger | 2020-11-30 | 1 | -14/+3 |
| | |||||
* | bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (GH-23570) | Terry Jan Reedy | 2020-11-30 | 1 | -1/+1 |
| | | | restart_subprocess is a method of self, the pyshell.InteractiveInterpreter instance. The latter does not have an interp attribute redundantly referring to itself. (The PyShell instance does have an interp attribute, referring to the InteractiveInterpreter instance.) | ||||
* | bpo-42487: don't call __getitem__ of underlying maps in ChainMap.__iter__ ↵ | Andreas Poehlmann | 2020-11-30 | 3 | -1/+18 |
| | | | | (GH-23534) | ||||
* | bpo-42451: Indicate that PyTuple_GetItem does not support negative indices ↵ | Yasser A | 2020-11-30 | 1 | -1/+1 |
| | | | | (GH-23529) | ||||
* | bpo-42506: Fix unexpected output in test_format (GH-23564) | Zackery Spytz | 2020-11-30 | 1 | -2/+2 |
| | |||||
* | bpo-42142: Try to fix timeouts in ttk tests (GH-23474) | Serhiy Storchaka | 2020-11-30 | 2 | -19/+7 |
| | | | | | Instead of using wait_visibility() which waits event <VisibilityNotify> in dead loop use update() which should proceed all queued events. |