Miss Islington (bot)
91fb7c36a3
[3.11] gh-101390: Fix docs for imporlib.util.LazyLoader.factory to properly call it a class method (GH-101391) (#GH-101813)
...
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:28 -08:00
Hugo van Kemenade
c485f0e39e
[3.11] Docs: Fix getstatus() -> getcode() typos (GH-101296) ( #101805 )
2023-02-11 00:26:41 +02:00
Erlend E. Aasland
836098857b
[3.11] gh-101759: Update Windows installer to SQLite 3.40.1 (GH-101762) ( #101791 )
...
(cherry picked from commit 5d15224011 )
2023-02-10 22:21:55 +01:00
Miss Islington (bot)
18313ecb09
Docs: use parameter list for sqlite3.Cursor.execute* (GH-101782)
...
(cherry picked from commit 2037ebf81b )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-02-10 10:01:38 -08:00
Miss Islington (bot)
7ca9da9316
gh-101763: Update bundled copy of libffi to 3.4.4 on Windows (GH-101784)
...
(cherry picked from commit e1aadedf09 )
Co-authored-by: Steve Dower <steve.dower@python.org>
2023-02-10 09:27:53 -08:00
Miss Islington (bot)
b0bba7ad14
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:26:27 -08:00
Miss Islington (bot)
4b8d2a1b40
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:48:53 -08:00
Steve Dower
52a03a0006
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:28:59 +00:00
Miss Islington (bot)
4a9dff0e5a
gh-101283: Version was just released, so should be changed in 3.11.3 (GH-101719)
...
(cherry picked from commit 0e0c5d8baa )
Co-authored-by: Steve Dower <steve.dower@python.org>
2023-02-08 16:11:36 -08:00
Miss Islington (bot)
51b079a2d6
Update Lib/subprocess.py
2023-02-08 15:44:06 -08:00
Miss Islington (bot)
e8ce85de59
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:50:43 -08:00
Miss Islington (bot)
5f0b819050
[3.11] gh-100933: Improve check_element helper in test_xml_etree (GH-100934) ( #101686 )
...
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:11:54 +01:00
Oleg Iarygin
efcab38699
[3.11] gh-96127: Fix inspect.signature call on mocks ( #96335 ) ( #101646 )
...
(cherry picked from commit 9e7d7266ec )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-02-08 11:05:57 +01:00
Miss Islington (bot)
c38b4e75b1
[3.11] Make use of TESTFN_ASCII in test_fileio (GH-101645) ( #101650 )
...
testBytesOpen requires an ASCII filename, but TESTFN usually isn't ASCII.
(cherry picked from commit 6fd5eb640a )
Co-authored-by: Zachary Ware <zach@python.org>
2023-02-08 11:05:36 +01:00
Miss Islington (bot)
7240ba7f94
[3.11] gh-47937: Note that Popen attributes are read-only (GH-93070) ( #101684 )
...
* 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:03:56 +01:00
Oleg Iarygin
fa90671480
[3.11] gh-97725: Fix documentation for the default file of asyncio.Task.print_stack ( #101652 ) ( #101653 )
...
(cherry picked from commit f87f6e2396 )
2023-02-08 11:02:37 +01:00
Nikita Sobolev
d0ff3d996f
[3.11] gh-101656: Fix "conversion from Py_ssize_t to int" warning in _testcapimodule ( #101680 )
...
(cherry picked from commit acc2f3b19d )
2023-02-08 11:02:07 +01:00
Pablo Galindo
e396888a6e
Post 3.11.2
2023-02-08 09:55:26 +00:00
Pablo Galindo
878ead1ac1
Python 3.11.2
2023-02-07 13:37:51 +00:00
Łukasz Langa
955ba2839b
[3.11] gh-101072: support default and kw default in PyEval_EvalCodeEx for 3.11+ (GH-101127) ( #101636 )
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Matthieu Dartiailh <m.dartiailh@gmail.com>
2023-02-07 13:36:35 +00:00
Mark Dickinson
358b02dac4
[3.11] gh-101266: Revert fix __sizeof__ for subclasses of int ( #101638 )
...
Revert "[3.11] gh-101266: Fix __sizeof__ for subclasses of int (GH-101394) (#101579 )"
This reverts commit cf89c16486 .
2023-02-07 11:44:43 +00:00
Miss Islington (bot)
c993ffa477
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:07:00 -08:00
Miss Islington (bot)
9e7acafa14
gh-101562: typing: add tests for inheritance with NotRequired & Required in parent fields (GH-101563)
...
(cherry picked from commit b96b344f25 )
Co-authored-by: Eclips4 <80244920+Eclips4@users.noreply.github.com>
2023-02-06 11:53:53 -08:00
Miss Islington (bot)
d003bcc91a
gh-101543: Ensure Windows registry path is only used when stdlib can't be found (GH-101544)
...
(cherry picked from commit 7a253103d4 )
Co-authored-by: Steve Dower <steve.dower@python.org>
2023-02-06 09:34:05 -08:00
Miss Islington (bot)
9bd000c7b8
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:30 -08:00
Miss Islington (bot)
cf8973c638
gh-101541: [Enum] create flag psuedo-member without calling original __new__ (GH-101590)
...
(cherry picked from commit ef7c2bfcf1 )
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2023-02-05 19:52:22 -08:00
Miss Islington (bot)
6ae80323df
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:47:12 -08:00
Mark Dickinson
cf89c16486
[3.11] gh-101266: Fix __sizeof__ for subclasses of int (GH-101394) ( #101579 )
...
Fix the behaviour of the `__sizeof__` method (and hence the results returned
by `sys.getsizeof`) for subclasses of `int`. Previously, `int` subclasses gave
identical results to the `int` base class, ignoring the presence of the instance
dictionary.
(Manual backport of #101394 to the Python 3.11 branch.)
2023-02-05 12:18:56 +00:00
Miss Islington (bot)
7cbcfbe2ff
GH-56426: Add cross-reference to the documentation for faulthandler, traceback, and pdb. (GH-101157)
...
(cherry picked from commit cef9de62b8 )
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-02-03 19:56:57 -08:00
Miss Islington (bot)
4c763463fc
Add missing versionadded directive for PyCode_Addr2Location (GH-101347)
...
(cherry picked from commit f11a3d1ebe )
Co-authored-by: Max Bachmann <oss@maxbachmann.de>
2023-02-03 19:40:51 -08:00
Steve Dower
898de13f91
gh-101522: Allow overriding Windows dependencies versions and paths using MSBuild properties (GH-101523)
2023-02-03 18:54:39 +00:00
Miss Islington (bot)
4392bf648f
docs: replace PyPI description with link (GH-101506)
...
(cherry picked from commit 45d014e03b )
Co-authored-by: François Magimel <magimel.francois@gmail.com>
2023-02-02 23:31:43 -08:00
Miss Islington (bot)
2366c1a4fe
gh-100920: Update documentation for asyncio.StreamWriter.wait_closed (GH-101514)
...
(cherry picked from commit 5c39daf50b )
Co-authored-by: Viet Than <thanhoangviet@gmail.com>
2023-02-02 23:26:37 -08:00
Miss Islington (bot)
bfac5d9850
gh-100925: Move array methods under class in array doc (GH-101485)
...
* Move array methods under class in array doc
* Fix a few internal references related to the touched lines
(cherry picked from commit 1b6045668d )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-02-02 16:12:09 -08:00
Miss Islington (bot)
08f5c77359
docs: Fix enum reassign str documentation (GH-101507)
...
(cherry picked from commit 24cbc7a2a0 )
Co-authored-by: Peter Gessler <gesslerpd@users.noreply.github.com>
2023-02-02 12:40:30 -08:00
Miss Islington (bot)
c2c970fc26
Docs: improve accuracy of sqlite3 check_same_thread parameter (GH-101351)
...
(cherry picked from commit ee21110086 )
Co-authored-by: Marcos Pereira <3464445+marcospgp@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-02-01 16:00:27 -08:00
Miss Islington (bot)
e98fa7121d
gh-101467: Correct py.exe handling of prefix matches and cases when only one runtime is installed (GH-101468)
...
(cherry picked from commit eda60916bc )
Co-authored-by: Steve Dower <steve.dower@python.org>
2023-02-01 13:31:21 -08:00
Miss Islington (bot)
89442e18e1
gh-101498 : Fix asyncio.Timeout example in docs (GH-101499)
...
Doc/library/asyncio-task.rstGH-timeout
(cherry picked from commit 95fb0e0258 )
Co-authored-by: Raj <51259329+workingpayload@users.noreply.github.com>
2023-02-01 10:19:11 -08:00
Irit Katriel
c796d34b2a
[3.11] gh-101454: fix documentation for END_ASYNC_FOR ( #101455 ) ( #101493 )
...
gh-101454: fix documentation for END_ASYNC_FOR (#101455 )
(cherry picked from commit 62251c3da0 )
2023-02-01 14:30:48 +00:00
Miss Islington (bot)
85cc5d0e5d
gh-98657: [docs] array.typecodes is a module-level attribute (GH-98729)
...
* gh-98657: [docs] `array.typecodes` is a module-level attribute
* Update array.rst
(cherry picked from commit c144e57b31 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-01-31 21:48:19 -08:00
Miss Islington (bot)
5e498072dc
[3.11] gh-101440: fix json snippet error in logging-cookbook.rst (GH-101439) (GH-101463)
...
(cherry picked from commit 20c11f2e60 )
Co-authored-by: Peter Jiping Xie <peter.jp.xie@gmail.com>
Automerge-Triggered-By: GH:hugovk
2023-01-31 07:51:48 -08:00
Miss Islington (bot)
9e4ba5c4bf
gh-99276 - Updated Doc/faq/general.rst (GH-101396)
...
(cherry picked from commit df0068ce48 )
Co-authored-by: Raj <51259329+workingpayload@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-01-31 07:27:55 -08:00
Dong-hee Na
0c37ea9aba
[3.11] gh-101400: Fix incorrect lineno in exception message on contin… (gh-101447)
2023-01-31 23:53:14 +09:00
Miss Islington (bot)
43af2dbb54
Add JOBS parameter to docs Makefile (GH-101395)
...
(cherry picked from commit 1a62ae84c6 )
Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
2023-01-31 05:39:06 -08:00
Miss Islington (bot)
a79dd88973
gh-77607: Improve accuracy of os.path.join docs (GH-101406)
...
This is a follow-up to GH-100811.
One of the changes in that PR isn't accurate in that
`os.path.join('', '')` will not end in a separator.
This reverts that change to the previous wording that used "only", but
explicitly calls out the case where the last part ends in a separator,
which is what caused confusin in GH-77607 and motivated the change
in GH-100811.
(cherry picked from commit 909a674693 )
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2023-01-30 21:46:48 -08:00
Miss Islington (bot)
6a94f4c973
Fixes typo in asyncio.TaskGroup context manager code example (GH-101449)
...
(cherry picked from commit ef09bf63d2 )
Co-authored-by: Ben <22038077+bcla22@users.noreply.github.com>
2023-01-30 21:46:35 -08:00
Miss Islington (bot)
faf8068dd0
gh-101229: Add tests for aliases of imported names (GH-101230)
...
(cherry picked from commit 28db978d7f )
Co-authored-by: Eclips4 <80244920+Eclips4@users.noreply.github.com>
2023-01-30 12:21:18 -08:00
Miss Islington (bot)
6ec9f2d5b8
gh-101422: (docs) TarFile default errorlevel argument is 1, not 0 (GH-101424)
...
(cherry picked from commit ea232716d3 )
Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
2023-01-30 10:10:26 -08:00
Miss Islington (bot)
3bcb630e07
gh-98240: Updated Path.rename docs, when it is atomic (GH-98245)
...
(cherry picked from commit 0023f51deb )
Co-authored-by: Mateusz <mateka@users.noreply.github.com>
2023-01-29 17:52:29 -08:00
Miss Islington (bot)
34679913fe
Fix trivial typo in shebang example (GH-101385)
...
The example was showing the current version, but should be pinned to 3.7 to match the example command.
(cherry picked from commit 666c0840dc )
Co-authored-by: socal-nerdtastic <37753609+socal-nerdtastic@users.noreply.github.com>
2023-01-29 13:14:23 -08:00