summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-111964: Add _PyRWMutex a "readers-writer" lock (gh-112859)Sam Gross2023-12-163-0/+244
| | | | This adds `_PyRWMutex`, a "readers-writer" lock, which wil be used to serialize global stop-the-world pauses with per-interpreter pauses.
* Add reshape() recipe to demonstrate a use case for batched() and ↵Raymond Hettinger2023-12-161-3/+24
| | | | chained.from_iterable() (gh-113198)
* gh-110746: Improve markup in ``tkinter.ttk.rst`` (#111236)Akshat Khandelwal2023-12-152-15/+17
| | | | | | | | | | | | * gh-110746: Improve markup in tkinter.ttk.rst * gh-110746: Improve markup in tkinter.ttk.rst * 📜🤖 Added by blurb_it. --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* GH-112383: Fix test_loop_quicken when an executor is installed (GH-113153)Brandt Bucher2023-12-151-2/+7
|
* gh-101100: Fix various Sphinx warnings for dunder references in the ↵Alex Waygood2023-12-158-24/+34
| | | | `library/` directory (#113163)
* gh-101100: Fix Sphinx nitpicks in `library/numbers.rst` (#113162)Alex Waygood2023-12-152-10/+10
|
* gh-113172: Fix compiler warnings in Modules/_xxinterpqueuesmodule.c (GH-113173)Serhiy Storchaka2023-12-151-1/+3
| | | Fix compiler waarnings in Modules/_xxinterpqueuesmodule.c
* [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() ↵Victor Stinner2023-12-155-21/+357
| | | | | | | | | | (#111116) Detect email address parsing errors and return empty tuple to indicate the parsing error (old API). Add an optional 'strict' parameter to getaddresses() and parseaddr() functions. Patch by Thomas Dwyer. Co-Authored-By: Thomas Dwyer <github@tomd.tel>
* gh-113009: Fix multiprocessing Process.terminate() on Windows (#113128)Victor Stinner2023-12-152-24/+35
| | | | | | On Windows, Process.terminate() no longer sets the returncode attribute to always call WaitForSingleObject() in Process.wait(). Previously, sometimes the process was still running after TerminateProcess() even if GetExitCodeProcess() is not STILL_ACTIVE.
* gh-112278: Add retry in WMI tests in case of slow initialization (GH-113154)AN Long2023-12-151-7/+19
|
* gh-61648: Detect line numbers of properties in doctests (GH-113161)Serhiy Storchaka2023-12-154-0/+21
|
* GH-111485: Mark some instructions as `TIER_ONE_ONLY` (GH-113155)Brandt Bucher2023-12-153-139/+14
|
* gh-112720: Move dis's cache output code to the Formatter, labels lookup to ↵Irit Katriel2023-12-152-81/+104
| | | | the arg_resolver. Reduce the number of parameters passed around. (#113108)
* gh-101100: Fix Sphinx nitpicks in `library/rlcompleter.rst` (#113125)Alex Waygood2023-12-153-19/+24
|
* gh-112535: Update _Py_ThreadId() to support RISC-V (gh-113084)Furkan Onder2023-12-141-0/+7
| | | Update _Py_ThreadId() to support RISC-V
* Optimize unique_justseen() recipe for a common case. (gh-113147)Raymond Hettinger2023-12-141-0/+2
|
* gh-101100: Cleanup `mailbox` docs (#113124)Alex Waygood2023-12-142-123/+139
|
* gh-101100: Fix Sphinx warnings in `whatsnew/2.3.rst` (#112373)Hugo van Kemenade2023-12-142-139/+138
|
* Remove itertool recipe with low pedagogical value (gh-113138)Raymond Hettinger2023-12-141-32/+32
|
* gh-101100: Fix Sphinx nitpicks in `library/collections.abc.rst` (#113116)Alex Waygood2023-12-143-41/+43
|
* Add recipe for totient() to demonstrate unique_justseen() and factor(). ↵Raymond Hettinger2023-12-141-0/+27
| | | | (gh-113131)
* gh-105912: document gotcha with using os.fork on macOS (#112871)Ronald Oussoren2023-12-143-0/+21
| | | | | | | | | | | | | * gh-105912: document gotcha with using os.fork on macOS Using ``fork(2)`` on macOS when also using higher-level system APIs in the parent proces can crash on macOS because those system APIs are not written to handle this usage pattern. There's nothing we can do about this other than documenting the problem. Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* bpo-36796: Clean the error handling in _testcapimodule.c (GH-13085)Zackery Spytz2023-12-142-14/+50
|
* GH-111485: Sort metadata tables for easier checking of future diffs (GH-113101)Mark Shannon2023-12-142-1509/+1511
|
* gh-113113: doc: use less ambiguously named variable (gh-113114)jeremy-dolan2023-12-141-3/+3
|
* gh-86179: Avoid making case-only changes when calculating realpath() during ↵Steve Dower2023-12-141-2/+11
| | | | initialization (GH-113077)
* GH-112354: Treat _EXIT_TRACE like an unconditional side exit (GH-113104)Mark Shannon2023-12-145-22/+5
|
* gh-101100: Fix Sphinx nitpicks in `library/traceback.rst` (#113106)Alex Waygood2023-12-143-38/+75
|
* gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and ↵Alex Waygood2023-12-143-5/+7
| | | | `reference/simple_stmts.rst` (#113107)
* gh-112716: Fix SystemError when __builtins__ is not a dict (GH-112770)Serhiy Storchaka2023-12-143-2/+30
| | | | | | It was raised in two cases: * in the import statement when looking up __import__ * in pickling some builtin type when looking up built-ins iter, getattr, etc.
* gh-112730: Update docs for colour env vars (#112837)Hugo van Kemenade2023-12-143-2/+9
|
* gh-59616: Support os.chmod(follow_symlinks=True) and os.lchmod() on Windows ↵Serhiy Storchaka2023-12-149-28/+93
| | | | (GH-113049)
* gh-113090: Fix test.support.os_support.can_chmod() on Windows (GH-113091)Serhiy Storchaka2023-12-144-6/+12
|
* gh-112205: Update textio module to use `@getter` as possible. (gh-113095)Donghee Na2023-12-142-49/+125
|
* Fixing typo in DocTestRunner docs (GH-112326)Daniel Wysocki2023-12-141-1/+1
|
* gh-111049: Fix crash during garbage collection of the BytesIO buffer object ↵Serhiy Storchaka2023-12-143-10/+27
| | | | (GH-111221)
* gh-90890: Reorder mailbox.Maildir method documentation (GH-113071)Stephen Gildea2023-12-141-40/+40
| | | | | | | | | | When new mailbox.Maildir methods were added for 3.13.0a2, their documentation was added at the end of the mailbox.Maildir section instead of grouping them with other methods Maildir adds to Mailbox. This commit moves the new methods' documentation adjacent to documentation for existing Maildir-specific methods, so that the "special remarks" for common methods remains at the end.
* gh-113086: Add tests for os.chmod() and os.lchmod() (GH-113087)Serhiy Storchaka2023-12-142-1/+118
| | | Also make test_copymode_symlink_to_symlink in test_shutil more strict.
* gh-86179: Implement realpath() on Windows for getpath.py calculations ↵Steve Dower2023-12-134-11/+63
| | | | (GH-113033)
* Move optimizer/executor tests to new file test_capi/test_opt.py (#113072)Guido van Rossum2023-12-132-535/+544
|
* bpo-40648: Test modes that file can get with chmod() on Windows (GH-20130)Pavol Babinčák‏2023-12-132-0/+8
| | | | | Order of tests matter second part makes testing file writable and possible to remove again.
* gh-107959: clarify Unix-availability of `os.lchmod()` (GH-107960)Christoph Anton Mitterer2023-12-131-1/+4
| | | | | | | | | | | | | | | | POSIX specifies that implementations are not required to support changing the file mode of symbolic links, but may do so. Consequently, `lchmod()` is not part of POSIX (but mentioned for implementations which do support the above). The current wording of the availability of `os.lchmod()` is rather vague and improved to clearly tell which POSIX/Unix/BSD-like support the function in general (those that support changing the file mode of symbolic links). Further, some examples of major implementations are added. Data for the BSDs taken from their online manpages. Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Docs: Fix external link to devguide.python.org (GH-112899)Miro Hrončok2023-12-131-1/+1
|
* gh-101100: Improve docs on exception attributes (GH-113057)Alex Waygood2023-12-136-67/+115
| | | | | | | | | | | * Improve docs on exception attributes * thanks sphinx-lint * fix doctests * argh, okay, give up on doctests * Various improvements
* Use match/case in grouper() recipe (gh-113059)Raymond Hettinger2023-12-131-8/+9
| | | Use match/case in grouper() reciper
* gh-76785: Fix CODEOWNERS (gh-113038)Eric Snow2023-12-131-14/+7
| | | In gh-112982 I made some changes to .github/CODEOWNERS. Later, @ezio-melotti pointed out that some of those changes were unnecessary.
* gh-110190: Fix ctypes structs with array on PPCLE64 (GH-112959)Diego Russo2023-12-134-207/+209
| | | | | Fix the same issue of PR #112604 on PPC64LE platform Refactor tests to make easier to add more platfroms if needed.
* gh-111650: Ensure pyconfig.h includes Py_GIL_DISABLED on Windows (GH-112778)Steve Dower2023-12-1325-44/+112
|
* gh-112205: Support `@setter` annotation from AC (gh-112922)Donghee Na2023-12-139-64/+262
| | | | | | --------- Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Fix whitespace in generated codeMark Shannon2023-12-132-9/+10
|