]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Miss Islington (bot) [Fri, 26 Aug 2022 19:11:59 +0000 (12:11 -0700)]
gh-95994: Clarify escaped newlines. (GH-96066)
* gh-95994: clarify escaped newlines.
* Rephrase ambiguous sentence.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Use `<newline>` in escape sequences table.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit
c3d591fd0699605c8253beda2372114052a7bdba )
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Miss Islington (bot) [Fri, 26 Aug 2022 15:02:36 +0000 (08:02 -0700)]
Port regression test for issue GH-93592 (GH-96208) (GH-96313)
Miss Islington (bot) [Fri, 26 Aug 2022 02:12:43 +0000 (19:12 -0700)]
gh-96197: Define the behavior of repr if sys.displayhook is lost (gh-96242)
(cherry picked from commit
0319cd6825f3c247a875c91493a38992fb33a5b3 )
Co-authored-by: Dong-hee Na <donghee.na@python.org>
Miss Islington (bot) [Thu, 25 Aug 2022 19:50:48 +0000 (12:50 -0700)]
bpo-46744: Support "-Win32" and make platform flags case insensitive in Windows build scripts. (GH-31803)
(cherry picked from commit
1288097088dcf3bad3799bd5867e7675515a5b18 )
Co-authored-by: conioh <10606081+conioh@users.noreply.github.com>
Miss Islington (bot) [Thu, 25 Aug 2022 13:42:14 +0000 (06:42 -0700)]
Clarify API stability of PyTypeObject in relation to static types. (GH-96217)
Fixes:
https://github.com/python/cpython/issues/95300
Related:
https://github.com/python/cpython/issues/91271
(cherry picked from commit
caa2a9799a47294441e4206037620322eea9ed06 )
Co-authored-by: ov2k <ov2k.github@gmail.com>
Miss Islington (bot) [Thu, 25 Aug 2022 07:38:02 +0000 (00:38 -0700)]
[3.11] gh-91070: Add note about SysLogHandler on macOS 12.x (Monterey). (GH-94803) (GH-96260)
Miss Islington (bot) [Thu, 25 Aug 2022 04:53:39 +0000 (21:53 -0700)]
gh-96021: Explicitly close the IsolatedAsyncioTestCase runner in tests (GH-96135)
Tests for IsolatedAsyncioTestCase.debug() rely on the runner be closed
in __del__. It makes tests depending on the GC an unreliable on other
implementations. It is better to close the runner explicitly even if
currently there is no a public API for this.
(cherry picked from commit
4de06e3cc0a58d73934f9a2759ad9cd2f6b031b0 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Miss Islington (bot) [Thu, 25 Aug 2022 02:03:29 +0000 (19:03 -0700)]
gh-95243: Mitigate the race condition in testSockName (GH-96173)
find_unused_port() has an inherent race condition, but we can't use
bind_port() as that uses .getsockname() which this test is exercising.
Try binding to unused ports a few times before failing.
Signed-off-by: Ross Burton <ross.burton@arm.com>
(cherry picked from commit
df110126971d0271a977ce10779083b3e335b4da )
Co-authored-by: Ross Burton <ross.burton@arm.com>
Miss Islington (bot) [Wed, 24 Aug 2022 15:54:15 +0000 (08:54 -0700)]
GH-96179: Fix misleading example on the bisect documentation (GH-96228)
The `movies[bisect(movies, 1960, key=by_year)]` will actually return only movies **after** 1960.
(cherry picked from commit
4317b25a2323ae4be04574e45de0e335c571c463 )
Co-authored-by: prego <pedropregueiro@gmail.com>
Miss Islington (bot) [Wed, 24 Aug 2022 14:20:22 +0000 (07:20 -0700)]
gh-96197: Define the behavior of breakpoint if sys.breakpointhook is lost (gh-96231)
(cherry picked from commit
09563a764ebc54f98087c128419f46cf0822b4b7 )
Co-authored-by: Dong-hee Na <donghee.na@python.org>
Erlend E. Aasland [Wed, 24 Aug 2022 07:51:46 +0000 (09:51 +0200)]
[3.11] gh-94635: Frame sqlite3 how-to headings as such & move default adapters to reference (GH-96136) (#96226)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>.
(cherry picked from commit
6bda5b85b53443f3467865fbf85cbe72932e7cd6 )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Miss Islington (bot) [Tue, 23 Aug 2022 22:28:44 +0000 (15:28 -0700)]
[3.11] gh-96189: Fix test_invalid_utf8 on a number of build bots (GH-96190) (#96218)
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
Miss Islington (bot) [Tue, 23 Aug 2022 17:18:19 +0000 (10:18 -0700)]
gh-96175: add missing self._localName assignment in `xml.dom.minidom.Attr` (GH-96176)
X-Ref: https://github.com/python/typeshed/pull/8590GH-discussion_r951473977
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit
58f6953d6d3fe20d972bfa2f6e982206adcf1353 )
Co-authored-by: Kevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
Miss Islington (bot) [Tue, 23 Aug 2022 15:37:19 +0000 (08:37 -0700)]
GH-96071: add regression test for GH-96071 (GH-96137)
Automerge-Triggered-By: GH:ericsnowcurrently
(cherry picked from commit
079baee1962ff7c1f4b60f4dd4c803535ecbd18e )
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Miss Islington (bot) [Tue, 23 Aug 2022 11:02:19 +0000 (04:02 -0700)]
GH-96187: Prevent _PyCode_GetExtra to return garbage for negative indexes (GH-96188)
(cherry picked from commit
16ebae4cd4029205d932751f26c719c6cb8a6e92 )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Miss Islington (bot) [Tue, 23 Aug 2022 07:01:10 +0000 (00:01 -0700)]
[3.11] gh-96159: Fix significant performance degradation in logging.TimedRotat… (GH-96182) (GH-96196)
Co-authored-by: Duncan Grisby <duncan-github@grisby.org>
Miss Islington (bot) [Tue, 23 Aug 2022 06:58:35 +0000 (23:58 -0700)]
gh-96096: Add undocumented SQLITE_OK/DENY/IGNORE sqlite3 constants (GH-96134)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
(cherry picked from commit
d6259c58cbb48b8f3fbd70047f004ea19fe91e86 )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Miss Islington (bot) [Tue, 23 Aug 2022 06:55:35 +0000 (23:55 -0700)]
gh-95432: Add doctest for sqlite3 tutorial (GH-96193)
(cherry picked from commit
04c73e5efbfea8ae9da5bd518cee96086017ef4f )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Miss Islington (bot) [Mon, 22 Aug 2022 16:49:34 +0000 (09:49 -0700)]
gh-96076: Change test_launcher to use non-admin location for py.ini (GH-96091)
Patch authored by Eryksun.
(cherry picked from commit
216ccacda193733ef92146c8ac1eb81893b4478d )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Miss Islington (bot) [Mon, 22 Aug 2022 09:12:42 +0000 (02:12 -0700)]
gh-96046: Initialize ht_cached_keys in PyType_Ready() (GH-96047)
(cherry picked from commit
53e6a9a7254bdcd0538580ba7d799cd453e2dca5 )
Co-authored-by: Christian Heimes <christian@python.org>
Miss Islington (bot) [Mon, 22 Aug 2022 08:12:02 +0000 (01:12 -0700)]
gh-96121: Merge sqlite3.Row examples into sqlite3.Row class doc (GH-96122)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit
18b1782192f85bd26db89f5bc850f8bee4247c1a )
Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
Miss Islington (bot) [Sun, 21 Aug 2022 20:55:00 +0000 (13:55 -0700)]
small grammatical change (GH-96138) (GH-96157)
Miss Islington (bot) [Sun, 21 Aug 2022 16:37:15 +0000 (09:37 -0700)]
gh-96125: Fix sys.thread_info.name on pthread platforms (GH-96126) (#96128)
Automerge-Triggered-By: GH:tiran
(cherry picked from commit
822955c16654c22c10a993f5a94bbb68b857a150 )
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Christian Heimes <christian@python.org>
Miss Islington (bot) [Sun, 21 Aug 2022 14:55:50 +0000 (07:55 -0700)]
GH-95880: Clarify StringIO append/overwrite behavior. (GH-96104) (GH-96156)
Miss Islington (bot) [Sun, 21 Aug 2022 14:47:45 +0000 (07:47 -0700)]
Add polynomial_from_roots() to the itertools recipes (GH-96102) (#96155)
Miss Islington (bot) [Sun, 21 Aug 2022 04:28:10 +0000 (21:28 -0700)]
gh-96098: Clearly link concurrent.futures from threading & multiprocessing docs (GH-96112)
Clearly link concurrent.futures from threading & multiprocessing docs
Also link directly to asyncio from the beginning of the threading docs.
(cherry picked from commit
bcc4cb0c7d5e0590928e74cae86b0a7938c0f74b )
Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
Miss Islington (bot) [Fri, 19 Aug 2022 21:11:31 +0000 (14:11 -0700)]
GH-96071: fix deadlock in PyGILState_Ensure (GH-96124) (#96129)
Alternative of GH-96107
(cherry picked from commit
e0d54a4a799dae4ebdd72a16bcf287ed62ae2972 )
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Miss Islington (bot) [Fri, 19 Aug 2022 08:26:08 +0000 (01:26 -0700)]
Docs: Fix markup of module name in sqlite3 docs (GH-96115)
(cherry picked from commit
ee9f22d3464308566c63e972133ebf71b7664baa )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Miss Islington (bot) [Fri, 19 Aug 2022 07:48:03 +0000 (00:48 -0700)]
Doc: Use consistent markup for example Point class in sqlite3 (GH-96095)
(cherry picked from commit
303ef0913e5b80adbe63def41829bff5effab6a0 )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Miss Islington (bot) [Fri, 19 Aug 2022 07:37:51 +0000 (00:37 -0700)]
Docs: group sqlite3.Connection attributes and methods (GH-96090)
(cherry picked from commit
1a140af40b7204faf7896b67b8ef5af200427565 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Miss Islington (bot) [Fri, 19 Aug 2022 07:28:33 +0000 (00:28 -0700)]
gh-94635: Remove sqlite3 doc introduction heading (GH-96089)
(cherry picked from commit
ede771cdf90431d4db22f98e35f43888842f231e )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Miss Islington (bot) [Fri, 19 Aug 2022 05:18:44 +0000 (22:18 -0700)]
GH-95822: Need _PyType_Lookup() in descriptor howto code equivalent. (GH-95967) (#96099)
Miss Islington (bot) [Fri, 19 Aug 2022 00:12:15 +0000 (17:12 -0700)]
gh-95463: Remove backwards incompatible change regarding the _MASK_UTF_FILENAME flags in bpo-28080 (GH-96072)
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit
9d066e2aa621125cd141b14df79955d74b7f258e )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Miss Islington (bot) [Fri, 19 Aug 2022 00:00:38 +0000 (17:00 -0700)]
gh-95914: Add Py_UNICODE encode APIs removed in PEP 624 to 3.11 What's New (GH-96016)
* 3.11 Whatsnew: Add Py_UNICODE encode functions removed in PEP 624
* Just use :func: instead of :c:func: for non-resolved funcs so ! works
(cherry picked from commit
b6d88b7225c36821845d4ba1312a6d6b2f7f65c8 )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Miss Islington (bot) [Thu, 18 Aug 2022 18:47:42 +0000 (11:47 -0700)]
Docs: Escape lone stars in sqlite3 docs (GH-96081)
(cherry picked from commit
91afe66707237558d808aeca4683d0822aa0511e )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Miss Islington (bot) [Thu, 18 Aug 2022 18:44:27 +0000 (11:44 -0700)]
gh-95271: Rework sqlite3 tutorial (GH-95749)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
(cherry picked from commit
c87ea10fc91f040822ab3eed2d08b073861360f6 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Kumar Aditya [Thu, 18 Aug 2022 13:42:16 +0000 (19:12 +0530)]
[3.11] GH-95736: fix IsolatedAsyncioTestCase to initialize Runner bef… (#96042)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Miss Islington (bot) [Thu, 18 Aug 2022 13:39:16 +0000 (06:39 -0700)]
[3.11] gh-95913: make the new internal classes pdb.ModuleTarget/ScriptTarget private (GH-96053) (#96063)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Miss Islington (bot) [Thu, 18 Aug 2022 13:33:15 +0000 (06:33 -0700)]
gh-95913: Add traceback module additions to what's new in 3.11 (GH-95980) (GH-96064)
(cherry picked from commit
c5bc67b2a17d9053be9d0079eb7de948626d33c3 )
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Miss Islington (bot) [Thu, 18 Aug 2022 13:32:30 +0000 (06:32 -0700)]
gh-95957: Add instructions for Tcl/Tk and OpenSSL on RHEL/CentOS 7 (GH-95964)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
(cherry picked from commit
ab4d72954f3c3fe4bdf51dc6a9cf0ed38f210a68 )
Co-authored-by: Christian Heimes <christian@python.org>
Miss Islington (bot) [Wed, 17 Aug 2022 17:04:59 +0000 (10:04 -0700)]
GH-95704: Don't suppress errors from tasks when TG is cancelled (GH-95761)
When a task catches CancelledError and raises some other error,
the other error should not silently be suppressed.
Any scenario where a task crashes in cleanup upon cancellation
will now result in an ExceptionGroup wrapping the crash(es)
instead of propagating CancelledError and ignoring the side errors.
NOTE: This represents a change in behavior (hence the need to
change several tests). But it is only an edge case.
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
(cherry picked from commit
f51f54f39d384da63be622bcdc9cf4cfb43bad3d )
Co-authored-by: Guido van Rossum <guido@python.org>
Miss Islington (bot) [Tue, 16 Aug 2022 16:26:40 +0000 (09:26 -0700)]
[3.11] gh-94823: Improve coverage in tokenizer.c:valid_utf8 (GH-94856) (#96029)
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
Irit Katriel [Tue, 16 Aug 2022 14:18:20 +0000 (15:18 +0100)]
remove repetitive credit from what's new in 3.11 rst (GH-96024) (GH-96025)
Miss Islington (bot) [Tue, 16 Aug 2022 09:52:10 +0000 (02:52 -0700)]
gh-95808: Add missing early returns in _asynciomodule.c (GH-95809)
(cherry picked from commit
b2afe482f21b826d53886a69ea2c99d0d940c59a )
Co-authored-by: Yury Selivanov <yury@edgedb.com>
Miss Islington (bot) [Mon, 15 Aug 2022 23:33:16 +0000 (16:33 -0700)]
gh-78143: IDLE - fix settings dialog page label. (GH-96009)
'/Tab' should have been removed from the font page label
when the tab-spaces setting was moved to the Windows page.
(cherry picked from commit
f6b811059ac945a283bb59bf37efac162c3bbab6 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Miss Islington (bot) [Mon, 15 Aug 2022 22:01:23 +0000 (15:01 -0700)]
GH-95899: fix asyncio.Runner to call set_event_loop only once (GH-95900) (#96003)
(cherry picked from commit
914f6367a0d015986dafa7a9d542e24192753b6b )
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Miss Islington (bot) [Mon, 15 Aug 2022 15:37:51 +0000 (08:37 -0700)]
gh-95231: Disable md5 & crypt modules if FIPS is enabled (GH-94742)
If kernel fips is enabled, we get permission error upon doing
`import crypt`. So, if kernel fips is enabled, disable the
unallowed hashing methods.
Python 3.9.1 (default, May 10 2022, 11:36:26)
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import crypt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.9/crypt.py", line 117, in <module>
_add_method('MD5', '1', 8, 34)
File "/usr/lib/python3.9/crypt.py", line 94, in _add_method
result = crypt('', salt)
File "/usr/lib/python3.9/crypt.py", line 82, in crypt
return _crypt.crypt(word, salt)
PermissionError: [Errno 1] Operation not permitted
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
(cherry picked from commit
2fa03b1b0708d5d74630c351ec9abd2aac7550da )
Co-authored-by: Shreenidhi Shedi <53473811+sshedi@users.noreply.github.com>
Miss Islington (bot) [Sun, 14 Aug 2022 16:02:07 +0000 (09:02 -0700)]
Clarify asyncio.Runner docs re: loop_factory (GH-95979)
(cherry picked from commit
e8259e047c42976427b08f100b9d8ba52db7ee69 )
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Miss Islington (bot) [Sun, 14 Aug 2022 15:08:04 +0000 (08:08 -0700)]
bpo-40222: Mark exception table function in the dis module as private (GH-95961)
(cherry picked from commit
c26500224fe80559d1aa4973f22453c9ce2130ab )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Miss Islington (bot) [Sat, 13 Aug 2022 19:55:15 +0000 (12:55 -0700)]
gh-89313: Add hashlib.file_digest to whatsnew 3.11 (GH-95965)
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit
0b329f4f03b3e2d603cf81c39e7c9d83da123717 )
Co-authored-by: Christian Heimes <christian@python.org>
Miss Islington (bot) [Sat, 13 Aug 2022 18:42:27 +0000 (11:42 -0700)]
[3.11] gh-94439: typing docs: Add minimum version to `__required_keys__` and `__optional_keys__` (GH-95373) (#95944)
Co-authored-by: Howie Zhao <howiezhaohr@hotmail.com>
Miss Islington (bot) [Sat, 13 Aug 2022 18:34:17 +0000 (11:34 -0700)]
bpo-25625: Document contextlib.chdir in the 3.11 what's new (GH-95962)
(cherry picked from commit
7552f237a262b9b593df012fdf2ddaa0d914a1e9 )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Miss Islington (bot) [Sat, 13 Aug 2022 04:04:06 +0000 (21:04 -0700)]
Fix typo in internal/pycore_atomic.h (GH-95939)
(cherry picked from commit
8281cbddc6f0fbc94f0c21cacfac79a2d4057a4b )
Co-authored-by: fluesvamp <105884371+fluesvamp@users.noreply.github.com>
Shantanu [Fri, 12 Aug 2022 19:41:09 +0000 (12:41 -0700)]
[3.11] gh-94996: Disallow lambda pos only params with feature_version < (3, 8) (GH-95934) (GH-95936)
(cherry picked from commit
a965db37f27ffb232312bc13d9a509f0d93fcd20 )
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Automerge-Triggered-By: GH:lysnikolaou
Miss Islington (bot) [Fri, 12 Aug 2022 18:40:49 +0000 (11:40 -0700)]
GH-95818: Skip incomplete frames in `PyThreadState_GetFrame` (GH-95886) (#95890)
(cherry picked from commit
1b46d118e6e72daa64b98cafddb406c68b419efa )
Co-authored-by: Mark Shannon <mark@hotpy.org>
Co-authored-by: Mark Shannon <mark@hotpy.org>
Miss Islington (bot) [Fri, 12 Aug 2022 17:53:09 +0000 (10:53 -0700)]
gh-94996: Disallow parsing pos only params with feature_version < (3, 8) (GH-94997)
(cherry picked from commit
b5e3ea286289fcad12be78480daf3756e350f69f )
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Miss Islington (bot) [Fri, 12 Aug 2022 17:03:04 +0000 (10:03 -0700)]
gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346) (GH-95929)
(cherry picked from commit
50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac )
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Miss Islington (bot) [Fri, 12 Aug 2022 16:13:38 +0000 (09:13 -0700)]
gh-95914: Add missing PEPs to the Summary section of 3.11 What's New (GH-95916) (GH-95927)
(cherry picked from commit
6376433ac3c71a4742ec6577054c7edf5ab37134 )
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Éric [Fri, 12 Aug 2022 16:07:05 +0000 (12:07 -0400)]
[3.11] gh-90300: [docs] Add whatsnew entry for new --help output (GH-95856)
Erlend E. Aasland [Fri, 12 Aug 2022 07:34:26 +0000 (09:34 +0200)]
[3.11] gh-95273: Improve sqlite3.complete_statement docs (GH-95840) (#95917)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>.
(cherry picked from commit
e6623e7083ce08a247e5df169bcc749f99327823 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Miss Islington (bot) [Fri, 12 Aug 2022 00:11:17 +0000 (17:11 -0700)]
gh-95841: IDLE - Revise Windows local doc url (GH-95845) (#95905)
GH-91242 replaced the Windows chm help file with a copy
of the html docs. This PR replaces the IDLE code that
fetches the Windows local help url passed to os.startfile.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Steve Dower
Approved by Steve Dower, #95845 (review), 2nd subblock.
(cherry picked from commit
bdb2cf8e913c041f26e8976abe58414819b3e8ff )
Miss Islington (bot) [Thu, 11 Aug 2022 23:45:30 +0000 (16:45 -0700)]
gh-95724: Clarify taskgroups.py license. (GH-95847)
(cherry picked from commit
7da4937748eb588bb0e977839061ce76cab1b252 )
Co-authored-by: Yury Selivanov <yury@edgedb.com>
Miss Islington (bot) [Thu, 11 Aug 2022 21:14:30 +0000 (14:14 -0700)]
gh-84910: Change 'IDLE Help' to 'IDLE Doc' (GH-95873)
'IDLE Help' was a plain text file. It was superceded years ago
by a copy of the much more complete html doc. .
(cherry picked from commit
05a0f37029f8ef917ed7ddbf7871856fc73aaca1 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Miss Islington (bot) [Thu, 11 Aug 2022 16:16:53 +0000 (09:16 -0700)]
gh-95605: Fix `float(s)` error message when `s` contains only whitespace (GH-95665) (GH-95858)
This PR fixes the error message from float(s) in the case where s contains only whitespace.
(cherry picked from commit
97e9cfa75a80b54a0630b7371f35e368a12749d1 )
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Miss Islington (bot) [Thu, 11 Aug 2022 11:46:14 +0000 (04:46 -0700)]
gh-95878: Fix format char in datetime CAPI tests (GH-95879) (#95885)
(cherry picked from commit
8b34e914bba2ccd6ae39609410db49d0beb19cb1 )
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Christian Heimes <christian@python.org>
Miss Islington (bot) [Thu, 11 Aug 2022 09:19:20 +0000 (02:19 -0700)]
gh-95876: Fix format string in pegen error location code (GH-95877)
(cherry picked from commit
b4c857d0fd74abb1ede6fe083c4fa3ca728b2b83 )
Co-authored-by: Christian Heimes <christian@python.org>
Miss Islington (bot) [Thu, 11 Aug 2022 03:02:09 +0000 (20:02 -0700)]
gh-75510: Edit idlelib entry in doc (GH-95869)
Make section instead of subsection and revise sentence.
(cherry picked from commit
9af4aed73af0accffd26176c09aa263b68c8ca5d )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Miss Islington (bot) [Thu, 11 Aug 2022 02:13:33 +0000 (19:13 -0700)]
gh-84910: Tweak IDLE Glossary entry (GH-95866)
Link "IDLE" to its doc and add 'and Learning' to its expansion,
as in the doc.
(cherry picked from commit
3646f6cd880f8f91e189a2fe44a687798aa1fef1 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Miss Islington (bot) [Wed, 10 Aug 2022 11:01:19 +0000 (04:01 -0700)]
[docs] Mention RESUME opcode in whatsnew/3.11.rst (GH-95595) (GH-95851)
(cherry picked from commit
cf28540fd361eaca7b457e3fa43d62fd97a94d17 )
Co-authored-by: esc <esc@users.noreply.github.com>
Miss Islington (bot) [Wed, 10 Aug 2022 10:57:32 +0000 (03:57 -0700)]
gh-95349: Hide a Distutils Warning Filter for test_check_c_globals (GH-95837) (GH-95843)
Under certain build conditions, test_check_c_globals fails. This fix takes the same approach as we took for gh-84236 (via gh-20095). We'll be removing use of distutils in the c-analyzer at some point. Until then we'll hide the warning filter.
(cherry picked from commit
3ff6d9affb351292ad8530802e7c06f651520706 )
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Miss Islington (bot) [Wed, 10 Aug 2022 10:55:50 +0000 (03:55 -0700)]
gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650) (GH-95780)
(cherry picked from commit
cc9160a29bc3356ced92348bcd8e6668c67167c9 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Miss Islington (bot) [Wed, 10 Aug 2022 10:54:57 +0000 (03:54 -0700)]
[docs] Fix typo for functools.cmp_to_key (GH-95766)
(cherry picked from commit
f83b0cabeb101599e6b55e6a1c972d5b8cae18b2 )
Co-authored-by: Andrzej Bartosiński <6197476+Neob91@users.noreply.github.com>
Miss Islington (bot) [Tue, 9 Aug 2022 19:33:23 +0000 (12:33 -0700)]
gh-75500: Add idlelib section to IDLE doc (GH-95832)
This enables accessing IDLE as 'idlelib' in the Doc Module listing.
(cherry picked from commit
70fc9641b56144854777aef29c145cd10789e3df )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Terry Jan Reedy [Tue, 9 Aug 2022 17:42:16 +0000 (13:42 -0400)]
[3.11] gh-88878: IDLE - replace type('') with str (#95792)
Change in idlelib.browser, line 54
cherrypicked from
3680ebed7f3e529d01996dd0318601f9f0d02b4b
Miss Islington (bot) [Tue, 9 Aug 2022 17:38:36 +0000 (10:38 -0700)]
gh-95491: Mention IDLE Issue project in Readme (GH-95750) (#95791)
(cherry picked from commit
63140b445e4a303df430b3d60c1cd4ef34f27c03 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Miss Islington (bot) [Tue, 9 Aug 2022 15:22:54 +0000 (08:22 -0700)]
GH-92678: Document that you shouldn't be doing your own dictionary offset calculations. (GH-95598) (GH-95821)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Mark Shannon <mark@hotpy.org>
Miss Islington (bot) [Tue, 9 Aug 2022 14:09:49 +0000 (07:09 -0700)]
gh-95767: Fix grammatical error in asyncio loop.create_task docs (GH-95768)
(cherry picked from commit
141f2517fc36cc7a0caf177f270edb6d39cf3d23 )
Co-authored-by: Andrzej Bartosiński <6197476+Neob91@users.noreply.github.com>
Miss Islington (bot) [Tue, 9 Aug 2022 11:48:08 +0000 (04:48 -0700)]
gh-94635: Fixup sqlite3 'Introduction' seealso note (GH-95751) (#95752)
In gh-95269, the seealso note incorrectly ended up in
the 'Tutorial' section.
(cherry picked from commit
56af5a200d60e86a8ac450264729d693053275e3 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Erlend E. Aasland [Tue, 9 Aug 2022 11:47:15 +0000 (13:47 +0200)]
[3.11] gh-95273: Reorganize sqlite3 doc module level funcs and vars (GH-95626) (#95801)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>.
(cherry picked from commit
41c939cb35cda395388a775156c367676efffebe )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Miss Islington (bot) [Tue, 9 Aug 2022 11:46:20 +0000 (04:46 -0700)]
Fix typo in test_dataclasses.py (gh-95735) (gh-95740)
`dataclass` was called as a function when it was almost certainly intended to be a decorator.
(cherry picked from commit
59e09efe888affe549e9249f188797c1325edecc )
Co-authored-by: da-woods <dw-git@d-woods.co.uk>
Co-authored-by: da-woods <dw-git@d-woods.co.uk>
Pablo Galindo [Mon, 8 Aug 2022 13:08:40 +0000 (14:08 +0100)]
Merge remote-tracking branch 'upstream/3.11' into 3.11
Pablo Galindo [Mon, 8 Aug 2022 13:07:31 +0000 (14:07 +0100)]
Post 3.11.0rc1
Miss Islington (bot) [Sat, 6 Aug 2022 17:31:58 +0000 (10:31 -0700)]
\b gh-95376: Add test for names containing null (GH-GH-5394) (#GH-5746)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
(cherry picked from commit
a17cd47b614f8bc660788647a009a25e121221d7 )
Co-authored-by: Sion Kang <31057849+Yaminyam@users.noreply.github.com>
Miss Islington (bot) [Sat, 6 Aug 2022 17:30:46 +0000 (10:30 -0700)]
gh-95395: Add argument type error test (GH-95412) (GH-95744)
(cherry picked from commit
4703c158116bd157e20938bbf5356b79422470bb )
Co-authored-by: Sion Kang <31057849+Yaminyam@users.noreply.github.com>
Miss Islington (bot) [Sat, 6 Aug 2022 17:15:48 +0000 (10:15 -0700)]
gh-95155: Update "Using Python on a Mac" documentation (GH-95284) (GH-95742)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit
d25ff1f61387edd65a91b3930b12bcf4d734e8a1 )
Co-authored-by: Howie Zhao <howiezhaohr@hotmail.com>
Miss Islington (bot) [Sat, 6 Aug 2022 17:01:10 +0000 (10:01 -0700)]
gh-89362: Doc IDLE menu and search (GH-95697) (GH-95718)
Update menu item position and capitalization.
Add paragraph about search.
For help.html, include save-as addition.
(cherry picked from commit
834064c19a110dad425dc290c91c0545eaa24471 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Miss Islington (bot) [Sat, 6 Aug 2022 16:55:49 +0000 (09:55 -0700)]
gh-95251: IDLE - Add What's New section to README (GH-95688) (GH-95726)
Document what I (TJR) currently do for 3.10/3.11.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
(cherry picked from commit
a302a274892f2dad4e1fa492c4886d55e4df0a80 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Pablo Galindo [Fri, 5 Aug 2022 14:44:15 +0000 (15:44 +0100)]
Python 3.11.0rc1
Miss Islington (bot) [Fri, 5 Aug 2022 14:43:10 +0000 (07:43 -0700)]
[3.11] Update the magic number in test_util.py (GH-95714) (#95716)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Miss Islington (bot) [Fri, 5 Aug 2022 14:41:45 +0000 (07:41 -0700)]
[3.11] Remove draft notice from 3.11 What's new (GH-95713) (#95715)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Miss Islington (bot) [Fri, 5 Aug 2022 09:23:57 +0000 (02:23 -0700)]
gh-95573: Reduce test data size in test_asyncio/test_ssl.py (GH-95668) (GH-95705)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit
3a9e1fda7ab30e04545d3eceea1f2ccd37fa1f15 )
Co-authored-by: Fantix King <fantix.king@gmail.com>
Shantanu [Fri, 5 Aug 2022 08:18:44 +0000 (01:18 -0700)]
[3.11] Clarifying the documentation on library/syslog (GH-92587) (GH-95492)
(cherry picked from commit
b7ce4625fe2a8a4d6c1db6b39b52c7f97d384caa )
Co-authored-by: Nicolas Haller <nicolas@haller.im>
Miss Islington (bot) [Fri, 5 Aug 2022 08:07:15 +0000 (01:07 -0700)]
gh-95573: Fix a mistake in asyncio ssl tests suppressing all logs (GH-95687) (GH-95699)
(cherry picked from commit
e1d68b3ce71de76b3d7e5852e9bdfdbb4efea2f8 )
Co-authored-by: Fantix King <fantix.king@gmail.com>
Miss Islington (bot) [Fri, 5 Aug 2022 07:58:40 +0000 (00:58 -0700)]
GH-95685: Fix rendering of the string documentation (GH-95686) (GH-95700)
There's an extra underlines that messed the rest of the documentation rendering.
Closes #95685
(cherry picked from commit
a525f2ada407d6677bf8ca708f104694de0525e4 )
Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
Miss Islington (bot) [Fri, 5 Aug 2022 07:42:49 +0000 (00:42 -0700)]
GH-90997: Document CACHEs (GH-95694) (GH-95696)
(cherry picked from commit
5f3c9fda1825737fa7b671b995f84a8ab9a4adb8 )
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Miss Islington (bot) [Fri, 5 Aug 2022 07:42:21 +0000 (00:42 -0700)]
gh-65802: IDLE - explain SaveAs and extensions (GH-95690) (GH-95692)
File name extensions may or may not be shown for the current name
and are added in an OS-dependent manner if not given for the new
name.
(cherry picked from commit
9890f86ae2001d19e7a18fee5b13aa0dd6069aef )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Erlend Egeberg Aasland [Fri, 5 Aug 2022 07:41:54 +0000 (09:41 +0200)]
[3.11] Docs: sqlite3 docs fixup (GH-95681) (GH-95683)
- Disable links to the module itself
- Fix link indent
- Consistent ref markup.
(cherry picked from commit
44f1f63ad5cf00b6f50cef0cc1a62c42632138be )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
Pablo Galindo Salgado [Thu, 4 Aug 2022 21:44:06 +0000 (22:44 +0100)]
[3.11] gh-92678: Correct return values for errors in PyInit__testcapi (#95664)
Erlend Egeberg Aasland [Thu, 4 Aug 2022 21:02:28 +0000 (23:02 +0200)]
[3.11] gh-95271: Extract placeholders howto from sqlite3 tutorial (GH-95522) (#95677)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
(cherry picked from commit
b24e8b28a7dc585ba367a959be83393f2352d21d )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
Ned Deily [Thu, 4 Aug 2022 20:19:32 +0000 (16:19 -0400)]
Remove 3.11 beta release notice from macOS installer displays (GH-95669)