Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-124153: Implement `PyType_GetBaseByToken()` and `Py_tp_token` slot ↵ | neonene | 2024-09-18 | 18 | -13/+443 | |
| | | | | (GH-124163) | |||||
* | Revert "gh-123974: Fix time.get_clock_info() on NetBSD (#123975)" (GH-124115) | Serhiy Storchaka | 2024-09-18 | 1 | -5/+1 | |
| | | | This reverts commit b1d6f8a2ee04215c64aa8752cc515b7e98a08d28. | |||||
* | gh-124191: Disable -Wconversion in enable safety (gh-124192) | Nate Ohlson | 2024-09-18 | 4 | -514/+5 | |
| | ||||||
* | gh-124194: Fix wrong issue number in What's New in Python 3.8 (#124195) | Bradley Reynolds | 2024-09-18 | 1 | -1/+1 | |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | |||||
* | gh-122765: make prompt in activate.csh robust against unbalanced quotes and ↵ | Jacek | 2024-09-17 | 2 | -1/+2 | |
| | | | | newlines (GH-123751) | |||||
* | gh-123836: workaround fmod(x, y) bug on Windows (#124171) | Sergey B Kirpichev | 2024-09-17 | 2 | -0/+12 | |
| | | | | | | | | | | | | | | | | | | Buildbot failure on Windows 10 with MSC v.1916 64 bit (AMD64): FAIL: testFmod (test.test_math.MathTests.testFmod) ---------------------------------------------------------------------- Traceback (most recent call last): File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_math.py", line 605, in testFmod self.ftest('fmod(-10, 1)', math.fmod(-10, 1), -0.0) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_math.py", line 258, in ftest self.fail("{}: {}".format(name, failure)) ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: fmod(-10, 1): expected -0.0, got 0.0 (zero has wrong sign) Here Windows loose sign of the result; if y is nonzero, the result should have the same sign as x. This amends commit 28aea5d07d. | |||||
* | gh-110190: Fix ctypes structs with array on SPARC (GH-118233) | Jakub Kulík | 2024-09-17 | 2 | -1/+3 | |
| | ||||||
* | gh-124064: Fix -Wconversion warnings in Parser/pegen.c (#124181) | Victor Stinner | 2024-09-17 | 3 | -11/+9 | |
| | ||||||
* | gh-124064: Fix -Wconversion warnings in pycore_{long,object}.h (#124177) | Victor Stinner | 2024-09-17 | 6 | -24/+19 | |
| | | | | Change also the fix for pycore_gc.h and pycore_stackref.h: declare constants as uintptr_t, rather than casting constants. | |||||
* | GH-103484: Fix broken links reported by linkcheck (#124169) | Rafael Fontenelle | 2024-09-17 | 6 | -6/+6 | |
| | ||||||
* | gh-124064: Fix -Wconversion warnings in pycore_{gc,list,stackref}.h (#124174) | Victor Stinner | 2024-09-17 | 5 | -9/+4 | |
| | ||||||
* | Use pep role instead of url (#121611) | Rafael Fontenelle | 2024-09-17 | 11 | -42/+37 | |
| | ||||||
* | Tools/build/stable_abi.py: Improve ergonomics (GH-105355) | Petr Viktorin | 2024-09-17 | 2 | -7/+12 | |
| | | | | | | | | | * Tools/build/stable_abi.py: Improve ergonomics - Make the manifest file argument optional - Output resolved paths with --list (getting rid of `../../`) - Mention --all or --generate-all if no actions are specified * Don't hardcode Misc/stable_abi.toml in Makefile, rely on the default | |||||
* | gh-123836: Check zero signs in math_testcases.txt (#123854) | Sergey B Kirpichev | 2024-09-17 | 1 | -0/+10 | |
| | | | | | Just like cmath_testcases.txt. These tests require IEEE 754 anyway. Correct zero sign for sqrt tests to match math.h convention. | |||||
* | GH-123945: Update regex for parsing negative numbers that contain ↵ | Savannah Ostrowski | 2024-09-17 | 3 | -1/+22 | |
| | | | | | | | | underscores (#123970) --------- Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | |||||
* | GH-103484: Fix permanently redirects reported by linkcheck (GH-124144) | Rafael Fontenelle | 2024-09-17 | 17 | -26/+30 | |
| | | | Fix redirects reported by linkcheck, update docs conf.py checks. | |||||
* | GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD (#124110) | Furkan Onder | 2024-09-16 | 1 | -0/+4 | |
| | | | | | Skip test_strcoll_with_diacritic() and test_strxfrm_with_diacritic() of test_locale on NetBSD due to lack of UTF-8 LC_COLLATE support. | |||||
* | gh-121023: Improve `_xxtestfuzz/README.rst` (#121024) | sobolevn | 2024-09-16 | 1 | -3/+5 | |
| | | | Co-authored-by: Illia Volochii <illia.volochii@gmail.com> | |||||
* | gh-124043: Disallow mixing `--with-trace-refs` and `--disable-gil` (#124078) | Peter Bierma | 2024-09-16 | 3 | -0/+10 | |
| | | | Tracing references is not currently thread-safe in the free-threaded build. | |||||
* | gh-124064: Make warning emitting compiler options opt-in (#124070) | Nate Ohlson | 2024-09-16 | 8 | -115/+809 | |
| | | | | | 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-109975: Copyedit 3.13 What's New: New Deprecations (#123845) | Adam Turner | 2024-09-16 | 3 | -178/+265 | |
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | |||||
* | gh-123969: refactor _PyErr_RaiseSyntaxError and _PyErr_EmitSyntaxWarning out ↵ | Irit Katriel | 2024-09-16 | 4 | -32/+58 | |
| | | | | of compiler (#123972) | |||||
* | gh-124058: remove _PyCompile_IsNestedScope, roll it into ↵ | Irit Katriel | 2024-09-16 | 3 | -13/+6 | |
| | | | | _PyCompile_IsInteractive (#124061) | |||||
* | gh-97588: remove unused functions in _ctypes/cfield.c (GH-124010) | Irit Katriel | 2024-09-16 | 1 | -36/+0 | |
| | ||||||
* | gh-123748: Add conditional compilation rules for HACL SIMD256 and SIMD128 on ↵ | Russell Keith-Magee | 2024-09-16 | 7 | -4/+143 | |
| | | | | | | macOS (#123989) Add conditional compilation rules to allow HACL SIMD256 and SIMD128 to be ignored on the ARM64 pass of universal2 macOS builds. | |||||
* | gh-121404: update CODEOWNERS (#124109) | Irit Katriel | 2024-09-15 | 1 | -0/+1 | |
| | ||||||
* | gh-121459: Add missing return to _PyDict_LoadGlobalStackRef (#124085) | Sam Gross | 2024-09-14 | 1 | -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) | 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 | |
| |