Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-113119 fix environment handling in subprocess.Popen when posix_spawn is ↵ | Jakub Kulík | 2023-12-17 | 5 | -10/+21 | |
| | | | | | | | used (#113120) * Allow posix_spawn to inherit environment form parent environ variable. With this change, posix_spawn call can behave similarly to execv with regards to environments when used in subprocess functions. | |||||
* | IDLE: Add util and stub example comments (#113222) | Terry Jan Reedy | 2023-12-17 | 2 | -3/+5 | |
| | ||||||
* | GH-110109: pathlib tests: store base directory as test class attribute (#113221) | Barney Gale | 2023-12-17 | 2 | -222/+210 | |
| | | | | | | | | | Store the test base directory as a class attribute named `base` rather than module constants named `BASE`. The base directory is a local file path, and therefore not ideally suited to the pathlib ABC tests. In a future commit we'll change its value in `test_pathlib_abc.py` such that it points to a totally fictitious path, which will help to ensure we're not touching the local filesystem. | |||||
* | GH-110109: Move tests for pathlib ABCs to new module. (#112904) | Barney Gale | 2023-12-16 | 4 | -1893/+1927 | |
| | ||||||
* | gh-113202: Add a strict option to itertools.batched() (gh-113203) | Raymond Hettinger | 2023-12-16 | 5 | -24/+60 | |
| | ||||||
* | gh-67790: Support basic formatting for Fraction (#111320) | Mark Dickinson | 2023-12-16 | 5 | -31/+155 | |
| | | | | | | | | | | | PR #100161 added fancy float-style formatting for the Fraction type, but left us in a state where basic formatting for fractions (alignment, fill, minimum width, thousands separators) still wasn't supported. This PR adds that support. --------- Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | |||||
* | gh-113046: Revise csv.reader doc (#113207) | Terry Jan Reedy | 2023-12-16 | 1 | -4/+7 | |
| | | | | Clarify nature of csvfile. | |||||
* | 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 | |
| |