Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-104050: Argument clinic: complete type annotations (#107399) | Alex Waygood | 2023-07-28 | 2 | -18/+24 | |
| | ||||||
* | gh-107305: Update the C-API Docs for PEP 684 (gh-107324) | Eric Snow | 2023-07-28 | 2 | -15/+197 | |
| | ||||||
* | gh-106368: Argument clinic: Fix minor bug in `state_modulename_name` (#107387) | Alex Waygood | 2023-07-28 | 2 | -5/+20 | |
| | ||||||
* | gh-104629: Build _testclinic extension module on Windows (#104723) | Erlend E. Aasland | 2023-07-28 | 6 | -2/+169 | |
| | ||||||
* | GH-101291: Add warning to "what's new" that `PyLongObject` internals have ↵ | Mark Shannon | 2023-07-28 | 1 | -0/+11 | |
| | | | | changed. (GH-107388) | |||||
* | Fix typo in comment (gh-107389) | Tom Niget | 2023-07-28 | 1 | -1/+1 | |
| | ||||||
* | gh-102509: Start initializing `ob_digit` of `_PyLongValue` (GH-102510) | Illia Volochii | 2023-07-28 | 2 | -0/+5 | |
| | ||||||
* | GH-104580: Put `eval_breaker` back at the start of the interpreter state. ↵ | Mark Shannon | 2023-07-28 | 2 | -3/+8 | |
| | | | | (GH-107383) | |||||
* | gh-107091: Fix some uses of :const: role (GH-107379) | Serhiy Storchaka | 2023-07-28 | 10 | -30/+29 | |
| | | | It is for references, not for literals. | |||||
* | gh-106078: Isolate `decimal` module (#107287) | Charlie Zhao | 2023-07-28 | 3 | -183/+270 | |
| | ||||||
* | gh-106723: forward -Xfrozen_modules option to spawned process interpreters ↵ | Felipe A. Hernandez | 2023-07-28 | 2 | -1/+2 | |
| | | | | | | (#106724) Co-authored-by: Kumar Aditya <kumaraditya@python.org> Co-authored-by: Gregory P. Smith <greg@krypto.org> | |||||
* | gh-106368: Argument clinic tests: improve failure message when tests in ↵ | Alex Waygood | 2023-07-27 | 1 | -1/+1 | |
| | | | | `ClinicExternalTests` fail (#107364) | |||||
* | gh-104683: Argument clinic: cleanup `state_modulename_name()` (#107340) | Alex Waygood | 2023-07-27 | 2 | -10/+35 | |
| | ||||||
* | gh-106931: Fix the WASM Buildbots (gh-107362) | Eric Snow | 2023-07-27 | 1 | -1/+12 | |
| | | | Skip subinterpreter tests when not supported. | |||||
* | gh-101524: Only Use Public C-API in the _xxsubinterpreters Module (gh-107359) | Eric Snow | 2023-07-27 | 18 | -82/+80 | |
| | | | The _xxsubinterpreters module should not rely on internal API. Some of the functions it uses were recently moved there however. Here we move them back (and expose them properly). | |||||
* | gh-104621: Check for Incompatible Extensions in import_find_extension() ↵ | Eric Snow | 2023-07-27 | 4 | -16/+50 | |
| | | | | | (gh-107184) This fixes a bug where incompatible modules could still be imported if attempted multiple times. | |||||
* | gh-106931: Intern Statically Allocated Strings Globally (gh-107272) | Eric Snow | 2023-07-27 | 10 | -4/+123 | |
| | | | | | We tried this before with a dict and for all interned strings. That ran into problems due to interpreter isolation. However, exclusively using a per-interpreter cache caused some inconsistency that can eliminate the benefit of interning. Here we circle back to using a global cache, but only for statically allocated strings. We also use a more-basic _Py_hashtable_t for that global cache instead of a dict. Ideally we would only have the global cache, but the optional isolation of each interpreter's allocator means that a non-static string object must not outlive its interpreter. Thus we would have to store a copy of each such interned string in the global cache, tied to the main interpreter. | |||||
* | gh-105699: Disable the Interpreters Stress Tests (gh-107354) | Eric Snow | 2023-07-27 | 1 | -0/+1 | |
| | | | | The two tests are crashing periodically in CI and on buildbots. I suspect the problem is in the _xxsubinterpreters module. Regardless, I'm disabling the tests temporarily, to reduce the noise as we approach 3.12rc1. I'll be investigating the crashes separately. | |||||
* | gh-104432: Use `memcpy()` to avoid misaligned loads (#104433) | Christopher Chavez | 2023-07-27 | 3 | -7/+29 | |
| | | | | | Fix potential unaligned memory access on C APIs involving returned sequences of `char *` pointers within the :mod:`grp` and :mod:`socket` modules. These were revealed using a ``-fsaniziter=alignment`` build on ARM macOS. | |||||
* | gh-107298: Fix yet more Sphinx warnings in the C API doc (GH-107345) | Serhiy Storchaka | 2023-07-27 | 19 | -79/+88 | |
| | ||||||
* | GH-106898: Add the exception as an argument to the `PY_UNWIND` event ↵ | Mark Shannon | 2023-07-27 | 4 | -6/+29 | |
| | | | | callback function. (GH-107347) | |||||
* | gh-105268: _PyGC_FINALIZED() removal is already documented in 3.12 (#107350) | Victor Stinner | 2023-07-27 | 1 | -7/+0 | |
| | ||||||
* | gh-107196: Remove _PyArg_VaParseTupleAndKeywordsFast() function (#107197) | Victor Stinner | 2023-07-27 | 2 | -16/+0 | |
| | | | | Remove the private _PyArg_VaParseTupleAndKeywordsFast() function: it is no longer used. | |||||
* | GH-106895: Raise a `ValueError` when attempting to disable events that ↵ | Mark Shannon | 2023-07-27 | 9 | -52/+120 | |
| | | | | cannot be disabled. (GH-107337) | |||||
* | gh-105481: remove dependency of _inline_cache_entries on opname (#107339) | Irit Katriel | 2023-07-27 | 5 | -21/+23 | |
| | ||||||
* | GH-106897: Add `RERAISE` event to `sys.monitoring`. (GH-107291) | Mark Shannon | 2023-07-27 | 8 | -44/+231 | |
| | | | * Ensures that exception handling events are balanced. Each [re]raise event has a matching unwind/handled event. | |||||
* | Bump some docs dependencies to resolve a Dependabot security alert (#107341) | Alex Waygood | 2023-07-27 | 1 | -4/+4 | |
| | ||||||
* | gh-103731: Remove unneeded checks for TCL_WIDE_INT_TYPE (GH-103732) | Christopher Chavez | 2023-07-27 | 1 | -4/+0 | |
| | ||||||
* | gh-106996: Rewrite turtle explanation (#107244) | Daniele Procida | 2023-07-27 | 1 | -54/+38 | |
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | remove outdated `_asyncio` globals from globals-to-fix.tsv (#107334) | Kumar Aditya | 2023-07-27 | 1 | -2/+0 | |
| | ||||||
* | gh-107279 Add `<stddef.h>` to `Modules/zlibmodule.c` to fix failing builds ↵ | shailshouryya | 2023-07-27 | 1 | -0/+1 | |
| | | | | (#107280) | |||||
* | gh-107298: Docs: add targets for some :c:member: and :c:macro: references ↵ | Serhiy Storchaka | 2023-07-27 | 3 | -40/+40 | |
| | | | | | | | | (GH-107316) Add targets for PyStructSequence_Desc and PyStructSequence_Field members and macros like Py_EQ. Fix target for Py_RETURN_RICHCOMPARE. | |||||
* | gh-107091: Fix some uses of :attr: role (GH-107318) | Serhiy Storchaka | 2023-07-27 | 11 | -59/+64 | |
| | | | | Fix also formatting of PyMethodDef members. | |||||
* | gh-107298: Fix more Sphinx warnings in the C API doc (#107329) | Victor Stinner | 2023-07-27 | 23 | -119/+122 | |
| | | | | | | | | | | | | | | | | | | | | | | | Declare the following functions as macros, since they are actually macros. It avoids a warning on "TYPE" or "macro" argument. * PyMem_New() * PyMem_Resize() * PyModule_AddIntMacro() * PyModule_AddStringMacro() * PyObject_GC_New() * PyObject_GC_NewVar() * PyObject_New() * PyObject_NewVar() Add C standard C types to nitpick_ignore in Doc/conf.py: * int64_t * uint64_t * uintptr_t No longer ignore non existing "__int" type in nitpick_ignore. Update Doc/tools/.nitignore | |||||
* | gh-107298: Fix Sphinx warnings in the C API doc (#107302) | Victor Stinner | 2023-07-26 | 12 | -33/+26 | |
| | | | | * Update Doc/tools/.nitignore * Fix BufferedIOBase.write() link in buffer.rst | |||||
* | gh-106149: fix comment on stackdepth of generators (#107321) | Irit Katriel | 2023-07-26 | 1 | -2/+3 | |
| | ||||||
* | Docs: Argument Clinic: Restructure "Basic concepts and usage" (#106981) | Erlend E. Aasland | 2023-07-26 | 2 | -50/+142 | |
| | | | | | | | | | | | | | | Split "Basic concepts and usage" into: - Reference - Terminology - CLI reference - Background - Basic concepts Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | |||||
* | Docs: Remove the numbered steps from the Argument Clinic tutorial (#107203) | Erlend E. Aasland | 2023-07-26 | 1 | -314/+310 | |
| | | | | Instead, order the tutorial as one body of prose, making it easier to align the tutorial according to Diátaxis principles. | |||||
* | gh-104050: Argument clinic: Annotate `str_converter_key()` (#107294) | Alex Waygood | 2023-07-26 | 1 | -2/+6 | |
| | ||||||
* | gh-104050: Argument clinic: Complete `get_destination_buffer` annotations ↵ | Alex Waygood | 2023-07-26 | 1 | -2/+2 | |
| | | | | (#107293) | |||||
* | gh-105002: [pathlib] Fix relative_to with walk_up=True using ".." (#107014) | János Kukovecz | 2023-07-26 | 3 | -2/+19 | |
| | | | | It makes sense to raise an Error because ".." can not be resolved and the current working directory is unknown. | |||||
* | gh-107091: Fix some uses of :c:type: role (GH-107138) | Serhiy Storchaka | 2023-07-26 | 9 | -22/+28 | |
| | ||||||
* | gh-107091: Fix some uses of :c:member: role (GH-107129) | Serhiy Storchaka | 2023-07-26 | 8 | -14/+16 | |
| | ||||||
* | Document that `os.link()` is not available on Emscripten (GH-104822) | Roman Yurchak | 2023-07-26 | 1 | -1/+1 | |
| | ||||||
* | gh-107298: Fix doc references to undocumented modules (#107300) | Victor Stinner | 2023-07-26 | 8 | -13/+11 | |
| | | | Update also Doc/tools/.nitignore. | |||||
* | gh-106948: Update documentation nitpick_ignore for c:identifer domain (#107295) | Victor Stinner | 2023-07-26 | 2 | -3/+9 | |
| | | | | | | | | | | | Update the nitpick_ignore of the documentation configuration to fix Sphinx warnings about standard C types when declaring functions with the "c:function" markups. Copy standard C types declared in the "c:type" domain to the "c:identifier" domain, since "c:function" markup looks for types in the "c:identifier" domain. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | |||||
* | gh-107015: Remove async_hacks from the tokenizer (#107018) | Pablo Galindo Salgado | 2023-07-26 | 20 | -499/+404 | |
| | ||||||
* | gh-106149: Simplify stack depth calculation. Replace asserts by exceptions. ↵ | Irit Katriel | 2023-07-26 | 4 | -42/+91 | |
| | | | | (#107255) | |||||
* | gh-104683: Argument Clinic: Make most arguments to `Class` and `Function` ↵ | Alex Waygood | 2023-07-26 | 1 | -15/+10 | |
| | | | | required (#107289) | |||||
* | gh-104050: Argument clinic: improve typing around `parse_arg()` methods ↵ | Alex Waygood | 2023-07-26 | 1 | -24/+24 | |
| | | | | (#107288) |