summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove or update bitbucket links (GH-101963)sblondon2023-03-086-10/+6
| | | | | | Since Mercurial removal from bitbucket.org, some links are broken. They are replaced by github.com or webarchive.org links if available. Otherwise, they are removed. Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* gh-101100: Fix sphinx warnings in `zipapp` and `zipfile` modules (#102526)Nikita Sobolev2023-03-082-2/+2
|
* GH-102397: Fix segfault from race condition in signal handling (#102399)Kumar Aditya2023-03-083-0/+21
| | | Co-authored-by: Gregory P. Smith <greg@krypto.org>
* Fix style in argparse.rst (#101733)Marcin Wieczorek2023-03-081-3/+3
|
* Merge in the release of Python 3.12.0a6.Thomas Wouters2023-03-0813-39/+244
|\
| * fix typo in async generator code field name `ag_code` (#102448)Kumar Aditya2023-03-081-1/+1
| |
| * gh-102381: don't call watcher callback with dead object (#102382)Carl Meyer2023-03-0812-38/+243
| | | | | | Co-authored-by: T. Wouters <thomas@python.org>
* | Post 3.12.0a6Thomas Wouters2023-03-081-1/+1
| |
* | Python 3.12.0a6v3.12.0a6Thomas Wouters2023-03-0783-229/+864
|/
* gh-102493: fix normalization in PyErr_SetObject (#102502)Irit Katriel2023-03-074-4/+56
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-87092: compiler's CFG construction moved to after codegen stage (#102320)Irit Katriel2023-03-071-184/+336
|
* gh-95913: Consolidate build requirements changes in 3.11 WhatsNew (GH-98781)C.A.M. Gerlach2023-03-071-15/+7
| | | | | Apply suggestion to combine build requirements changes in 3.11 WhatsNew Co-authored-by: Petr Viktorin <encukou@gmail.com>
* Remove redundant `_ensure_future` in favor of `ensure_future` in `asyncio` ↵Kumar Aditya2023-03-071-6/+2
| | | | (#102398)
* gh-95913: Edit Faster CPython section in 3.11 WhatsNew (GH-98429)C.A.M. Gerlach2023-03-071-77/+109
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-90110: Fix the c-analyzer Tool (#102483)Eric Snow2023-03-0711-34/+85
| | | | | | | Some incompatible changes had gone in, and the "ignore" lists weren't properly undated. This change fixes that. It's necessary prior to enabling test_check_c_globals, which I hope to do soon. Note that this does include moving last_resort_memory_error to PyInterpreterState. https://github.com/python/cpython/issues/90110
* gh-101759: Update macOS installer SQLite 3.40.1 checksum (gh-102485)Ned Deily2023-03-071-1/+1
|
* Remove unused import of `warnings` from `unittest.loader` (#102479)JosephSBoyle2023-03-061-1/+0
|
* Add gettext support to tools/extensions/c_annotations.py (#101989)Rémi Lapeyre2023-03-062-3/+9
|
* gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives in ↵Irit Katriel2023-03-061-14/+8
| | | | sub interpreters module (#102472)
* gh-95672: Fix versionadded indentation of get_pagesize in test.rst (gh-102455)Hyunkyun Moon2023-03-061-1/+1
|
* gh-102416: Do not memoize incorrectly loop rules in the parser (#102467)Pablo Galindo Salgado2023-03-063-218/+4
|
* GH-101362: Optimise PurePath(PurePath(...)) (GH-101667)Barney Gale2023-03-054-27/+45
| | | | | | | The previous `_parse_args()` method pulled the `_parts` out of any supplied `PurePath` objects; these were subsequently joined in `_from_parts()` using `os.path.join()`. This is actually a slower form of joining than calling `fspath()` on the path object, because it doesn't take advantage of the fact that the contents of `_parts` is normalized! This reduces the time taken to run `PurePath("foo", "bar")` by ~20%, and the time taken to run `PurePath(p, "cheese")`, where `p = PurePath("/foo", "bar", "baz")`, by ~40%. Automerge-Triggered-By: GH:AlexWaygood
* GH-101362: Check pathlib.Path flavour compatibility at import time (GH-101664)Barney Gale2023-03-052-5/+13
| | | | | This saves a comparison in `pathlib.Path.__new__()` and reduces the time taken to run `Path()` by ~5%. Automerge-Triggered-By: GH:AlexWaygood
* GH-101362: Call join() only when >1 argument supplied to pathlib.PurePath() ↵Barney Gale2023-03-052-1/+6
| | | | | | | (#101665) GH-101362: Call join() only when >1 argument supplied to pathlib.PurePath This reduces the time taken to run `PurePath("foo")` by ~15%
* gh-102444: Fix minor bugs in `test_typing` highlighted by pyflakes (#102445)Alex Waygood2023-03-051-19/+2
|
* GH-102341: Improve the test function for pow (#102342)Partha P. Mukherjee2023-03-051-6/+5
| | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Fix unused classes in a typing test (GH-102437)JosephSBoyle2023-03-051-2/+2
| | | | | As part of investigation issue https://github.com/python/cpython/issues/102433, I discovered what I believe to be an error where two classes `CI` and `DI` are not being used. The assertions beneath them act on `C` and `D`, duplicating existing assertions in this test. Automerge-Triggered-By: GH:AlexWaygood
* gh-101979: argparse: fix a bug where parentheses in metavar argument of ↵Yeojin Kim2023-03-053-3/+34
| | | | add_argument() were dropped (#102318)
* gh-102356: Add thrashcan macros to filter object dealloc (#102426)Marta Gómez Macías2023-03-054-0/+15
| | | Add thrashcan macros to the deallocator of the filter objects to protect against deeply nested destruction of chains of nested filters.
* Move around example in to_bytes() to avoid confusion (#101595)Sergey B Kirpichev2023-03-051-2/+4
| | | | Moves an example to be closer to the sentence that refers to it.
* GH-97546: fix flaky asyncio `test_wait_for_race_condition` test (#102421)Kumar Aditya2023-03-051-1/+1
|
* gh-96821: Add config option `--with-strict-overflow` (#96823)Matthias Görgens2023-03-044-18/+122
| | | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Shantanu <hauntsaninja@gmail.com>
* gh-101992: update pstlib module documentation (#102133)Dustin Rodrigues2023-03-041-7/+16
|
* gh-63301: Set exit code when tabnanny CLI exits on error (#7699)Jaysinh Shukla2023-03-043-13/+21
| | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-101863: Fix wrong comments in EUC-KR codec (gh-102417)Byeongmin Choi2023-03-042-2/+3
|
* gh-102302 Micro-optimize `inspect.Parameter.__hash__` (#102303)Gouvernathor2023-03-042-1/+2
|
* gh-102179: Fix `os.dup2` error reporting for negative fds (#102180)Alexey Izbyshev2023-03-043-5/+21
|
* gh-101892: Fix `SystemError` when a callable iterator call exhausts the ↵Raj2023-03-043-2/+30
| | | | | iterator (#101896) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* Remove unused internal macros (#102415)Mark Dickinson2023-03-041-15/+0
| | | | | Since #101826 was merged, the internal macro `_Py_InIntegralTypeRange` is unused, as are its supporting macros `_Py_IntegralTypeMax` and `_Py_IntegralTypeMin`. This PR removes them. Note that `_Py_InIntegralTypeRange` doesn't actually work as advertised - it's not a safe way to avoid undefined behaviour in an integer to double conversion.
* gh-102021 : Allow multiple input files for interpreter loop generator (#102022)Jacob Bower2023-03-046-41/+105
| | | The input files no longer use `-i`.
* Add import of `unittest.mock.Mock` in documentation (#102346)Wagner Alberto2023-03-031-0/+1
|
* gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (#102390)Nikita Sobolev2023-03-031-1/+1
|
* gh-101754: Document that Windows converts keys in `os.environ` to uppercase ↵Owain Davies2023-03-031-0/+5
| | | | (GH-101840)
* gh-102324: Improve tests of `typing.override` (#102325)Nikita Sobolev2023-03-031-4/+95
| | | Fixes #101564
* gh-102371: move _Py_Mangle from compile.c to symtable.c (#102372)Irit Katriel2023-03-025-76/+76
|
* Fix typos in documentation and comments (GH-102374)Michael K2023-03-024-5/+5
| | | | | | | | Found some duplicate `to`s in the documentation and some code comments and fixed them. [Misc/NEWS.d/3.12.0a1.rst](https://github.com/python/cpython/blob/ed55c69ebd74178115cd8b080f7f8e7588cd5fda/Misc/NEWS.d/3.12.0a1.rst) also contains two duplicate `to`s, but I wasn't sure if it's ok to touch that file. Looks auto generated. I'm happy to amend the PR if requested. :) Automerge-Triggered-By: GH:AlexWaygood
* gh-101101: Fix test_code_extra to reset value for refleak test (gh-102350)Dong-hee Na2023-03-021-1/+5
|
* gh-95672: Update memory_watchdog to use test.support.get_pagesize (gh-102365)Hyunkyun Moon2023-03-021-9/+2
|
* gh-102088 Optimize iter_index itertools recipe (GH-102360)Stefan Pochmann2023-03-022-3/+9
|
* gh-95672 skip fcntl when pipesize is smaller than pagesize (gh-102163)Hyunkyun Moon2023-03-014-3/+26
|