Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-87092: compiler's CFG construction moved to after codegen stage (#102320) | Irit Katriel | 2023-03-07 | 1 | -184/+336 |
| | |||||
* | gh-95913: Consolidate build requirements changes in 3.11 WhatsNew (GH-98781) | C.A.M. Gerlach | 2023-03-07 | 1 | -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 Aditya | 2023-03-07 | 1 | -6/+2 |
| | | | | (#102398) | ||||
* | gh-95913: Edit Faster CPython section in 3.11 WhatsNew (GH-98429) | C.A.M. Gerlach | 2023-03-07 | 1 | -77/+109 |
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | gh-90110: Fix the c-analyzer Tool (#102483) | Eric Snow | 2023-03-07 | 11 | -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 Deily | 2023-03-07 | 1 | -1/+1 |
| | |||||
* | Remove unused import of `warnings` from `unittest.loader` (#102479) | JosephSBoyle | 2023-03-06 | 1 | -1/+0 |
| | |||||
* | Add gettext support to tools/extensions/c_annotations.py (#101989) | Rémi Lapeyre | 2023-03-06 | 2 | -3/+9 |
| | |||||
* | gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives in ↵ | Irit Katriel | 2023-03-06 | 1 | -14/+8 |
| | | | | sub interpreters module (#102472) | ||||
* | gh-95672: Fix versionadded indentation of get_pagesize in test.rst (gh-102455) | Hyunkyun Moon | 2023-03-06 | 1 | -1/+1 |
| | |||||
* | gh-102416: Do not memoize incorrectly loop rules in the parser (#102467) | Pablo Galindo Salgado | 2023-03-06 | 3 | -218/+4 |
| | |||||
* | GH-101362: Optimise PurePath(PurePath(...)) (GH-101667) | Barney Gale | 2023-03-05 | 4 | -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 Gale | 2023-03-05 | 2 | -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 Gale | 2023-03-05 | 2 | -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 Waygood | 2023-03-05 | 1 | -19/+2 |
| | |||||
* | GH-102341: Improve the test function for pow (#102342) | Partha P. Mukherjee | 2023-03-05 | 1 | -6/+5 |
| | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | Fix unused classes in a typing test (GH-102437) | JosephSBoyle | 2023-03-05 | 1 | -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 Kim | 2023-03-05 | 3 | -3/+34 |
| | | | | add_argument() were dropped (#102318) | ||||
* | gh-102356: Add thrashcan macros to filter object dealloc (#102426) | Marta Gómez Macías | 2023-03-05 | 4 | -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 Kirpichev | 2023-03-05 | 1 | -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 Aditya | 2023-03-05 | 1 | -1/+1 |
| | |||||
* | gh-96821: Add config option `--with-strict-overflow` (#96823) | Matthias Görgens | 2023-03-04 | 4 | -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 Rodrigues | 2023-03-04 | 1 | -7/+16 |
| | |||||
* | gh-63301: Set exit code when tabnanny CLI exits on error (#7699) | Jaysinh Shukla | 2023-03-04 | 3 | -13/+21 |
| | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | ||||
* | gh-101863: Fix wrong comments in EUC-KR codec (gh-102417) | Byeongmin Choi | 2023-03-04 | 2 | -2/+3 |
| | |||||
* | gh-102302 Micro-optimize `inspect.Parameter.__hash__` (#102303) | Gouvernathor | 2023-03-04 | 2 | -1/+2 |
| | |||||
* | gh-102179: Fix `os.dup2` error reporting for negative fds (#102180) | Alexey Izbyshev | 2023-03-04 | 3 | -5/+21 |
| | |||||
* | gh-101892: Fix `SystemError` when a callable iterator call exhausts the ↵ | Raj | 2023-03-04 | 3 | -2/+30 |
| | | | | | iterator (#101896) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> | ||||
* | Remove unused internal macros (#102415) | Mark Dickinson | 2023-03-04 | 1 | -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 Bower | 2023-03-04 | 6 | -41/+105 |
| | | | The input files no longer use `-i`. | ||||
* | Add import of `unittest.mock.Mock` in documentation (#102346) | Wagner Alberto | 2023-03-03 | 1 | -0/+1 |
| | |||||
* | gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (#102390) | Nikita Sobolev | 2023-03-03 | 1 | -1/+1 |
| | |||||
* | gh-101754: Document that Windows converts keys in `os.environ` to uppercase ↵ | Owain Davies | 2023-03-03 | 1 | -0/+5 |
| | | | | (GH-101840) | ||||
* | gh-102324: Improve tests of `typing.override` (#102325) | Nikita Sobolev | 2023-03-03 | 1 | -4/+95 |
| | | | Fixes #101564 | ||||
* | gh-102371: move _Py_Mangle from compile.c to symtable.c (#102372) | Irit Katriel | 2023-03-02 | 5 | -76/+76 |
| | |||||
* | Fix typos in documentation and comments (GH-102374) | Michael K | 2023-03-02 | 4 | -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 Na | 2023-03-02 | 1 | -1/+5 |
| | |||||
* | gh-95672: Update memory_watchdog to use test.support.get_pagesize (gh-102365) | Hyunkyun Moon | 2023-03-02 | 1 | -9/+2 |
| | |||||
* | gh-102088 Optimize iter_index itertools recipe (GH-102360) | Stefan Pochmann | 2023-03-02 | 2 | -3/+9 |
| | |||||
* | gh-95672 skip fcntl when pipesize is smaller than pagesize (gh-102163) | Hyunkyun Moon | 2023-03-01 | 4 | -3/+26 |
| | |||||
* | gh-102344: Reimplement winreg QueryValue / SetValue using QueryValueEx / ↵ | Max Bachmann | 2023-03-01 | 2 | -60/+124 |
| | | | | | SetValueEx (GH-102345) The newer APIs are more widely available than the old ones, and are called in a way to preserve functionality. | ||||
* | gh-102336: Ensure CancelIoEx result is not ignored (GH-102347) | Max Bachmann | 2023-03-01 | 1 | -1/+1 |
| | | | fix ignored return value | ||||
* | gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives in ↵ | Irit Katriel | 2023-03-01 | 1 | -34/+24 |
| | | | | tkinter module (#102319) | ||||
* | Doc: Fix minor error in ePub (GH-100614) | Inada Naoki | 2023-03-01 | 1 | -3/+3 |
| | | | Fix issue reported https://mail.python.org/archives/list/docs@python.org/message/KE7OIAO53P4XRC4ZOWPDHA63ZQJCHEC3/ | ||||
* | gh-102336: Remove code specifically for handling Windows 7 (GH-102337) | Max Bachmann | 2023-03-01 | 7 | -159/+56 |
| | |||||
* | gh-99108: Add missing md5/sha1 defines to Modules/Setup (#102308) | Anthony Sottile | 2023-02-28 | 1 | -2/+2 |
| | |||||
* | gh-100227: Move _str_replace_inf to PyInterpreterState (gh-102333) | Eric Snow | 2023-02-28 | 4 | -14/+20 |
| | | | https://github.com/python/cpython/issues/100227 | ||||
* | gh-100227: Move the dtoa State to PyInterpreterState (gh-102331) | Eric Snow | 2023-02-28 | 6 | -17/+39 |
| | | | https://github.com/python/cpython/issues/100227 | ||||
* | GH-102305: Expand some macros in generated_cases.c.h (#102309) | Guido van Rossum | 2023-02-28 | 2 | -452/+441 |
| | | | | * Emit straight stack_pointer[-i] instead of PEEK(i), POKE(i, ...) * Expand JUMPBY() and NEXTOPARG(), and fix a perf bug | ||||
* | Migrate to new PSF mailgun account (#102284) | Ee Durbin | 2023-02-28 | 1 | -3/+3 |
| | | | | | Our legacy mailgun account is associated with a parent rackspace account that I am trying to decomission. The necessary secret has been added to the GitHub Actions Secrets already, so this is ready to go on approval. |