Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-111964: Add _PyRWMutex a "readers-writer" lock (gh-112859) | Sam Gross | 2023-12-16 | 3 | -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 Hettinger | 2023-12-16 | 1 | -3/+24 |
| | | | | chained.from_iterable() (gh-113198) | ||||
* | gh-110746: Improve markup in ``tkinter.ttk.rst`` (#111236) | Akshat Khandelwal | 2023-12-15 | 2 | -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 Bucher | 2023-12-15 | 1 | -2/+7 |
| | |||||
* | gh-101100: Fix various Sphinx warnings for dunder references in the ↵ | Alex Waygood | 2023-12-15 | 8 | -24/+34 |
| | | | | `library/` directory (#113163) | ||||
* | gh-101100: Fix Sphinx nitpicks in `library/numbers.rst` (#113162) | Alex Waygood | 2023-12-15 | 2 | -10/+10 |
| | |||||
* | gh-113172: Fix compiler warnings in Modules/_xxinterpqueuesmodule.c (GH-113173) | Serhiy Storchaka | 2023-12-15 | 1 | -1/+3 |
| | | | Fix compiler waarnings in Modules/_xxinterpqueuesmodule.c | ||||
* | [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() ↵ | Victor Stinner | 2023-12-15 | 5 | -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 Stinner | 2023-12-15 | 2 | -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 Long | 2023-12-15 | 1 | -7/+19 |
| | |||||
* | gh-61648: Detect line numbers of properties in doctests (GH-113161) | Serhiy Storchaka | 2023-12-15 | 4 | -0/+21 |
| | |||||
* | GH-111485: Mark some instructions as `TIER_ONE_ONLY` (GH-113155) | Brandt Bucher | 2023-12-15 | 3 | -139/+14 |
| | |||||
* | gh-112720: Move dis's cache output code to the Formatter, labels lookup to ↵ | Irit Katriel | 2023-12-15 | 2 | -81/+104 |
| | | | | the arg_resolver. Reduce the number of parameters passed around. (#113108) | ||||
* | gh-101100: Fix Sphinx nitpicks in `library/rlcompleter.rst` (#113125) | Alex Waygood | 2023-12-15 | 3 | -19/+24 |
| | |||||
* | gh-112535: Update _Py_ThreadId() to support RISC-V (gh-113084) | Furkan Onder | 2023-12-14 | 1 | -0/+7 |
| | | | Update _Py_ThreadId() to support RISC-V | ||||
* | Optimize unique_justseen() recipe for a common case. (gh-113147) | Raymond Hettinger | 2023-12-14 | 1 | -0/+2 |
| | |||||
* | gh-101100: Cleanup `mailbox` docs (#113124) | Alex Waygood | 2023-12-14 | 2 | -123/+139 |
| | |||||
* | gh-101100: Fix Sphinx warnings in `whatsnew/2.3.rst` (#112373) | Hugo van Kemenade | 2023-12-14 | 2 | -139/+138 |
| | |||||
* | Remove itertool recipe with low pedagogical value (gh-113138) | Raymond Hettinger | 2023-12-14 | 1 | -32/+32 |
| | |||||
* | gh-101100: Fix Sphinx nitpicks in `library/collections.abc.rst` (#113116) | Alex Waygood | 2023-12-14 | 3 | -41/+43 |
| | |||||
* | Add recipe for totient() to demonstrate unique_justseen() and factor(). ↵ | Raymond Hettinger | 2023-12-14 | 1 | -0/+27 |
| | | | | (gh-113131) | ||||
* | gh-105912: document gotcha with using os.fork on macOS (#112871) | Ronald Oussoren | 2023-12-14 | 3 | -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 Spytz | 2023-12-14 | 2 | -14/+50 |
| | |||||
* | GH-111485: Sort metadata tables for easier checking of future diffs (GH-113101) | Mark Shannon | 2023-12-14 | 2 | -1509/+1511 |
| | |||||
* | gh-113113: doc: use less ambiguously named variable (gh-113114) | jeremy-dolan | 2023-12-14 | 1 | -3/+3 |
| | |||||
* | gh-86179: Avoid making case-only changes when calculating realpath() during ↵ | Steve Dower | 2023-12-14 | 1 | -2/+11 |
| | | | | initialization (GH-113077) | ||||
* | GH-112354: Treat _EXIT_TRACE like an unconditional side exit (GH-113104) | Mark Shannon | 2023-12-14 | 5 | -22/+5 |
| | |||||
* | gh-101100: Fix Sphinx nitpicks in `library/traceback.rst` (#113106) | Alex Waygood | 2023-12-14 | 3 | -38/+75 |
| | |||||
* | gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and ↵ | Alex Waygood | 2023-12-14 | 3 | -5/+7 |
| | | | | `reference/simple_stmts.rst` (#113107) | ||||
* | gh-112716: Fix SystemError when __builtins__ is not a dict (GH-112770) | Serhiy Storchaka | 2023-12-14 | 3 | -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 Kemenade | 2023-12-14 | 3 | -2/+9 |
| | |||||
* | gh-59616: Support os.chmod(follow_symlinks=True) and os.lchmod() on Windows ↵ | Serhiy Storchaka | 2023-12-14 | 9 | -28/+93 |
| | | | | (GH-113049) | ||||
* | gh-113090: Fix test.support.os_support.can_chmod() on Windows (GH-113091) | Serhiy Storchaka | 2023-12-14 | 4 | -6/+12 |
| | |||||
* | gh-112205: Update textio module to use `@getter` as possible. (gh-113095) | Donghee Na | 2023-12-14 | 2 | -49/+125 |
| | |||||
* | Fixing typo in DocTestRunner docs (GH-112326) | Daniel Wysocki | 2023-12-14 | 1 | -1/+1 |
| | |||||
* | gh-111049: Fix crash during garbage collection of the BytesIO buffer object ↵ | Serhiy Storchaka | 2023-12-14 | 3 | -10/+27 |
| | | | | (GH-111221) | ||||
* | gh-90890: Reorder mailbox.Maildir method documentation (GH-113071) | Stephen Gildea | 2023-12-14 | 1 | -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 Storchaka | 2023-12-14 | 2 | -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 Dower | 2023-12-13 | 4 | -11/+63 |
| | | | | (GH-113033) | ||||
* | Move optimizer/executor tests to new file test_capi/test_opt.py (#113072) | Guido van Rossum | 2023-12-13 | 2 | -535/+544 |
| | |||||
* | bpo-40648: Test modes that file can get with chmod() on Windows (GH-20130) | Pavol Babinčák | 2023-12-13 | 2 | -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 Mitterer | 2023-12-13 | 1 | -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čok | 2023-12-13 | 1 | -1/+1 |
| | |||||
* | gh-101100: Improve docs on exception attributes (GH-113057) | Alex Waygood | 2023-12-13 | 6 | -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 Hettinger | 2023-12-13 | 1 | -8/+9 |
| | | | Use match/case in grouper() reciper | ||||
* | gh-76785: Fix CODEOWNERS (gh-113038) | Eric Snow | 2023-12-13 | 1 | -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 Russo | 2023-12-13 | 4 | -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 Dower | 2023-12-13 | 25 | -44/+112 |
| | |||||
* | gh-112205: Support `@setter` annotation from AC (gh-112922) | Donghee Na | 2023-12-13 | 9 | -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 code | Mark Shannon | 2023-12-13 | 2 | -9/+10 |
| |