Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | import: permit __name__ for use in __name__ = "__main__": (#124381) | Thomas Grainger | 2024-09-25 | 1 | -1/+1 |
| | | | permit __name__ for use in __name__ = "__main__": | ||||
* | gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (#123231) | Damien | 2024-09-25 | 1 | -0/+3 |
| | | | | | * Adding hyperlink of argument * Modify as reviewer suggested | ||||
* | gh-123968: fix -f/--float command line option description (#124517) | Robert Wolff | 2024-09-25 | 1 | -1/+1 |
| | | | | | | | | | | | * fix -f/--float command line option description See gh-123968 gh-124009 * Update Doc/library/random.rst --------- Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> | ||||
* | gh-124285: Fix bug where bool() is called multiple times for the same part ↵ | Irit Katriel | 2024-09-25 | 14 | -47/+234 |
| | | | | of a boolean expression (#124394) | ||||
* | gh-123014: Disable pidfd API on older Android versions (#124458) | Malcolm Smith | 2024-09-25 | 7 | -10/+18 |
| | |||||
* | gh-116622: Make test_unzip_zipfile recognize Android error message format ↵ | Malcolm Smith | 2024-09-25 | 1 | -1/+4 |
| | | | | | | (#124462) Make test_unzip_zipfile recognize Android error message format | ||||
* | gh-123445: calendar: Improve descriptions for day and month attributes (#123483) | Mat S | 2024-09-25 | 1 | -4/+20 |
| | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | Doc: Improve documentation for the ``path`` argument in ``shutil.which()`` ↵ | Tom Most | 2024-09-25 | 1 | -6/+7 |
| | | | | (#124494) | ||||
* | Adjust build_ubuntu_ssltests job to use cache for the correct OS version ↵ | Zachary Ware | 2024-09-25 | 2 | -5/+10 |
| | | | | (GH-124403) | ||||
* | gh-90562: Support zero argument super with dataclasses when slots=True ↵ | Eric V. Smith | 2024-09-25 | 4 | -16/+177 |
| | | | | | | (gh-124455) Co-authored-by: @wookie184 Co-authored-by: Carl Meyer <carl@oddbird.net> | ||||
* | GH-124408: Temporarily skip test_strftime_y2k for emulated Linux JIT CI ↵ | Savannah Ostrowski | 2024-09-25 | 2 | -1/+2 |
| | | | | (GH-124466) | ||||
* | dataclasses: Avoid using private class (#124465) | Jelle Zijlstra | 2024-09-24 | 1 | -4/+1 |
| | | | | | | typing.get_origin() does what we need here, without reaching into typing internals. This shouldn't change any behavior (so I am going to skip news), but it sets a good example for other users introspecting typing objects. | ||||
* | gh-124402: Require cpu resource in test_super slow method (#124434) | Victor Stinner | 2024-09-24 | 1 | -0/+6 |
| | | | | test___class___modification_multithreaded() now requires the 'cpu' test resource on a Free Threaded build. | ||||
* | gh-86009: Fix solaris detection in `_USE_CP_SENDFILE` check (GH-124289) | Jakub Kulík | 2024-09-24 | 1 | -1/+1 |
| | |||||
* | gh-123923: Defer refcounting for `f_funcobj` in `_PyInterpreterFrame` (#124026) | Sam Gross | 2024-09-24 | 17 | -137/+143 |
| | | | | | | Use a `_PyStackRef` and defer the reference to `f_funcobj` 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. | ||||
* | bpo-44864: Do not translate user-provided strings in ↵ | Jérémie Detrey | 2024-09-24 | 2 | -2/+3 |
| | | | | | | ArgumentParser.add_subparsers() (GH-27667) Call _() on literal strings only. | ||||
* | gh-120254: Add a `commands` argument to `pdb.set_trace` (#120255) | Tian Gao | 2024-09-24 | 5 | -7/+30 |
| | |||||
* | gh-124448: Update bundled Tcl/Tk in macOS installer to 8.6.15. (#124453) | Ned Deily | 2024-09-24 | 2 | -3/+4 |
| | |||||
* | gh-124405: Fix `NameError` in `openpty` (#124406) | sobolevn | 2024-09-24 | 1 | -2/+2 |
| | |||||
* | GH-124398: Pin LLVM to 18.1.0 for Windows JIT CI (GH-124399) | Savannah Ostrowski | 2024-09-24 | 1 | -4/+2 |
| | |||||
* | GH-87358: Add clarification about nargs and default argparse behaviour (#124094) | Savannah Ostrowski | 2024-09-24 | 1 | -0/+3 |
| | |||||
* | gh-124402: Require cpu resource in test_free_threading (#124438) | Victor Stinner | 2024-09-24 | 3 | -0/+8 |
| | | | Require the 'cpu' test resource on slow test_free_threading tests. | ||||
* | gh-113008: Correct argparse usage output for required, mutually exclusive ↵ | Payton | 2024-09-24 | 3 | -2/+26 |
| | | | | groups (GH-113085) | ||||
* | gh-59317: Improve parsing optional positional arguments in argparse (GH-124303) | Serhiy Storchaka | 2024-09-24 | 3 | -42/+102 |
| | | | | Fix parsing positional argument with nargs equal to '?' or '*' if it is preceded by an option and another positional argument. | ||||
* | gh-65169: Clarify prog default in argparse (GH-31602) | Stanley | 2024-09-24 | 1 | -4/+5 |
| | |||||
* | gh-123978: Remove broken time.thread_time() on NetBSD (GH-124116) | Serhiy Storchaka | 2024-09-24 | 2 | -3/+16 |
| | |||||
* | gh-124188: Fix PyErr_ProgramTextObject() (GH-124189) | Serhiy Storchaka | 2024-09-24 | 6 | -117/+328 |
| | | | | | | | | * Detect source file encoding. * Use the "replace" error handler even for UTF-8 (default) encoding. * Remove the BOM. * Fix detection of too long lines if they contain NUL. * Return the head rather than the tail for truncated long lines. | ||||
* | gh-72795: Make positional arguments with nargs='*' or REMAINDER non-required ↵ | Serhiy Storchaka | 2024-09-24 | 3 | -8/+32 |
| | | | | | | | (GH-124306) This allows to use positional argument with nargs='*' and without default in mutually exclusive group and improves error message about required arguments. | ||||
* | gh-53780: Ignore the first "--" (double dash) between an option and command ↵ | Serhiy Storchaka | 2024-09-24 | 3 | -4/+23 |
| | | | | in argparse (GH-124275) | ||||
* | gh-63143: Fix parsing mutually exclusive arguments in argparse (GH-124307) | Serhiy Storchaka | 2024-09-24 | 3 | -9/+120 |
| | | | | | | Arguments with the value identical to the default value (e.g. booleans, small integers, empty or 1-character strings) are no longer considered "not present". | ||||
* | gh-124120: Document `Annotated.__origin__` (#124125) | sobolevn | 2024-09-24 | 1 | -0/+18 |
| | | | | Co-authored-by: Brian Schubert <brianm.schubert@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-124127: Make Py_REFCNT() opaque in limited C API 3.14 (#124128) | Victor Stinner | 2024-09-24 | 8 | -17/+44 |
| | |||||
* | gh-124130: Increase test coverage for \b and \B in regular expressions ↵ | Serhiy Storchaka | 2024-09-24 | 1 | -7/+113 |
| | | | | (GH-124330) | ||||
* | Fix typos (#124409) | Xie Yanbo | 2024-09-24 | 3 | -3/+3 |
| | |||||
* | gh-119180: Add discussion of annotations to the 3.14 What's New (#124393) | Jelle Zijlstra | 2024-09-24 | 1 | -1/+88 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-119333: Add C api to have contextvar enter/exit callbacks (#119335) | Jason Fried | 2024-09-24 | 10 | -0/+402 |
| | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | ||||
* | gh-123990: Good bye WITH_FREELISTS macro (gh-124358) | Donghee Na | 2024-09-24 | 16 | -100/+4 |
| | |||||
* | gh-100980: ctypes: Test, document, and fix finalizing _fields_ (GH-124292) | Petr Viktorin | 2024-09-24 | 4 | -55/+67 |
| | | | | | | | | - If setting `_fields_` fails, e.g. with AttributeError, don't set the attribute in `__dict__` - Document the “finalization” behaviour - Beef up tests: add `getattr`, test Union as well as Structure - Put common functionality in a common function Co-authored-by: Peter Bierma <zintensitydev@gmail.com> | ||||
* | Lint and format Tools/build/check-warnings.py (#124382) | Hugo van Kemenade | 2024-09-23 | 3 | -7/+42 |
| | |||||
* | gh-119004: fix a crash in equality testing between `OrderedDict` (#121329) | Bénédikt Tran | 2024-09-23 | 4 | -11/+145 |
| | |||||
* | gh-116622: Complete Android documentation (#124259) | Malcolm Smith | 2024-09-23 | 22 | -111/+205 |
| | | | | | Co-authored-by: Russell Keith-Magee <russell@keith-magee.com> Co-authored-by: T. Wouters <thomas@python.org> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | gh-124102: Update internal PCbuild docs to accurately list build ↵ | Wulian | 2024-09-23 | 11 | -49/+24 |
| | | | | dependencies (GH-124103) | ||||
* | Bump Ruff to 0.6.7 (#124384) | Alex Waygood | 2024-09-23 | 8 | -14/+11 |
| | |||||
* | Doc: Add ``make dist-no-html`` (#124383) | Adam Turner | 2024-09-23 | 2 | -2/+32 |
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | GH-65961: Document the deprecation of `__package__` and `__cached__` (GH-124377) | Brett Cannon | 2024-09-23 | 5 | -5/+14 |
| | | | The code changes for warning related to `__package__` landed in Python 3.12. `__cached__` doesn't have any changes as it isn't used but only set by the import system. | ||||
* | gh-99108: Disable HACL SIMD code on older versions of Android (#124304) | Malcolm Smith | 2024-09-23 | 2 | -66/+86 |
| | | | Disable HACL SIMD code on older versions of Android | ||||
* | GH-87041: Fix incorrect indentation in argparse help (GH-124230) | Savannah Ostrowski | 2024-09-23 | 3 | -4/+44 |
| | | | | | | | | In case of usage a long command along with max_help_position more than the length of the command, the command's help was incorrectly started on the new line. Co-authored-by: Pavel Ditenbir <pavel.ditenbir@gmail.com> | ||||
* | GH-109975: Copyedit 3.13 What's New: Trivia (#124348) | Adam Turner | 2024-09-23 | 1 | -23/+17 |
| | |||||
* | gh-124344: Make `_PyObject_IS_GC()` use underscored `PyType_IS_GC()` (#124349) | neonene | 2024-09-23 | 1 | -4/+4 |
| | | | move up _PyType_IS_GC and use it | ||||
* | gh-119180: Fix annotationlib.ForwardRef.evaluate with no globals (#124326) | Jelle Zijlstra | 2024-09-23 | 2 | -15/+35 |
| | | | | | | | | | We were sometimes passing None as the globals argument to eval(), which makes it inherit the globals from the calling scope. Instead, ensure that globals is always non-None. The test was passing accidentally because I passed "annotationlib" as a module object; fix that. Also document the parameters to ForwardRef() and remove two unused private ones. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> |