Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-116938: Fix `dict.update` docstring and remove erraneous full stop from ↵ | Prometheus3375 | 2024-10-29 | 2 | -3/+3 | |
| | | | | | `dict` documentation (#125421) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | |||||
* | gh-126146: Remove ``__cmp__`` method from tests (#126147) | Kirill Podoprigora | 2024-10-29 | 2 | -8/+0 | |
| | | | Remove ``__cmp__`` method from the tests because it was removed in 3.0 version. | |||||
* | gh-124932: Distinguish build prefix from host prefix in cross builds (#124933) | Hood Chatham | 2024-10-29 | 4 | -2/+57 | |
| | | | | | | | | | | | | | In Emscripten and other cross builds, the build file system and the host file system look different. For instance, we may want to install into `cross-build/$TARGET/lib`, and then mount that as `/lib` in the host file system. This change adds a distinction between: * `prefix` -- the path in the build file system where we want to install the files * `host_prefix` -- the path in the host file system where getpath.c will look for the files And similarly for `exec_prefix` and `host_exec_prefix`. At present, this is only used for Emscripten. | |||||
* | GH-125866: Improve tests for `pathname2url()` and `url2pathname()` (#125993) | Barney Gale | 2024-10-29 | 1 | -86/+77 | |
| | | | | | | | Merge `URL2PathNameTests` and `PathName2URLTests` test cases (which test only the Windows-specific implementations from `nturl2path`) into the main `Pathname_Tests` test case for these functions. Copy/port some test cases for `pathlib.Path.as_uri()` and `from_uri()`. | |||||
* | gh-126084: Fix venvwlauncher.exe to run pythonw.exe (GH-126088) | Christian Ullrich | 2024-10-29 | 3 | -1/+24 | |
| | ||||||
* | Add lightweight comments to conf.py and update docs readme (GH-126100) | Carol Willing | 2024-10-29 | 2 | -14/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update contributing contact info in readme * Add lightweight comments to improve docs workflow understanding * Apply code review suggestions from @hugovk Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> * Add code review suggestion from @AA-Turner Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> * Update Doc/conf.py Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> * Update Doc/conf.py Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> * Update Doc/conf.py Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --------- Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | |||||
* | gh-118423: Add `INSTRUCTION_SIZE` macro to code generator (GH-125467) | Tomas R. | 2024-10-29 | 9 | -34/+115 | |
| | ||||||
* | gh-126105: Fix crash in `ast` module, when `._fields` is deleted (#126115) | sobolevn | 2024-10-29 | 4 | -20/+34 | |
| | | | | Previously, if the `ast.AST._fields` attribute was deleted, attempts to create a new `as`t node would crash due to the assumption that `_fields` always had a non-NULL value. Now it has been fixed by adding an extra check to ensure that `_fields` does not have a NULL value (this can happen when you manually remove `_fields` attribute). | |||||
* | gh-122767: document "new style" formatting for complexes (GH-122848) | Sergey B Kirpichev | 2024-10-29 | 1 | -5/+15 | |
| | | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | |||||
* | GH-125837: Split `LOAD_CONST` into three. (GH-125972) | Mark Shannon | 2024-10-29 | 33 | -538/+706 | |
| | | | | | | | | * Add LOAD_CONST_IMMORTAL opcode * Add LOAD_SMALL_INT opcode * Remove RETURN_CONST opcode | |||||
* | tomllib: Add a comment about implicit lru_cache bound (GH-126078) | Taneli Hukkinen | 2024-10-29 | 1 | -0/+3 | |
| | ||||||
* | gh-126106: Fix `NULL` possible derefrence in `Modules/_ssl.c` (#126111) | sobolevn | 2024-10-29 | 2 | -3/+4 | |
| | | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | |||||
* | Align functools.reduce() docstring with PEP-257 (#126045) | Sergey B Kirpichev | 2024-10-29 | 2 | -12/+16 | |
| | | | Yak-shave in preparation for Argument Clinic adaption in gh-125999. | |||||
* | gh-126014: Ignore `__pycache__`-only folders in makefile tests (#126066) | sobolevn | 2024-10-29 | 1 | -1/+4 | |
| | | | Co-authored-by: Tomas R. <tomas.roun8@gmail.com> | |||||
* | gh-124928: Emscripten node support: Clean up old node <= 16 flags (#124929) | Hood Chatham | 2024-10-29 | 4 | -83/+12 | |
| | | | | | | Clean up configure flags for old node versions These flags are only needed for node <= 16. Node 16 has been end of life since October of 2023. | |||||
* | gh-89762: Document strftime %G, %V, and %u format specifiers (#124572) | RUANG (James Roy) | 2024-10-28 | 1 | -0/+13 | |
| | ||||||
* | gh-125985: Add free threading scaling micro benchmarks (#125986) | Sam Gross | 2024-10-28 | 1 | -0/+324 | |
| | | | | | | | | These consist of a number of short snippets that help identify scaling bottlenecks in the free threaded interpreter. The current bottlenecks are in calling functions in benchmarks that call functions (due to `LOAD_ATTR` not yet using deferred reference counting) and when accessing thread-local data. | |||||
* | GH-125912: Teach the JIT's optimizer about _BINARY_OP_INPLACE_ADD_UNICODE ↵ | Brandt Bucher | 2024-10-28 | 2 | -0/+37 | |
| | | | | (GH-125935) | |||||
* | Pre-commit: prevent spaces in news entry paths (#126063) | Hugo van Kemenade | 2024-10-28 | 5 | -0/+16 | |
| | ||||||
* | Lint GitHub Actions and Dependabot (#126002) | Hugo van Kemenade | 2024-10-28 | 7 | -67/+85 | |
| | ||||||
* | gh-126081: For PRs labeled with "type-feature", require a core review ↵ | Łukasz Langa | 2024-10-28 | 1 | -4/+42 | |
| | | | | | | (GH-126082) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | |||||
* | GH-125515: Reduce number of compiler warnings in generated code (GH-125697) | Mark Shannon | 2024-10-28 | 4 | -8/+11 | |
| | ||||||
* | gh-126035: add missing whitespace to *Py_EnterRecursiveCall() messages (#126036) | Bénédikt Tran | 2024-10-27 | 2 | -3/+3 | |
| | ||||||
* | gh-124295: Skip translation tests when pygettext is missing (GH-126051) | Tomas R. | 2024-10-27 | 1 | -0/+2 | |
| | ||||||
* | gh-125966: fix use-after-free on `fut->fut_callback0` due to an evil ↵ | Bénédikt Tran | 2024-10-27 | 3 | -1/+26 | |
| | | | | callback's `__eq__` in asyncio (#125967) | |||||
* | gh-124295: Add translation tests for argparse (GH-124803) | Tomas R. | 2024-10-27 | 4 | -0/+102 | |
| | ||||||
* | gh-125984: fix use-after-free on `fut->fut_{callback,context}0` due to an ↵ | Bénédikt Tran | 2024-10-27 | 3 | -8/+87 | |
| | | | | evil `loop.__getattribute__` (#126003) | |||||
* | gh-126018: Avoid aborting due to unnecessary assert in `sys.audit` (#126020) | devdanzin | 2024-10-27 | 4 | -1/+20 | |
| | | | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-126012: Add `__class_getitem__` to `memoryview` (#126013) | Brian Schubert | 2024-10-27 | 5 | -1/+11 | |
| | | | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com> | |||||
* | gh-125633: Add function `ispackage` to stdlib `inspect` (#125634) | Zhikang Yan | 2024-10-27 | 5 | -6/+37 | |
| | | | | | --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | |||||
* | Android: Update tests for newly-available functions affected by SELinux ↵ | Malcolm Smith | 2024-10-27 | 3 | -2/+25 | |
| | | | | | (#126015) Skip tests on Android that involve use of SELinux-protected methods. | |||||
* | gh-125666: Avoid PyREPL exiting when a null byte is in input (#125732) | devdanzin | 2024-10-27 | 4 | -1/+17 | |
| | ||||||
* | gh-125593: Use colors to highlight error locations in tracebacks from ↵ | Bogdan Romanyuk | 2024-10-27 | 3 | -1/+45 | |
| | | | | exception group (#125681) | |||||
* | gh-94512: Fix forced arg format in posixmodule.c clinic code (#122516) | Bénédikt Tran | 2024-10-26 | 2 | -40/+194 | |
| | ||||||
* | gh-89640: properly detect float word ordering on Linux (#125571) | Erlend E. Aasland | 2024-10-26 | 5 | -13/+73 | |
| | | | autoconf-archive patch by Dan Amelang. | |||||
* | Fix a typo in ``Doc/tutorial/errors.rst`` exception output (#126001) | Bogdana Vereha | 2024-10-26 | 1 | -1/+1 | |
| | ||||||
* | Update CODEOWNERS (#126005) | Guido van Rossum | 2024-10-26 | 1 | -2/+2 | |
| | ||||||
* | gh-125698: Autoconf: Sync EXEEXT and ac_exeext (#125995) | Erlend E. Aasland | 2024-10-26 | 2 | -0/+6 | |
| | ||||||
* | gh-125969: fix OOB in `future_schedule_callbacks` due to an evil `call_soon` ↵ | Bénédikt Tran | 2024-10-25 | 3 | -17/+47 | |
| | | | | | (#125970) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> | |||||
* | gh-125783: Add tests to prevent regressions with the combination of `ctypes` ↵ | Jun Komoda | 2024-10-25 | 1 | -0/+87 | |
| | | | | and metaclasses. (GH-125881) | |||||
* | GH-125911: Call combine_symbol_mask on the initial trampoline of a trace ↵ | Nadeshiko Manju | 2024-10-25 | 1 | -0/+1 | |
| | | | | (GH-125973) | |||||
* | gh-120313: amend documentation regarding `ctypes._CFuncPtr` (GH-120989) | Bénédikt Tran | 2024-10-25 | 1 | -19/+29 | |
| | | | improve docs | |||||
* | GH-125789: fix `fut._callbacks` to always return a copy of callbacks (#125922) | Kumar Aditya | 2024-10-25 | 3 | -28/+44 | |
| | | | Fix `asyncio.Future._callbacks` to always return a copy of the internal list of callbacks to avoid mutation from user code affecting the internal state. | |||||
* | gh-115754: Use Py_GetConstant(Py_CONSTANT_EMPTY_STR) (#125583) | Victor Stinner | 2024-10-25 | 3 | -5/+5 | |
| | | | | Replace PyUnicode_FromStringAndSize(NULL, 0) with Py_GetConstant(Py_CONSTANT_EMPTY_STR). | |||||
* | gh-121654: Add PyType_Freeze() function (#122457) | Victor Stinner | 2024-10-25 | 11 | -13/+162 | |
| | | | Co-authored-by: Petr Viktorin <encukou@gmail.com> | |||||
* | gh-84545: Clarify the 'extend' action documentation in argparse (GH-125870) | Serhiy Storchaka | 2024-10-25 | 1 | -11/+15 | |
| | ||||||
* | gh-123930: Correct test of attribute failure to account for iOS (#125959) | Russell Keith-Magee | 2024-10-25 | 1 | -2/+6 | |
| | | | Update a test of importing attributes from binary modules to account for iOS conditions. | |||||
* | Fixed a few type mismatches in pdb (#125952) | Tian Gao | 2024-10-25 | 1 | -4/+4 | |
| | ||||||
* | Increase minimum Android API level to 24 (#125946) | Malcolm Smith | 2024-10-25 | 5 | -9/+21 | |
| | | | | Minimum Android API level has been increased to 24 (Android 7.0). | |||||
* | gh-125942: Android: set stdout to `errors="backslashreplace"` (#125943) | Malcolm Smith | 2024-10-25 | 3 | -8/+10 | |
| | | | Android stdout/err streams now use `backslashreplace` encoding to ensure readability of the Android log. |