Commit graph

112259 commits

Author SHA1 Message Date
Miss Islington (bot)
d22a2cd422
gh-101100: Fix sphinx warnings in typing module docs (GH-102260)
(cherry picked from commit a498de4c0e)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-02-25 13:54:31 -08:00
Miss Islington (bot)
f894995eb6
gh-102252: Improve coverage of test_bool.py (GH-102253)
Add tests for conversion from bool to complex.
(cherry picked from commit 4197043637)

Co-authored-by: Eclips4 <80244920+Eclips4@users.noreply.github.com>
2023-02-25 13:09:39 -08:00
Miss Islington (bot)
ac63169792
asyncio docs: Fix dangling hyphen (GH-102227)
Currently this gets rendered with a dangling hyphen.
(cherry picked from commit 207e1c5cae)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-02-25 05:28:16 -08:00
Miss Islington (bot)
9563cf47bc
gh-101100: Fix Sphinx warnings in decimal module (GH-102125)
(cherry picked from commit b7c1126447)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-02-25 01:51:36 -08:00
Ionite
9f472f81bc
[3.10] gh-101765: Fix SystemError / segmentation fault in iter __reduce__ when internal access of builtins.__dict__ exhausts the iterator (GH-101769) (#102229)
(cherry picked from commit 54dfa14c5a)
2023-02-24 19:50:53 -08:00
Miss Islington (bot)
3e80d21b76
[3.10] gh-95675: fix uid and gid at test_add_dir_getmember (gh-102207) (gh-102230)
gh-95675: fix uid and gid at test_add_dir_getmember (gh-102207)
(cherry picked from commit 56e93c8020)

Co-authored-by: Seonkyo Ok <seonkyo.ok@linecorp.com>
2023-02-25 11:56:08 +09:00
Miss Islington (bot)
2e2ab6752b
gh-102158: Add tests for softkwlist (GH-102159)
---------

(cherry picked from commit 9f3ecd1aa3)

Co-authored-by: Eclips4 <80244920+Eclips4@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2023-02-23 18:52:31 -08:00
Miss Islington (bot)
9a0116d35c
gh-101981: Consolidate macOS configure steps in CI (GH-102131)
(cherry picked from commit e07b304bb0)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Automerge-Triggered-By: GH:erlend-aasland
2023-02-23 09:12:13 -08:00
Miss Islington (bot)
7d2ad478d1
Fix typo in Py_GetPythonHome signature (GH-102168)
(cherry picked from commit 9bba8035bd)

Co-authored-by: Tanner Firl <105078804+TannerFirl@users.noreply.github.com>
2023-02-23 05:37:24 -08:00
Miss Islington (bot)
780dec8a94
Fix syntax error in struct doc example (GH-102160)
Missing closing ) reported on Discuss by Chukwudi Nwachukwu.
(cherry picked from commit 8f647477f0)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2023-02-22 16:02:38 -08:00
Miss Islington (bot)
fa592f0e01
GH-101777: queue.rst: use 2 spaces after a period to be consistent. (GH-102143)
(cherry picked from commit 96bf24380e)

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
2023-02-22 13:35:52 -08:00
Miss Islington (bot)
0f28af589b
[3.10] gh-101936: Update the default value of fp from io.StringIO to io.BytesIO (gh-102100) (#102118)
gh-101936: Update the default value of fp from io.StringIO to io.BytesIO (gh-102100)
(cherry picked from commit 0d4c7fcd4f)

Co-authored-by: Long Vo <long.vo@linecorp.com>
2023-02-22 20:42:28 +09:00
Miss Islington (bot)
3e9fb1a839
[3.10] gh-102135: Update turtle docs to rename wikipedia demo to rosette (GH-102137) (#102139)
Co-authored-by: somebody <98094921+UndoneStudios@users.noreply.github.com>
2023-02-22 12:24:18 +02:00
Miss Islington (bot)
bac3fe76df
[3.10] gh-95672 fix typo SkitTest to SkipTest (gh-102119) (gh-102122)
gh-95672 fix typo SkitTest to SkipTest (gh-102119)
(cherry picked from commit d5c7954d0c)

Co-authored-by: HyunKyun Moon <hyunkyun.moon@linecorp.com>
2023-02-22 10:36:00 +09:00
Miss Islington (bot)
444ec74945
gh-100556: Improve clarity of or docs (GH-100589)
(cherry picked from commit b40dd71241)

Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-02-21 02:43:48 -08:00
Miss Islington (bot)
2d9f8d4d38
gh-101777: Make PriorityQueue docs slightly clearer (GH-102026)
Adjust wording slightly, and use min(entries) instead of
sorted(list(entries))[0] as an example.
(cherry picked from commit 350ba7c07f)

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
2023-02-21 02:31:51 -08:00
Miss Islington (bot)
d9dce23643
[3.10] gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068) (#102099)
gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068)
(cherry picked from commit 6f25657b83)

Co-authored-by: Gihwan Kim <gihwan.kim@linecorp.com>
2023-02-21 12:39:30 +09:00
Jason R. Coombs
7bb41d9d5d
[3.10] gh-101566: Sync with zipp 3.14. (GH-102018). (GH-102091)
(cherry picked from commit 36854bbb24)

Includes the bugfix only.

Automerge-Triggered-By: GH:jaraco
2023-02-20 15:21:48 -08:00
Miss Islington (bot)
95f4e2ca03
gh-101981: Apply HOMEBREW related environment variables (gh-102074)
(cherry picked from commit ed01addb59)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
2023-02-20 08:22:13 -08:00
Dong-hee Na
c218132f93
[3.10] gh-101981: Fix Ubuntu SSL tests with OpenSSL (3.1.0-beta1) CI issue (gh-102079) 2023-02-21 00:43:33 +09:00
Miss Islington (bot)
63877f697d
[3.10] gh-101981: Build macOS as recommended by the devguide (GH-102070) (#102073)
gh-101981: Build macOS as recommended by the devguide (GH-102070)

(cherry picked from commit 2713631041)
2023-02-20 15:52:25 +01:00
Miss Islington (bot)
f193fad4b3
gh-99735: Use required=True in argparse subparsers example (GH-100927)
(cherry picked from commit 6aab56f3c2)

Co-authored-by: Patricio Paez <nospam@pp.com.mx>
2023-02-19 11:35:09 -08:00
Miss Islington (bot)
8520e6cbb2
gh-100210: Correct the comment link for unescaping HTML (GH-100212)
(cherry picked from commit 9a07eff628)

Co-authored-by: Jean-Christophe Amiel <jeanchristophe.amiel@gmail.com>
gh-100210: correct the comment link for unescaping HTML
2023-02-19 02:41:53 -08:00
Miss Islington (bot)
d104234f51
Fix incorrectly documented attribute in csv docs (GH-101250)
(cherry picked from commit 36b670908b)

Co-authored-by: Reza Rastak <rezarastak@users.noreply.github.com>
2023-02-18 17:02:18 -08:00
Brian Skinn
2b1a62c669
[3.10] gh-85747: Active voice & suggested edits, 'running/stopping loop' & 'callbacks' subsections of asyncio-eventloop.rst (gh-100270) (#102005)
Note: The `timeout` parameter was not added until Python 3.12.

(cherry picked from commit c4de6b1d52)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2023-02-18 15:57:41 -08:00
Miss Islington (bot)
92050e8767
gh-101967: add a missing error check (GH-101968)
(cherry picked from commit 89413bbccb)

Co-authored-by: Eclips4 <80244920+Eclips4@users.noreply.github.com>
2023-02-17 17:13:33 -08:00
Miss Islington (bot)
3c1b495cac
gh-100226: Clarify StreamReader.read behavior (GH-101807)
(cherry picked from commit 77d95c8373)

Co-authored-by: Jan Gosmann <jan@hyper-world.de>
2023-02-17 13:24:42 -08:00
Miss Islington (bot)
b6156787fa
gh-101992: update plistlib examples to be runnable (GH-101994)
* gh-101992: update plistlib examples to be runnable

* Update Doc/library/plistlib.rst

---------

(cherry picked from commit a1723caabf)

Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2023-02-17 11:40:20 -08:00
Miss Islington (bot)
f4f5dd5c39
gh-101973: Fix parameter reference for PyModule_FromDefAndSpec (GH-101976)
(cherry picked from commit a3bb7fbe7e)

Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
2023-02-17 00:51:24 -08:00
Miss Islington (bot)
4d74bb4726
gh-93573: Replace wrong example domains in configparser doc (GH-93574)
* Replace bitbucket.org domain by forge.example
* Update example to python.org
* Use explicitly invalid domain

topsecret.server.com domain is not controled by PSF. It's replaced by invalid topsecret.server.example domain. It follows RFC 2606, which advise .example as TLD for documentation.
(cherry picked from commit 924a3bfa28)

Co-authored-by: sblondon <stephane.blondon@gmail.com>
2023-02-16 07:22:23 -08:00
Miss Islington (bot)
bc3718eb4b
GH-101898: Fix missing term references for hashable definition (GH-101899)
Fix missing term references for hashable definition
(cherry picked from commit 3690688149)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
2023-02-14 02:47:49 -08:00
Miss Islington (bot)
59852bbcc3
Correct trivial grammar in reset_mock docs (GH-101861)
(cherry picked from commit a1f08f5f19)

Co-authored-by: Steve Kowalik <steven@wedontsleep.org>
2023-02-13 01:19:20 -08:00
Miss Islington (bot)
6c0e3dc8ef
[3.10] gh-101390: Fix docs for imporlib.util.LazyLoader.factory to properly call it a class method (GH-101391) (GH-101814)
gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a class method (GH-101391)
(cherry picked from commit 17143e2c30)

Co-authored-by: busywhitespace <busywhitespace@tuta.io>
2023-02-10 16:24:42 -08:00
Miss Islington (bot)
2e7ff1fcf6
Docs: Fix getstatus() -> getcode() typos (GH-101296)
(cherry picked from commit 61f2be0866)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-02-10 14:26:34 -08:00
Erlend E. Aasland
207fa11feb
[3.10] gh-101759: Update Windows installer to SQLite 3.40.1 (GH-101762) (#101792)
(cherry picked from commit 5d15224011)
2023-02-10 22:23:00 +01:00
Erlend E. Aasland
a565cd5b10
[3.10] Docs: use parameter list for sqlite3.Cursor.execute* (GH-101782) (#101808)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

(cherry picked from commit 2037ebf81b)
2023-02-10 22:21:20 +01:00
Miss Islington (bot)
6d8ef96806
gh-101517: make bdb avoid looking up in linecache with lineno=None (GH-101787)
(cherry picked from commit 366b949058)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2023-02-10 09:24:30 -08:00
Miss Islington (bot)
b653fced31
gh-101759: Update macOS installer to SQLite 3.40.1 (GH-101761)
(cherry picked from commit d40a23c0a1)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2023-02-09 23:54:58 -08:00
Steve Dower
b8149a9d7e
gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727)
Fixes CVE-2023-0286 (High) and a couple of Medium security issues.
https://www.openssl.org/news/secadv/20230207.txt

---------

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2023-02-09 19:29:14 +00:00
Miss Islington (bot)
9889de3fa7
Apply suggestions from code review 2023-02-08 15:45:17 -08:00
Miss Islington (bot)
c63d7c95ba
gh-101614: Don't treat python3_d.dll as a Python DLL when checking extension modules for incompatibility (GH-101615)
(cherry picked from commit 3a88de7a0a)

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2023-02-08 06:48:42 -08:00
Miss Islington (bot)
c51cd54b65
[3.10] gh-100933: Improve check_element helper in test_xml_etree (GH-100934) (#101687)
Items checked by this test are always `str` and `dict` instances.
(cherry picked from commit eb49d32b9a)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-02-08 12:40:40 +01:00
Steve Dower
a0b7c3fd2a
[3.10] Fix MSI build PlatformToolset detection (#101651)
Fix MSI build PlatformToolset detection
2023-02-08 11:05:01 +01:00
Miss Islington (bot)
8bc41112a0
[3.10] gh-47937: Note that Popen attributes are read-only (GH-93070) (#101683)
* Note that Popen attributes aren't meant to be set by users by rewording the text about the attributes.
* Also update some universal_newlines references to mention the modern text parameter name while in the area.

(cherry picked from commit 027adf42cd)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2023-02-08 11:04:15 +01:00
Oleg Iarygin
7d727518be
[3.10] gh-97725: Fix documentation for the default file of asyncio.Task.print_stack (#101652) (#101654)
(cherry picked from commit f87f6e2396)
2023-02-08 11:02:54 +01:00
Pablo Galindo
d7c60e361f Post 3.10.10 2023-02-08 09:59:32 +00:00
Pablo Galindo
aad5f6a891 Python 3.10.10 2023-02-07 12:05:45 +00:00
Miss Islington (bot)
25196d6fb2
GH-101616: Mention the Docs Discourse forum in the "reporting docs issues" (GH-101617)
Fixes https://github.com/python/cpython/issues/101616
(cherry picked from commit 949c58f945)

Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
2023-02-06 14:10:23 -08:00
Miss Islington (bot)
3325029741
gh-101372: Fix unicodedata.is_normalized to properly handle the UCD 3… (gh-101388)
(cherry picked from commit 9ef7e75434)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
2023-02-06 02:32:58 -08:00
Miss Islington (bot)
435fcb07e5
gh-101334: Don't force USTAR format in test_tarfile. (GH-101572)
That causes the test to fail when run using a high UID as that ancient format
cannot represent it. The current default (PAX) and the old default (GNU) both
support high UIDs.
(cherry picked from commit ffcb8220d7)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2023-02-05 11:46:50 -08:00