summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.11] gh-113246: Updated bundled pip to 23.3.2 (gh-113249) (#113254)Stéphane Bidoul2023-12-183-1/+2
| | | | Updated bundled pip to 23.3.2. (cherry picked from commit 4a24bf9a13a7cf055113c04bde0874186722c62c)
* [3.11] gh-101100: Fix Sphinx warnings in library/tarfile.rst (GH-113237) ↵Hugo van Kemenade2023-12-182-12/+56
| | | | (#113245)
* [3.11] Docs: Add label to grammar spec for linking from PEPs (GH-113235) ↵Miss Islington (bot)2023-12-171-0/+2
| | | | | | (#113240) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-112890: `unittest` Test Discovery page updated "`unittest` dropped ↵Miss Islington (bot)2023-12-171-2/+2
| | | | | | | the namspace packages support" (GH-113195) (GH-113229) (cherry picked from commit 21d52995ea490328edf9be3ba072821cd445dd30) Co-authored-by: Taylor Packard <3.t.packard@gmail.com>
* [3.11] IDLE: Add util and stub example comments (GH-113222) (#113224)Miss Islington (bot)2023-12-172-3/+5
| | | | | (cherry picked from commit cde1335485b7bffb12c378d230ae48ad77d76ab1) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-105912: document gotcha with using os.fork on macOS (GH-112871) ↵Ronald Oussoren2023-12-163-0/+21
| | | | | | | | | | | | | | | | | (#113135) * 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. (cherry picked from commit 22511f77c2818a138a252e6ddae89725d082f8b0) Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* [3.11] gh-113046: Revise csv.reader doc (GH-113207) (#113211)Miss Islington (bot)2023-12-161-4/+7
| | | | | | Clarify nature of csvfile. (cherry picked from commit 84df3172efe8767ddf5c28bdb6696b3f216bcaa6) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-110746: Improve markup in ``tkinter.ttk.rst`` (GH-111236) (#113194)Miss Islington (bot)2023-12-152-15/+17
| | | | | | | | | | | | | | | | | gh-110746: Improve markup in ``tkinter.ttk.rst`` (GH-111236) * gh-110746: Improve markup in tkinter.ttk.rst * gh-110746: Improve markup in tkinter.ttk.rst * 📜🤖 Added by blurb_it. --------- (cherry picked from commit 00d2b6d1fca91e1a83f7f99a370685b095ed4928) Co-authored-by: Akshat Khandelwal <35228810+akshatgokul@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* [3.11] gh-101100: Fix various Sphinx warnings for dunder references in the ↵Miss Islington (bot)2023-12-158-24/+34
| | | | | | `library/` directory (GH-113163) (#113184) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-101100: Fix Sphinx nitpicks in `library/numbers.rst` (GH-113162) ↵Miss Islington (bot)2023-12-152-10/+10
| | | | | | (#113181) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-113009: Fix multiprocessing Process.terminate() on Windows ↵Miss Islington (bot)2023-12-152-24/+35
| | | | | | | | | | | | | (GH-113128) (#113178) gh-113009: Fix multiprocessing Process.terminate() on Windows (GH-113128) 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. (cherry picked from commit 4026ad5b2c595b855a3605420cfa0e3d49e63db7) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.11] gh-61648: Detect line numbers of properties in doctests (GH-113161) ↵Miss Islington (bot)2023-12-154-0/+21
| | | | | | | (GH-113165) (cherry picked from commit 8f8f0f97e126db9ca470fd7e7b2944c150db6305) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-101100: Fix Sphinx nitpicks in `library/rlcompleter.rst` ↵Miss Islington (bot)2023-12-153-19/+24
| | | | | | | | (GH-113125) (#113159) gh-101100: Fix Sphinx nitpicks in `library/rlcompleter.rst` (GH-113125) (cherry picked from commit 7bb00f053e0a86bb8827cc464961a4fad9278e6d) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-101100: Cleanup `mailbox` docs (GH-113124) (#113145)Hugo van Kemenade2023-12-142-123/+139
| | | | | (cherry picked from commit 25061f5c98a47691fdb70f550943167bda77f6e0) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-101100: Fix Sphinx warnings in `whatsnew/2.3.rst` (GH-112373) ↵Hugo van Kemenade2023-12-142-139/+138
| | | | (#113143)
* [3.11] gh-101100: Fix Sphinx nitpicks in `library/collections.abc.rst` ↵Miss Islington (bot)2023-12-143-41/+43
| | | | | | | | (GH-113116) (#113137) gh-101100: Fix Sphinx nitpicks in `library/collections.abc.rst` (GH-113116) (cherry picked from commit 006355b2a966060541166608ecfec4c957b85f55) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-101100: Fix Sphinx nitpicks in `library/traceback.rst` (GH-113106) ↵Miss Islington (bot)2023-12-143-38/+75
| | | | | | | | (#113112) gh-101100: Fix Sphinx nitpicks in `library/traceback.rst` (GH-113106) (cherry picked from commit d9e1b5794a8fade21773d18f91a07f80b55c839c) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and ↵Miss Islington (bot)2023-12-143-5/+7
| | | | | | | | `reference/simple_stmts.rst` (GH-113107) (#113110) gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and `reference/simple_stmts.rst` (GH-113107) (cherry picked from commit 4b3cb082da82da744f5db0b7315aa80558c51557) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-112716: Fix SystemError when __builtins__ is not a dict ↵Serhiy Storchaka2023-12-143-9/+33
| | | | | | | | | (GH-112770) (GH-113105) 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. (cherry picked from commit 1161c14e8c68296fc465cd48970b32be9bee012e)
* [3.11] gh-113090: Fix test.support.os_support.can_chmod() on Windows ↵Miss Islington (bot)2023-12-144-6/+12
| | | | | | | (GH-113091) (GH-113100) (cherry picked from commit c6e953be125c491226adc1a5bc9c804ce256aa17) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] Fixing typo in DocTestRunner docs (GH-112326) (GH-113098)Miss Islington (bot)2023-12-141-1/+1
| | | | | (cherry picked from commit b3c21265fa48a137a4c6a35e425b2b7f94f96cf4) Co-authored-by: Daniel Wysocki <dwysocki@users.noreply.github.com>
* [3.11] gh-113086: Add tests for os.chmod() and os.lchmod() (GH-113087) ↵Miss Islington (bot)2023-12-142-1/+118
| | | | | | | | (GH-113089) Also make test_copymode_symlink_to_symlink in test_shutil more strict. (cherry picked from commit b4f2c89118d5a48ce6c495ba931d7f6493422029) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] bpo-40648: Test modes that file can get with chmod() on Windows ↵Miss Islington (bot)2023-12-132-0/+8
| | | | | | | | | (GH-20130) (GH-113069) Order of tests matter second part makes testing file writable and possible to remove again. (cherry picked from commit f5c05e015c178975f24b77e5a8975a22d694e019) Co-authored-by: Pavol Babinčák‏ <scroolik@gmail.com>
* [3.11] gh-107959: clarify Unix-availability of `os.lchmod()` (GH-107960) ↵Miss Islington (bot)2023-12-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | | (GH-113067) gh-107959: clarify Unix-availability of `os.lchmod()` (GH-107960) 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. (cherry picked from commit f14e3d59c955fb3cf89e5241727ec566164dcf42) Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name> Co-authored-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.11] [doc] Make subprocess.wait documentation more precise (GH-98700) ↵Miss Islington (bot)2023-12-131-3/+4
| | | | | | | | | | | | | | | | | (#112154) [doc] Make subprocess.wait documentation more precise (GH-98700) [doc] Make subprocess.wait doc more precise An active loop is only used when the `timeout` parameter is used on POSIX. When no timeout is used, the code calls `os.waitpid` internally (which puts the process on a sleep status). On Windows, the internal Windows API call accepts a timeout parameter, so that is delegated to the OS. (cherry picked from commit 81ab0e8a4add53035c87b040afda6d554cace528) Co-authored-by: Luis Pedro Coelho <luis@luispedro.org>
* [3.11] Docs: Fix external link to devguide.python.org (GH-112899) (#113064)Miss Islington (bot)2023-12-131-1/+1
| | | | Co-authored-by: Miro Hrončok <miro@hroncok.cz>
* [3.11] gh-101100: Improve docs on exception attributes (GH-113057) (#113062)Miss Islington (bot)2023-12-136-67/+115
| | | | | | | gh-101100: Improve docs on exception attributes (GH-113057) (cherry picked from commit d05a180350fe20d5fde56c7e525e394a0b282703) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] [pprint]: Add docstring about `PrettyPrinter.underscore_numbers` ↵Miss Islington (bot)2023-12-131-0/+3
| | | | | | | | | parameter (GH-112963) (#113052) [pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (GH-112963) (cherry picked from commit 2a3c37c273762d2dc40bfdae3899cb09b7c88d4a) Co-authored-by: Sequew <88668176+KrySeyt@users.noreply.github.com> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
* [3.11] gh-101100: Fix Sphinx warning in references with asterisks ↵Hugo van Kemenade2023-12-1320-52/+54
| | | | (GH-113029) (#113044)
* [3.11] gh-101100: Further improve docs on function attributes (#113001) ↵Alex Waygood2023-12-122-4/+5
| | | | | (#113031) (cherry-picked from commit 81a15ea74e)
* [3.11] gh-112999: Replace the outdated "deprecated" directives with ↵Serhiy Storchaka2023-12-124-19/+14
| | | | | "versionchanged" (GH-113000) (GH-113020) (cherry picked from commit fe9991bb672dd95fb9cd38b5a03180719ac4e722)
* [3.11] Update pre-commit to fix Sphinx Lint (GH-113015) (#113018)Miss Islington (bot)2023-12-121-2/+2
| | | | | | Update pre-commit to fix Sphinx Lint (GH-113015) (cherry picked from commit eafc2381a0b891383098b08300ae766868a19ba6) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] [3.12] gh-83162: Rename re.error in idlelib (GH-101677) (GH-112987) ↵Miss Islington (bot)2023-12-122-2/+4
| | | | | | | | (#113013) Backport idlelib part of GH-101677 with simple rename. (cherry picked from commit fd3b8947256309ba478a4e3ba8c0c81b1260b67f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-101100: Improve documentation on function attributes (#112933) ↵Alex Waygood2023-12-1213-122/+152
| | | | | | (#113003) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-112953: Rename idlelib/NEWS.txt to News3.txt and update (GH… ↵Terry Jan Reedy2023-12-123-4/+9
| | | | (#112992)
* [3.11] gh-108303: Move `double_const` to `test_import` where it belongs ↵Miss Islington (bot)2023-12-112-3/+6
| | | | | | | | (GH-112108) (#112977) gh-108303: Move `double_const` to `test_import` where it belongs (GH-112108) (cherry picked from commit 0738b9a338fd27ff2d4456dd9c15801a8858ffd9) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.11] gh-94606: Fix error when message with Unicode surrogate not ↵Miss Islington (bot)2023-12-114-16/+49
| | | | | | | | surrogateescaped string (GH-94641) (GH-112972) (cherry picked from commit 27a5fd8cb8c88537216d7a498eba9d9177951d76) Co-authored-by: Sidney Markowitz <sidney@sidney.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-112898: warn about unsaved files when quitting IDLE on macOS ↵Miss Islington (bot)2023-12-112-1/+2
| | | | | | | | | | | | | | | | | | (GH-112939) (#112961) gh-112898: warn about unsaved files when quitting IDLE on macOS (GH-112939) * gh-112898: warn about unsaved files when quitting IDLE on macOS Implement the TK function ``::tk::mac::Quit`` on macOS to ensure that IDLE asks about saving unsaved files when quitting IDLE. (cherry picked from commit 3251ba8f1af535bf28e31a6832511ba19e96b262) Co-authored-by: Christopher Chavez chrischavez@gmx.us Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
* [3.11] Fix SyntaxWarning in test_syntax.py (GH-112944) (GH-112956)Miss Islington (bot)2023-12-111-1/+1
| | | | | (cherry picked from commit 97cd45bfdbb6525457ba9d6824386f1e0eea6657) Co-authored-by: Anthony Sottile <asottile@umich.edu>
* [3.11] GH-101986: Support translation for Limited/Unstable API & Stable ABI ↵Hugo van Kemenade2023-12-102-7/+14
| | | | | | | (GH-107680) (#112941) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* [3.11] gh-109980: Fix test_tarfile_vs_tar on macOS (GH-112905) (#112928)Miss Islington (bot)2023-12-102-0/+13
| | | | | | | | | | | | gh-109980: Fix test_tarfile_vs_tar on macOS (GH-112905) On recentish macOS versions the system tar command includes system metadata (ACLs, extended attributes and resource forks) in the tar archive, which shutil.make_archive will not do. This can cause spurious test failures. (cherry picked from commit dd2ebdf89ff144e89db180bd552c50615f712cb2) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
* [3.11] gh-101100: Fix Sphinx warning in library/http.cookies.rst (GH-112908) ↵Miss Islington (bot)2023-12-102-21/+22
| | | | | | | | (#112930) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Fix Sphinx warning in library/http.cookies.rst (GH-112908)
* [3.11] Docs: Use 'f-strings' as header (GH-112888) (#112924)Miss Islington (bot)2023-12-101-2/+4
| | | | | | Docs: Use 'f-strings' as header (GH-112888) (cherry picked from commit 5bf7580d72259d7d64f5ee8cfc2df677de5310a4) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] IDLE: Tweak iomenu.IOBinding.maybesave (GH-112914) (#112918)Miss Islington (bot)2023-12-101-10/+11
| | | | | | Add docstring, use f-string, simplify code. (cherry picked from commit ca1bde894305a1b88fdbb191426547f35b7e9200) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-101100: Fix Sphinx nitpicks in `library/tempfile.rst` (#112886) ↵Alex Waygood2023-12-092-22/+27
| | | | | | | (#112913) (cherry-picked from commit 54410e6bd9) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-101100: Improve documentation of `TracebackType` attributes ↵Miss Islington (bot)2023-12-096-33/+52
| | | | | | | | (GH-112884) (#112912) gh-101100: Improve documentation of `TracebackType` attributes (GH-112884) (cherry picked from commit 96f64a2b1b4e3d4902848c63e42717a9c5539e03) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-79429: Ignore FileNotFoundError when remove a temporary directory ↵Miss Islington (bot)2023-12-092-1/+6
| | | | | | | in the multiprocessing finalizer (GH-112865) (GH-112897) (cherry picked from commit 7e82c626c44a6924af38d0a8af3cc8b2d13873ec) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-101100: Fix Sphinx nits in `library/contextlib.rst` (#112870) ↵Alex Waygood2023-12-082-8/+7
| | | | | (#112874) (cherry-picked from commit e4c087603397a1314253b861d35f8314fba8ae92)
* [3.11] gh-101100: Improve documentation for attributes on instance methods ↵Miss Islington (bot)2023-12-086-41/+76
| | | | | | | | (GH-112832) (#112873) gh-101100: Improve documentation for attributes on instance methods (GH-112832) (cherry picked from commit ed21d0c1f4bd17b392e24bfd83e652723dad4ddf) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-101100: Fix Sphinx nitpicks in `library/shelve.rst` (GH-112836) ↵Miss Islington (bot)2023-12-082-5/+5
| | | | | | | | (#112869) gh-101100: Fix Sphinx nitpicks in `library/shelve.rst` (GH-112836) (cherry picked from commit 3cdcc2edf81c7be4c88d4f273947ce29f916f49a) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>