summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-121657: Additional `yield from` error test using lambda (GH-121722)Gregor2024-07-181-0/+5
|
* GH-121784: Generate an error during code gen if a variable is marked ↵Mark Shannon2024-07-189-255/+443
| | | | | | | | | | | | `unused`, but is used and thus cached in a prior uop. (#121788) * Reject uop definitions that declare values as 'unused' that are already cached by prior uops * Track which variables are defined and only load from memory when needed * Support explicit `flush` in macro definitions. * Make sure stack is flushed in where needed.
* GH-120024: Use pointer for stack pointer (GH-121923)Mark Shannon2024-07-185-43/+55
|
* gh-121874: Define audit-event open parameters consistently (GH-121883)Bernhard M. Wiedemann2024-07-181-1/+1
| | | | | Use same names for parameters to avoid triggering a race-condition in Sphinx that causes non-deterministic output.
* gh-121921: Make bogus_code_obj.py crash the interpreter (#121922)Jelle Zijlstra2024-07-182-4/+6
|
* gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c (#121493)Victor Stinner2024-07-181-3/+3
| | | | | compare_unicode_generic(), compare_unicode_unicode() and compare_generic() are callbacks used by do_lookup(). When enabling assertions, it's not possible to inline these functions.
* gh-121621: Move asyncio_running_loop to private struct (#121939)Sam Gross2024-07-174-8/+8
| | | | This avoids changing the ABI and keeps the field in the private struct.
* Add note about PYTHON_JIT environment variable to JIT README (GH-121635)Savannah Ostrowski2024-07-171-2/+6
|
* gh-121266: Change dict check_lookup() return type to int (#121581)Victor Stinner2024-07-171-11/+11
|
* gh-121528: Fix _PyObject_Init() assertion for stable ABI (#121725)Victor Stinner2024-07-171-2/+26
| | | Add _Py_IsImmortalLoose() function for assertions.
* gh-121925: Fix uninitialized variables in `main.c` (#121926)sobolevn2024-07-171-2/+6
|
* gh-120678: Guard against stdin.fileno() being unavailable (#121924)Łukasz Langa2024-07-171-6/+14
|
* gh-120678: pyrepl: Include globals from modules passed with `-i` (GH-120904)Alex Waygood2024-07-176-11/+178
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (#121876)Terry Jan Reedy2024-07-173-0/+8
| | | | | | | Problem occurred when attribute xyz could not be pickled. Since this is not trivial to selectively fix, block all attributes (other than 'width'). IDLE does not access them and they are private implementation details.
* gh-119698: fix a special case in `symtable.Class.get_methods` (#121802)Bénédikt Tran2024-07-172-2/+68
|
* gh-121863: Immortalize names in code objects to avoid crash (GH-121903)Petr Viktorin2024-07-172-1/+25
|
* gh-121849: Fix PyUnicodeWriter_WriteSubstring() crash if len=0 (#121896)Victor Stinner2024-07-172-12/+17
| | | Do nothing if start=end.
* Remove duplicate "it" in whatsnew 3.13 (#121580)Rafael Fontenelle2024-07-171-1/+1
|
* Fix Several Typos in Readme & Tests (#121559)Michael2024-07-172-4/+4
|
* gh-121834: Improve `complex` C-API docs (#121835)sobolevn2024-07-171-9/+22
| | | | Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
* gh-121842: Improve coverage of `PyBytes_FromStringAndSize` (#121843)sobolevn2024-07-171-0/+2
|
* gh-121453: Update the `Doc/templates/download.html` download files size ↵Wulian2332024-07-171-10/+14
| | | | | | estimates and support download `.texi` format. (#121454) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-121871: Allow overriding docs build date with SOURCE_DATE_EPOCH (#121872)Bernhard M. Wiedemann2024-07-171-1/+2
|
* GH-121583: Remove dependency from pystats.h to internal header file (GH-121587)Michael Droettboom2024-07-162-5/+9
| | | Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
* gh-83648: Use versionadded in 'deprecated' description (GH-121877)Zachary Ware2024-07-161-1/+1
|
* GH-120371: Add WASI SDK 22 support (GH-121870)Brett Cannon2024-07-164-2/+12
| | | Required disabling stub functions now provided by wasi-libc.
* gh-118934: Make PyEval_GetLocals return borrowed reference (#119769)Tian Gao2024-07-165-2/+42
| | | Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
* gh-121860: Fix crash when materializing managed dict (#121866)Sam Gross2024-07-163-5/+31
| | | | The object's inline values may be marked invalid if the materialized dict was already initialized and then deleted.
* gh-121130: Fix f-string format specifiers with debug expressions (#121150)Pablo Galindo Salgado2024-07-168-31/+75
|
* gh-121621: Move asyncio running loop to thread state (GH-121695)Ken Jin2024-07-167-111/+18
|
* gh-59022: Added tests for `pkgutil.extend_path` (#59022) (GH-121673)Andreas Stocker2024-07-163-4/+41
| | | | | This adds tests for the documented behaviour of `pkgutil.extend_path` regarding different argument types as well as for `*.pkg` files.
* gh-121160: Add some tests for readline.set_history_length (GH-121326)Petr Viktorin2024-07-162-0/+48
|
* gh-113993: Don't immortalize in PyUnicode_InternInPlace; keep immortalizing ↵Petr Viktorin2024-07-166-10/+82
| | | | | | | | | | | | | | | | | in other API (#121364) * Switch PyUnicode_InternInPlace to _PyUnicode_InternMortal, clarify docs * Document immortality in some functions that take `const char *` This is PyUnicode_InternFromString; PyDict_SetItemString, PyObject_SetAttrString; PyObject_DelAttrString; PyUnicode_InternFromString; and the PyModule_Add convenience functions. Always point out a non-immortalizing alternative. * Don't immortalize user-provided attr names in _ctypes
* GH-105879: Note exec/eval keyword change in What's New (GH-121831)Alyssa Coghlan2024-07-161-0/+4
|
* gh-113993: For string interning, do not rely on (or assert) _Py_IsImmortal ↵Petr Viktorin2024-07-162-7/+10
| | | | | | (GH-121358) Older stable ABI extensions are allowed to make immortal objects mortal. Instead, use `_PyUnicode_STATE` (`interned` and `statically_allocated`).
* 🧪🚑 Fix using `check_source` flags as bool (#121848)Sviatoslav Sydorenko (Святослав Сидоренко)2024-07-162-5/+25
|
* gh-120522: Revert "Add a `--with-app-store-compliance` configure option to ↵Ned Deily2024-07-169-238/+2
| | | | | | patch out problematic code" (gh-120984) (#121844) This reverts commit 48cd104b0cf05dad8958efa9cb9666c029ef9201 prior to the release of 3.13.0b4 to allow for additional review time.
* gh-120317: Lock around global state in the tokenize module (#120318)Lysandros Nikolaou2024-07-162-43/+129
| | | Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* gh-121791: Check for `NULL` in `MethodDescriptor2_new` in `_testcapi` (#121792)sobolevn2024-07-161-0/+3
|
* gh-85453: Fix 'timezone' vs. 'time zone' spelling issues in datetime.rst ↵edson duarte2024-07-161-24/+24
| | | | (#118449)
* gh-120831: Increase the default minimum supported iOS version to 13.0 (#121250)Russell Keith-Magee2024-07-165-5/+23
| | | | | Increases the default minimum iOS version to 13.0. Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-121403: Add notes for PyList_GetXXX APIs about the need for init (gh-121626)Donghee Na2024-07-161-3/+6
|
* gh-121295: Fix blocked console after interrupting a long paste (GH-121815)Marta Gómez Macías2024-07-152-1/+11
|
* gh-121610: pyrepl - handle extending blocks when multi-statement blocks are ↵saucoide2024-07-152-11/+123
| | | | | | | | | | | | pasted (GH-121757) console.compile with the "single" param throws an exception when there are multiple statements, never allowing to adding newlines to a pasted code block (gh-121610) This add a few extra checks to allow extending when in an indented block, and tests for a few examples Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-121814: Only check f_trace_opcodes if Python frame exists (#121818)Tian Gao2024-07-152-1/+2
| | | Co-authored-by: Matt Wozniski <godlygeek@gmail.com>
* gh-121605: Fix test hang when pyrepl is not available (GH-121820)Sam Gross2024-07-151-1/+1
| | | | The fallback repl does not support "exit" without parentheses, so the test would hang until the timeout expired.
* gh-121790: Fix interactive console initialization (#121793)Milan Oberkirch2024-07-156-42/+85
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-121794: Don't set `ob_tid` to zero in fast-path dealloc (#121799)Sam Gross2024-07-153-13/+62
| | | | | | | | | | | | We should maintain the invariant that a zero `ob_tid` implies the refcount fields are merged. * Move the assignment in `_Py_MergeZeroLocalRefcount` to immediately before the refcount merge. * Update `_PyTrash_thread_destroy_chain` to set `ob_ref_shared` to `_Py_REF_MERGED` when setting `ob_tid` to zero. Also check this invariant with assertions in the GC in debug builds. That uncovered a bug when running out of memory during GC.
* gh-117657: Skip tests that fork with threads under TSan (#121599)Sam Gross2024-07-151-0/+3
| | | | | | This avoids messages like: ThreadSanitizer: starting new threads after multi-threaded fork is not supported. Dying (set die_after_fork=0 to override)
* gh-121245: Refactor site.register_readline() (GH-121659)Sergey B Kirpichev2024-07-153-36/+36
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>