Miss Islington (bot)
f1f54c8fb9
doc: fix a typo in unittest.mock.rst (GH-30227) (GH-30263)
...
(cherry picked from commit 10bf0a9ac3 )
Co-authored-by: Joe <nigelchiang@outlook.com>
2021-12-26 13:51:57 +02:00
Miss Islington (bot)
bee660e46a
[3.9] Remove a NEWS entry for bpo-45878 (GH-30258) (GH-30260)
...
The docs linter complains about it, and in general news entries for such changes are not required.
(cherry picked from commit 11909c12c7 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-12-26 13:25:49 +02:00
Miss Islington (bot)
3c1100fc59
Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560)
...
(cherry picked from commit 32096df0e0 )
Co-authored-by: Julien Palard <julien@palard.fr>
2021-12-26 03:15:38 -08:00
Miss Islington (bot)
393ff04028
bpo-45878: convert try/except to self.assertRaises in Lib/ctypes/test/test_functions.py (GH-29721) (GH-29723)
...
(cherry picked from commit b48ac6fe38 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2021-12-24 11:27:17 +02:00
Miss Islington (bot)
d718764f38
bpo-46150: ensure fakeuser does not exist in PosixPathTest.test_expanduser (GH-30240)
...
Ensure `fakeuser` does not exist in `PosixPathTest.test_expanduser`
(cherry picked from commit b8de8b7039 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2021-12-24 00:32:27 -08:00
Miss Islington (bot)
97a015b7b0
Allow test_pathlib to pass on systems where fakeuser exists. (GH-30244)
...
(cherry picked from commit d8880677a7 )
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2021-12-24 00:07:41 -08:00
Ned Deily
5c4d11fe75
bpo-46106: Update OpenSSL to 1.1.1m (GH-30211) (GH-30225)
...
Co-authored-by: Ned Deily <nad@python.org>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2021-12-21 23:25:09 -05:00
Miss Islington (bot)
a2295a4029
Update potentially confusing note for mean. (GH-30174) (GH-30221)
2021-12-21 12:44:13 +00:00
Pablo Galindo Salgado
e5cf31d3c2
[3.9] bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser (GH-30177) ( #30215 )
...
Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>.
(cherry picked from commit e9898bf153 )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-12-20 17:18:13 +00:00
Miss Islington (bot)
8e4564d14a
[3.9] bpo-46104: Fix example broken by GH-30148 (GH-30203) (GH-30210)
...
See discussion in GH-30179.
(cherry picked from commit 7c5c3f7254 )
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Automerge-Triggered-By: GH:Fidget-Spinner
2021-12-19 22:02:04 -08:00
Miss Islington (bot)
8bfb11a791
bpo-46076: Improve documentation for per-attribute docstrings with __slots__ (GH-30109) (GH-30207)
2021-12-19 15:11:37 -06:00
Andrew Svetlov
2352644377
Fix test error about deprecation warning ( #30205 )
2021-12-19 20:12:24 +02:00
Andrew Svetlov
f8fce5e4e4
[3.9] bpo-46129: Rewrite asyncio.locks tests with IsolatedAsyncioTestCase (GH-30198) (GH-30204)
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>.
(cherry picked from commit 9c06fd8951 )
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2021-12-19 18:59:37 +02:00
Miss Islington (bot)
a328ad7f9a
bpo-46099: Fix pthread_getcpuclockid test on Solaris (GH-30140) ( #30184 )
...
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit 427a490c49 )
Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
2021-12-18 17:51:34 +02:00
Miss Islington (bot)
0da17eb069
bpo-46113: Minor fixes in stdtypes documentation (GH-30167) (GH-30187)
...
* Fix-1 - isidentifier() function output
* Fix-2 Update the str.splitlines() function parameter
* Fix-3 Removed unwanted full stop for str and bytes types double quotes examples.
* Fix-4 Updated class dict from **kwarg to **kwargs
(cherry picked from commit 6f2df42951 )
Co-authored-by: Vivek Vashist <vivekvashist@gmail.com>
2021-12-18 22:26:04 +08:00
Miss Islington (bot)
43cb8f483b
[3.9] bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148) (GH-30180)
...
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit 6ada013df1 )
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2021-12-18 04:14:19 -08:00
Miss Islington (bot)
8202a7e3dd
[3.9] bpo-46044: Annotate deprecated sdists formats (GH-30043) (GH-30155)
...
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Éric <merwok@netwok.org>
2021-12-17 15:32:22 -08:00
Christian Heimes
a9b3edb66f
[3.9] bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170) (GH-30173)
...
Co-authored-by: Christian Heimes <christian@python.org>
2021-12-17 17:02:38 +01:00
Miss Islington (bot)
72225b5bdf
bpo-46111: Fix unittest tests in optimized mode (GH-30163)
...
(cherry picked from commit 95a922b3bb )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-12-17 01:35:58 -08:00
Miss Islington (bot)
212014d8c4
Fix a typo in the message from make_ssl_certs. (GH-30152)
...
The file is utils.py not util.py.
Automerge-Triggered-By: GH:gpshead
(cherry picked from commit 69ef1b5998 )
Co-authored-by: Yilei "Dolee" Yang <yileiyang9@gmail.com>
2021-12-16 21:49:37 -08:00
Jason R. Coombs
864ec170e1
[3.9] bpo-46105: Honor spec when generating requirement specs with urls and extras. (GH-30151). (GH-30157)
...
(cherry picked from commit 109d966021 )
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2021-12-16 19:58:19 -05:00
Miss Islington (bot)
4c1effaaee
bpo-28816: [doc] clarify that zipimport invokes importers only for python files (GH-30060) (GH-30134)
...
(cherry picked from commit a951c95a13 )
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-12-16 12:23:17 +00:00
Miss Islington (bot)
309614f1f7
Fix the output of built-in iter() function example in Iterators (Section 9.8) of The Python Tutorial (GH-30110)
...
Updated the output for it=iter(s) from <iterator object at 0x00A1DB50> to <str_iterator object at 0x10c90e650>
(cherry picked from commit c5d18a5014 )
Co-authored-by: Vivek Vashist <vivekvashist@gmail.com>
2021-12-16 03:04:53 -08:00
Miss Islington (bot)
86f9ae53da
Add Positional only arguments forward slash (/) to sorted() function in Built-in Functions document (GH-30113)
...
sorted() function is missing forward slash (/) in Built-in Functions documentation page.
Automerge-Triggered-By: GH:asvetlov
(cherry picked from commit f025ae63dc )
Co-authored-by: Vivek Vashist <vivekvashist@gmail.com>
2021-12-15 05:00:03 -08:00
Miss Islington (bot)
f0b274d2e2
bpo-26952: [argparse] clearer error when formatting an empty mutually… (GH-30099) (GH-30115)
...
(cherry picked from commit 86de99588d )
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-12-15 12:24:48 +00:00
Miss Islington (bot)
17260e44b5
[3.9] bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103) (GH-30105)
2021-12-14 17:27:22 +00:00
Miss Islington (bot)
94234228ab
[3.9] bpo-46063: Improve algorithm for computing which rolled-over log file… (GH-30093) (GH-30095)
2021-12-14 01:19:50 +00:00
Miss Islington (bot)
9b687596df
Clarify new_event_loop return value. (GH-30078) (GH-30089)
...
(cherry picked from commit e09705f58f )
Co-authored-by: Paul Bryan <pbryan@anode.ca>
2021-12-13 15:25:54 +02:00
Alex Waygood
2029c58097
[3.9] bpo-45840: Improve cross-references in the data model documentation (GH-29633) (GH-30081)
...
Backport of GH-29633 to the 3.9 branch
2021-12-13 14:19:08 +02:00
Miss Islington (bot)
80eb8ab81f
bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075) (GH-30083)
...
(cherry picked from commit 481f3ffdbe )
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-12-13 10:45:55 +00:00
Miss Islington (bot)
80f98b1614
[3.10] bpo-27718: Fix help for the signal module (GH-30063) (GH-30080)
...
Functions signal(), getsignal(), pthread_sigmask(), sigpending(),
sigwait() and valid_signals() were omitted.
If __all__ is not defined all non-builtin functions should have
correct __module__.
(cherry picked from commit e08c0d8eec )
(cherry picked from commit e55deaabd8 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-12-13 02:43:13 -08:00
Miss Islington (bot)
d55a03e02e
[3.10] bpo-13236: Flush the output stream more often in unittest (GH-29929) (GH-30039)
...
It can prevent some losses when output to buffered stream..
(cherry picked from commit 83fa1291fd )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-12-11 01:34:46 +01:00
Miss Islington (bot)
9299e3a39c
bpo-19737: Improved the documentation for globals (GH-29823) (GH-30042)
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 4fe5585240 )
Co-authored-by: 180909 <734461790@qq.com>
2021-12-11 01:32:29 +01:00
Miss Islington (bot)
5f622f1d5c
bpo-45822: Minor cleanups to the test_Py_CompileString test (GH-29750) (GH-29759)
...
(cherry picked from commit abfc794bbf )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-12-11 01:03:15 +01:00
Miss Islington (bot)
81a38293f2
[doc] Clarify MRO precedence in descriptor super binding section (GH-29539) (GH-29670)
...
A similar sentence is present in the 'Invocation from super' section of
the descriptor HOWTO, where it is already correct.
(cherry picked from commit ee49484c0f )
Co-authored-by: Jouke Witteveen <j.witteveen@gmail.com>
2021-12-11 01:01:35 +01:00
Miss Islington (bot)
f8eebb0db7
bpo-42114: ctypes documentation: fix winmode parameter default value (GH-29976) (GH-30038)
...
Signed-off-by: Louis Sautier <sautier.louis@gmail.com>
(cherry picked from commit c1051e08b3 )
Co-authored-by: Louis Sautier <sautier.louis@gmail.com>
2021-12-11 00:29:28 +01:00
Miss Islington (bot)
bad16f0cf7
[3.9] bpo-43749: Ensure current exe is copied when using venv on windows (GH-25216) (GH-30033)
...
Co-authored-by: Ian Norton <inorton@gmail.com>
2021-12-10 18:06:07 +00:00
Miss Islington (bot)
040f9f9c48
bpo-46000: Improve NetBSD curses compatibility (GH-29947) (GH-30023)
...
(cherry picked from commit 2fb797e93c )
Co-authored-by: Thomas Klausner <tk@giga.or.at>
2021-12-10 13:21:19 +02:00
Miss Islington (bot)
40d765260a
bpo-42182: stdtypes doc - update and fix links to several dunder methods (GH-27384)
...
(cherry picked from commit 8c74713d0e )
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-12-10 02:04:54 -08:00
Miss Islington (bot)
fb8aad1640
[3.9] bpo-45662: Fix the repr of InitVar with a type alias to the built-in class (GH-29291) (GH-29924)
...
For example, InitVar[list[int]].
(cherry picked from commit 1fd4de5bdd )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-12-10 11:42:49 +02:00
Miss Islington (bot)
5ae4265b8c
bpo-46018: Ensure that math.expm1 does not raise on underflow (GH-29997)
...
(cherry picked from commit 3363e1cb05 )
Co-authored-by: Steve Dower <steve.dower@python.org>
2021-12-09 10:55:53 -08:00
Miss Islington (bot)
25254d4842
Fix double-space in exception message (GH-29955) (GH-29983)
...
(cherry picked from commit c602c1be43 )
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
2021-12-08 13:41:50 +02:00
Miss Islington (bot)
db42809d29
bpo-35821: Fix restructuredtext code formatting in logging.rst (GH-29963)
...
(cherry picked from commit c7e7a4b969 )
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-12-07 07:48:32 -08:00
Miss Islington (bot)
bffce2cbb5
bpo-45664: Fix resolve_bases() and new_class() for GenericAlias instance as a base (GH-29298) (GH-29928)
...
(cherry picked from commit 2b318ce1c9 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-12-07 14:00:06 +02:00
Miss Islington (bot)
e688568cdf
[3.9] bpo-35821: Add an example to Logger.propagate documentation. (GH-29841) (GH-29958)
2021-12-07 11:45:49 +00:00
Miss Islington (bot)
2e360832d7
bpo-46001: Change OverflowError to RecursionError in JSON library docstrings (GH-29943)
...
(cherry picked from commit 8db06528ca )
Co-authored-by: James Gerity <snoopjedi@gmail.com>
2021-12-07 02:25:02 -08:00
Christian Heimes
f147248795
[3.9] bpo-44035: Check autoconf files thoroughly (GH-29935) (GH-29938)
...
Co-authored-by: Christian Heimes <christian@python.org>
2021-12-06 13:48:54 +01:00
Ned Deily
7accb4fdb3
bpo-45732: Update python.org macOS installer to use Tcl/Tk 8.6.12. (GH-29933)
2021-12-06 02:39:56 -05:00
Miss Islington (bot)
19050711f5
bpo-45663: Fix is_dataclass() for dataclasses which are subclasses of types.GenericAlias (GH-29294)
...
(cherry picked from commit 446be16686 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-12-05 13:25:43 -08:00
Miss Islington (bot)
52a9a71fe6
bpo-27946: Fix possible crash in ElementTree.Element (GH-29915)
...
Getting an attribute via attrib.get() simultaneously with replacing
the attrib dict can lead to access to deallocated dict.
(cherry picked from commit d15cdb2f32 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-12-05 11:04:59 -08:00