summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* import: permit __name__ for use in __name__ = "__main__": (#124381)Thomas Grainger2024-09-251-1/+1
| | | permit __name__ for use in __name__ = "__main__":
* gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (#123231)Damien2024-09-251-0/+3
| | | | | * Adding hyperlink of argument * Modify as reviewer suggested
* gh-123968: fix -f/--float command line option description (#124517)Robert Wolff2024-09-251-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 Katriel2024-09-2514-47/+234
| | | | of a boolean expression (#124394)
* gh-123014: Disable pidfd API on older Android versions (#124458)Malcolm Smith2024-09-257-10/+18
|
* gh-116622: Make test_unzip_zipfile recognize Android error message format ↵Malcolm Smith2024-09-251-1/+4
| | | | | | (#124462) Make test_unzip_zipfile recognize Android error message format
* gh-123445: calendar: Improve descriptions for day and month attributes (#123483)Mat S2024-09-251-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 Most2024-09-251-6/+7
| | | | (#124494)
* Adjust build_ubuntu_ssltests job to use cache for the correct OS version ↵Zachary Ware2024-09-252-5/+10
| | | | (GH-124403)
* gh-90562: Support zero argument super with dataclasses when slots=True ↵Eric V. Smith2024-09-254-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 Ostrowski2024-09-252-1/+2
| | | | (GH-124466)
* dataclasses: Avoid using private class (#124465)Jelle Zijlstra2024-09-241-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 Stinner2024-09-241-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ík2024-09-241-1/+1
|
* gh-123923: Defer refcounting for `f_funcobj` in `_PyInterpreterFrame` (#124026)Sam Gross2024-09-2417-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 Detrey2024-09-242-2/+3
| | | | | | ArgumentParser.add_subparsers() (GH-27667) Call _() on literal strings only.
* gh-120254: Add a `commands` argument to `pdb.set_trace` (#120255)Tian Gao2024-09-245-7/+30
|
* gh-124448: Update bundled Tcl/Tk in macOS installer to 8.6.15. (#124453)Ned Deily2024-09-242-3/+4
|
* gh-124405: Fix `NameError` in `openpty` (#124406)sobolevn2024-09-241-2/+2
|
* GH-124398: Pin LLVM to 18.1.0 for Windows JIT CI (GH-124399)Savannah Ostrowski2024-09-241-4/+2
|
* GH-87358: Add clarification about nargs and default argparse behaviour (#124094)Savannah Ostrowski2024-09-241-0/+3
|
* gh-124402: Require cpu resource in test_free_threading (#124438)Victor Stinner2024-09-243-0/+8
| | | Require the 'cpu' test resource on slow test_free_threading tests.
* gh-113008: Correct argparse usage output for required, mutually exclusive ↵Payton2024-09-243-2/+26
| | | | groups (GH-113085)
* gh-59317: Improve parsing optional positional arguments in argparse (GH-124303)Serhiy Storchaka2024-09-243-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)Stanley2024-09-241-4/+5
|
* gh-123978: Remove broken time.thread_time() on NetBSD (GH-124116)Serhiy Storchaka2024-09-242-3/+16
|
* gh-124188: Fix PyErr_ProgramTextObject() (GH-124189)Serhiy Storchaka2024-09-246-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 Storchaka2024-09-243-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 Storchaka2024-09-243-4/+23
| | | | in argparse (GH-124275)
* gh-63143: Fix parsing mutually exclusive arguments in argparse (GH-124307)Serhiy Storchaka2024-09-243-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)sobolevn2024-09-241-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 Stinner2024-09-248-17/+44
|
* gh-124130: Increase test coverage for \b and \B in regular expressions ↵Serhiy Storchaka2024-09-241-7/+113
| | | | (GH-124330)
* Fix typos (#124409)Xie Yanbo2024-09-243-3/+3
|
* gh-119180: Add discussion of annotations to the 3.14 What's New (#124393)Jelle Zijlstra2024-09-241-1/+88
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-119333: Add C api to have contextvar enter/exit callbacks (#119335)Jason Fried2024-09-2410-0/+402
| | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-123990: Good bye WITH_FREELISTS macro (gh-124358)Donghee Na2024-09-2416-100/+4
|
* gh-100980: ctypes: Test, document, and fix finalizing _fields_ (GH-124292)Petr Viktorin2024-09-244-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 Kemenade2024-09-233-7/+42
|
* gh-119004: fix a crash in equality testing between `OrderedDict` (#121329)Bénédikt Tran2024-09-234-11/+145
|
* gh-116622: Complete Android documentation (#124259)Malcolm Smith2024-09-2322-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 ↵Wulian2024-09-2311-49/+24
| | | | dependencies (GH-124103)
* Bump Ruff to 0.6.7 (#124384)Alex Waygood2024-09-238-14/+11
|
* Doc: Add ``make dist-no-html`` (#124383)Adam Turner2024-09-232-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 Cannon2024-09-235-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 Smith2024-09-232-66/+86
| | | Disable HACL SIMD code on older versions of Android
* GH-87041: Fix incorrect indentation in argparse help (GH-124230)Savannah Ostrowski2024-09-233-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 Turner2024-09-231-23/+17
|
* gh-124344: Make `_PyObject_IS_GC()` use underscored `PyType_IS_GC()` (#124349)neonene2024-09-231-4/+4
| | | move up _PyType_IS_GC and use it
* gh-119180: Fix annotationlib.ForwardRef.evaluate with no globals (#124326)Jelle Zijlstra2024-09-232-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>