summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-121404: update CODEOWNERS (#124109)Irit Katriel2024-09-151-0/+1
|
* gh-121459: Add missing return to _PyDict_LoadGlobalStackRef (#124085)Sam Gross2024-09-141-2/+7
| | | | | | | | We need to return immediately if there's an error during dictionary lookup. Also avoid the conditional-if operator. MSVC versions through v19.27 miscompile compound literals with side effects within a conditional operator. This caused crashes in the Windows10 buildbot.
* Remove unused `_allowed_types` from `typing.py` (#124090)sobolevn2024-09-141-6/+1
|
* Remove unused variable in `MagicMixin._mock_set_magics` (#124092)sobolevn2024-09-141-2/+0
|
* gh-124068: Fix reference leak with generators in the free-threaded build ↵Sam Gross2024-09-141-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 Barker2024-09-131-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 Hettinger2024-09-131-4/+6
|
* gh-123974: Fix time.get_clock_info() on NetBSD (#123975)Furkan Onder2024-09-131-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 Kemenade2024-09-138-779/+91
| | | | (#123020)" (#124065)
* gh-100554: Fix formatting of type.rst modifications (#124066)Oleg Iarygin2024-09-131-6/+5
|
* gh-122957: Fix test flakiness in asyncio test in free-thread build (#124039)Loïc Estève2024-09-131-2/+4
|
* gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031)Furkan Onder2024-09-131-1/+1
|
* gh-121459: Deferred LOAD_GLOBAL (GH-123128)Ken Jin2024-09-138-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 Jakob2024-09-138-10/+147
| | | | ``PyTypeObject.tp_vectorcall`` using the ``PyType_FromSpec`` function family. (#123332)
* Normalize cdecl formatting as found elsewhere on ctypes.rst (#121379)utkonos2024-09-131-1/+1
|
* Update to 3.13 the output of exceptions raised (#123888)Rafael Fontenelle2024-09-131-3/+42
|
* gh-124022: add missing #include (#124052)Irit Katriel2024-09-131-0/+2
|
* gh-119802: Update memory management docs for free-threaded build (gh-124006)Donghee Na2024-09-132-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 Peterson2024-09-1312-20691/+22581
|
* gh-124022: Fix bug where class docstring is removed in interactive mode ↵Irit Katriel2024-09-135-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 Ohlson2024-09-138-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 Kirpichev2024-09-131-0/+2
|
* gh-123961: Add `curses` prefix to global variables in `_cursesmodule.c` ↵Bénédikt Tran2024-09-132-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 Tran2024-09-131-19/+28
| | | | while (0)` (#124045)
* gh-123909: PyType_From*: Disallow metaclasses with custom tp_new (GH-123947)Petr Viktorin2024-09-134-43/+34
|
* gh-108303: Remove the non-test `Lib/test/reperf.py` (GH-114356)sobolevn2024-09-133-28/+15
|
* gh-123961: Remove global variable `ModDict` in `_cursesmodule.c` (#123962)Bénédikt Tran2024-09-132-38/+44
|
* GH-101599: Update docs to remove redundant option in argparse tutorial (#124025)Savannah Ostrowski2024-09-131-1/+1
|
* gh-116622: Mock the passage of time in Android logcat rate limit tests (#124015)Malcolm Smith2024-09-132-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 Moe2024-09-134-1/+122
|
* gh-116622: Android test script improvements (#124012)Malcolm Smith2024-09-132-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. Coombs2024-09-132-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čok2024-09-133-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 Katriel2024-09-121-14/+10
| | | | annotations (#124020)
* gh-123085: Fix issue in inferred caller when resources package has no source ↵Jason R. Coombs2024-09-123-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 Katriel2024-09-123-29/+0
|
* gh-123923: Defer refcounting for `f_executable` in `_PyInterpreterFrame` ↵Sam Gross2024-09-1218-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 Shannon2024-09-127-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. Coombs2024-09-121-2/+2
|
* gh-123968: Fix lower bound for `python -m random --float` (#123971)Anders Kaseorg2024-09-123-5/+6
|
* gh-118577: Clarify that inspect.BoundArguments prefers to put values in args ↵Nice Zombies2024-09-121-1/+2
| | | | (GH-119936)
* Docs: Drop letter PDF (#123912)Hugo van Kemenade2024-09-122-16/+1
|
* gh-111997: update what's new in 3.13 re C API for monitoring events (#123822)Irit Katriel2024-09-121-0/+4
|
* gh-123935: Fix typo in `_get_slots` in `dataclasses.py` (#123941)sobolevn2024-09-123-1/+22
|
* gh-116622: Switch test_stress_delivery_simultaneous from SIGUSR1 to SIGUSR2 ↵Malcolm Smith2024-09-122-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. Coombs2024-09-1240-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)sobolevn2024-09-111-1/+1
|
* Update Sphinx Lint and fix unnecessary parentheses in `:func:`s (#123960)Hugo van Kemenade2024-09-113-6/+6
|
* gh-123958: apply docstring removal optimization in ast_opt instead of ↵Irit Katriel2024-09-115-23/+47
| | | | codegen (#123959)
* gh-123290: fix reference leaks in the error-branches of `_cursesmodule.c` ↵Bénédikt Tran2024-09-111-147/+211
| | | | (#123953)