Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove unused `_allowed_types` from `typing.py` (#124090) | sobolevn | 2024-09-14 | 1 | -6/+1 | |
| | ||||||
* | Remove unused variable in `MagicMixin._mock_set_magics` (#124092) | sobolevn | 2024-09-14 | 1 | -2/+0 | |
| | ||||||
* | gh-124068: Fix reference leak with generators in the free-threaded build ↵ | Sam Gross | 2024-09-14 | 1 | -0/+13 | |
| | | | | | | | (#124069) If the generator is already cleared, then most fields in the generator's frame are not valid other than f_executable. The invalid fields may contain dangling pointers and should not be used. | |||||
* | gh-121607: Edited source file import recipe to make it more clear (#121519) | Chris Barker | 2024-09-13 | 1 | -12/+25 | |
| | | | | Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Peter Bierma <zintensitydev@gmail.com> | |||||
* | Minor edits to the descriptor guide (GH-123928) | Raymond Hettinger | 2024-09-13 | 1 | -4/+6 | |
| | ||||||
* | gh-123974: Fix time.get_clock_info() on NetBSD (#123975) | Furkan Onder | 2024-09-13 | 1 | -1/+5 | |
| | | | Fix OSError for thread_time clock on NetBSD by setting default resolution. | |||||
* | Revert "gh-112301: Enable warning emitting options and ignore warnings in CI ↵ | Hugo van Kemenade | 2024-09-13 | 8 | -779/+91 | |
| | | | | (#123020)" (#124065) | |||||
* | gh-100554: Fix formatting of type.rst modifications (#124066) | Oleg Iarygin | 2024-09-13 | 1 | -6/+5 | |
| | ||||||
* | gh-122957: Fix test flakiness in asyncio test in free-thread build (#124039) | Loïc Estève | 2024-09-13 | 1 | -2/+4 | |
| | ||||||
* | gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031) | Furkan Onder | 2024-09-13 | 1 | -1/+1 | |
| | ||||||
* | gh-121459: Deferred LOAD_GLOBAL (GH-123128) | Ken Jin | 2024-09-13 | 8 | -29/+108 | |
| | | | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Sam Gross <655866+colesbury@users.noreply.github.com> | |||||
* | gh-100554: Add ``Py_tp_vectorcall`` slot to set ↵ | Wenzel Jakob | 2024-09-13 | 8 | -10/+147 | |
| | | | | ``PyTypeObject.tp_vectorcall`` using the ``PyType_FromSpec`` function family. (#123332) | |||||
* | Normalize cdecl formatting as found elsewhere on ctypes.rst (#121379) | utkonos | 2024-09-13 | 1 | -1/+1 | |
| | ||||||
* | Update to 3.13 the output of exceptions raised (#123888) | Rafael Fontenelle | 2024-09-13 | 1 | -3/+42 | |
| | ||||||
* | gh-124022: add missing #include (#124052) | Irit Katriel | 2024-09-13 | 1 | -0/+2 | |
| | ||||||
* | gh-119802: Update memory management docs for free-threaded build (gh-124006) | Donghee Na | 2024-09-13 | 2 | -12/+24 | |
| | | | | | | | | | | | | | | | | | | | * gh-119802: Update memory management docs for free-threaded build * nit * nit * Address code review * nit * Update Doc/c-api/memory.rst Co-authored-by: Sam Gross <colesbury@gmail.com> --------- Co-authored-by: Sam Gross <colesbury@gmail.com> | |||||
* | closes gh-124016: update Unicode to 16.0.0 (#124017) | Benjamin Peterson | 2024-09-13 | 12 | -20691/+22581 | |
| | ||||||
* | gh-124022: Fix bug where class docstring is removed in interactive mode ↵ | Irit Katriel | 2024-09-13 | 5 | -12/+37 | |
| | | | | | | | (#124023) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-112301: Enable warning emitting options and ignore warnings in CI (#123020) | Nate Ohlson | 2024-09-13 | 8 | -91/+779 | |
| | | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | |||||
* | gh-123811: Test that round(Decimal) can return signed zero (GH-124007) | Sergey B Kirpichev | 2024-09-13 | 1 | -0/+2 | |
| | ||||||
* | gh-123961: Add `curses` prefix to global variables in `_cursesmodule.c` ↵ | Bénédikt Tran | 2024-09-13 | 2 | -18/+18 | |
| | | | | | (#124047) Use the `const char*` type instead of a `const *` for the encoding name. | |||||
* | gh-124044: protect macros expansions in `_cursesmodules.c` using `do { ... } ↵ | Bénédikt Tran | 2024-09-13 | 1 | -19/+28 | |
| | | | | while (0)` (#124045) | |||||
* | gh-123909: PyType_From*: Disallow metaclasses with custom tp_new (GH-123947) | Petr Viktorin | 2024-09-13 | 4 | -43/+34 | |
| | ||||||
* | gh-108303: Remove the non-test `Lib/test/reperf.py` (GH-114356) | sobolevn | 2024-09-13 | 3 | -28/+15 | |
| | ||||||
* | gh-123961: Remove global variable `ModDict` in `_cursesmodule.c` (#123962) | Bénédikt Tran | 2024-09-13 | 2 | -38/+44 | |
| | ||||||
* | GH-101599: Update docs to remove redundant option in argparse tutorial (#124025) | Savannah Ostrowski | 2024-09-13 | 1 | -1/+1 | |
| | ||||||
* | gh-116622: Mock the passage of time in Android logcat rate limit tests (#124015) | Malcolm Smith | 2024-09-13 | 2 | -7/+30 | |
| | | | | | Mock the passage of time in Android logcat rate limit tests Co-authored-by: Russell Keith-Magee <russell@keith-magee.com> | |||||
* | gh-123614: Add save function to turtle.py (#123617) | Yngve Mardal Moe | 2024-09-13 | 4 | -1/+122 | |
| | ||||||
* | gh-116622: Android test script improvements (#124012) | Malcolm Smith | 2024-09-13 | 2 | -17/+34 | |
| | | | | | | * Set Android test script stdout to line-buffered * Print warning logcat messages on stderr * Add a -vv option to display high-volume messages which are rarely useful * Documentation and comment improvements | |||||
* | gh-123976: Refresh docs around custom providers. (#123977) | Jason R. Coombs | 2024-09-13 | 2 | -23/+28 | |
| | | | | | * gh-123976: Refresh docs around custom providers. * Remove excess whitespace. | |||||
* | gh-124027: Support Del, PgUp, and PgDn on TERM=vt100 (#124028) | Miro Hrončok | 2024-09-13 | 3 | -0/+5 | |
| | | | | | | | | | | | pyrepl: Support Del, PgUp, and PgDn on TERM=vt100 From Fedora's /etc/inputrc: "\e[5~": history-search-backward "\e[6~": history-search-forward "\e[3~": delete-char Fixes https://github.com/python/cpython/issues/124027 | |||||
* | gh-124019: do not call codegen_annotations_in_scope if there are no ↵ | Irit Katriel | 2024-09-12 | 1 | -14/+10 | |
| | | | | annotations (#124020) | |||||
* | gh-123085: Fix issue in inferred caller when resources package has no source ↵ | Jason R. Coombs | 2024-09-12 | 3 | -4/+43 | |
| | | | | | | | (#123102) gh-123085: Fix issue in inferred caller when resources package has no source. From importlib_resources 6.4.3 (python/importlib_resources#314). | |||||
* | gh-124013: remove _PyCompile_IsTopLevelAwait (#124014) | Irit Katriel | 2024-09-12 | 3 | -29/+0 | |
| | ||||||
* | gh-123923: Defer refcounting for `f_executable` in `_PyInterpreterFrame` ↵ | Sam Gross | 2024-09-12 | 18 | -99/+177 | |
| | | | | | | | | (#123924) Use a `_PyStackRef` and defer the reference to `f_executable` when possible. This avoids some reference count contention in the common case of executing the same code object from multiple threads concurrently in the free-threaded build. | |||||
* | GH-123996: Explicitly mark 'self_or_null' as an array of size 1 to ensure ↵ | Mark Shannon | 2024-09-12 | 7 | -327/+344 | |
| | | | | that it is kept in memory for calls (GH-124003) | |||||
* | gh-123994: Generate utf-16 file using little endian and BOM. (#123995) | Jason R. Coombs | 2024-09-12 | 1 | -2/+2 | |
| | ||||||
* | gh-123968: Fix lower bound for `python -m random --float` (#123971) | Anders Kaseorg | 2024-09-12 | 3 | -5/+6 | |
| | ||||||
* | gh-118577: Clarify that inspect.BoundArguments prefers to put values in args ↵ | Nice Zombies | 2024-09-12 | 1 | -1/+2 | |
| | | | | (GH-119936) | |||||
* | Docs: Drop letter PDF (#123912) | Hugo van Kemenade | 2024-09-12 | 2 | -16/+1 | |
| | ||||||
* | gh-111997: update what's new in 3.13 re C API for monitoring events (#123822) | Irit Katriel | 2024-09-12 | 1 | -0/+4 | |
| | ||||||
* | gh-123935: Fix typo in `_get_slots` in `dataclasses.py` (#123941) | sobolevn | 2024-09-12 | 3 | -1/+22 | |
| | ||||||
* | gh-116622: Switch test_stress_delivery_simultaneous from SIGUSR1 to SIGUSR2 ↵ | Malcolm Smith | 2024-09-12 | 2 | -6/+25 | |
| | | | | | (#123981) Use SIGUSR1 instead of SIGUSR2 to improve reliability of signal stress test on Android. | |||||
* | gh-121735: Fix module-adjacent references in zip files (#123037) | Jason R. Coombs | 2024-09-12 | 40 | -261/+223 | |
| | | | | | | | | | | | | | | | * gh-116608: Apply style and compatibility changes from importlib_metadata. * gh-121735: Ensure module-adjacent resources are loadable from a zipfile. * gh-121735: Allow all modules to be processed by the ZipReader. * Add blurb * Remove update-zips script, unneeded. * Remove unnecessary references to removed static fixtures. * Remove zipdata fixtures, unused. | |||||
* | Fix "The Matrix" movie release year in `typing.rst` (#123965) | sobolevn | 2024-09-11 | 1 | -1/+1 | |
| | ||||||
* | Update Sphinx Lint and fix unnecessary parentheses in `:func:`s (#123960) | Hugo van Kemenade | 2024-09-11 | 3 | -6/+6 | |
| | ||||||
* | gh-123958: apply docstring removal optimization in ast_opt instead of ↵ | Irit Katriel | 2024-09-11 | 5 | -23/+47 | |
| | | | | codegen (#123959) | |||||
* | gh-123290: fix reference leaks in the error-branches of `_cursesmodule.c` ↵ | Bénédikt Tran | 2024-09-11 | 1 | -147/+211 | |
| | | | | (#123953) | |||||
* | gh-108951: Document how to terminate an asyncio.TaskGroup (#123837) | Bénédikt Tran | 2024-09-11 | 1 | -0/+47 | |
| | | | | | We don't want to add another API, since the recipe is straightforward and rarely needed. The advantage is that we could backport this to the earliest Python version that has taskgroups (3.11, alas in security mode already, so we'll just do 3.12 and 3.13). | |||||
* | gh-119180: Documentation for PEP 649 and 749 (#122235) | Jelle Zijlstra | 2024-09-11 | 11 | -104/+680 | |
| | | | | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Carol Willing <carolcode@willingconsulting.com> |