Miss Islington (bot)
503803d8c1
bpo-46059: Clarify pattern-matching example in "control flow" docs (GH-30079)
...
The "Color" example in the pattern-matching section of the "control flow" documentation is not immediately runnable, leading to confusion.
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 1cbb88736c )
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2021-12-14 07:25:32 -08:00
Miss Islington (bot)
f84e2f6c0a
[3.10] bpo-46063: Improve algorithm for computing which rolled-over log file… (GH-30093) (GH-30094)
...
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2021-12-14 01:17:56 +00:00
Miss Islington (bot)
bcb5d66b8f
Clarify new_event_loop return value. (GH-30078) (GH-30088)
...
(cherry picked from commit e09705f58f )
Co-authored-by: Paul Bryan <pbryan@anode.ca>
2021-12-13 15:24:50 +02:00
Irit Katriel
310bae628a
[3.10] bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075) (GH-30085)
...
(cherry picked from commit 481f3ffdbe )
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-12-13 10:47:38 +00:00
Serhiy Storchaka
e55deaabd8
[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 )
2021-12-13 12:14:51 +02:00
Alex Waygood
7da90251ae
bpo-45840: Improve cross-references in the data model documentation (GH-29633) (GH-30077)
...
(cherry picked from commit c0521fe49f )
2021-12-13 11:20:21 +02:00
Miss Islington (bot)
94483f1e3c
bpo-46054: Fix parsing error when parsing non-utf8 characters in source files (GH-30068) (GH-30069)
...
(cherry picked from commit 4325a766f5 )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-12-12 16:52:49 +00:00
Miss Islington (bot)
438817fdd5
bpo-46042: Improve SyntaxError locations in the symbol table (GH-30059) (GH-30064)
...
(cherry picked from commit 59435eea08 )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-12-12 01:24:12 +00:00
Andrew Svetlov
991736697d
[3.10] bpo-46040: Fix removal text for @asyncio.coroutine (GH-30061)
2021-12-11 20:27:47 +02:00
Miss Islington (bot)
1f7000808e
bpo-19737: Improved the documentation for globals (GH-29823) (GH-30041)
...
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:13 +01:00
Miss Islington (bot)
0f21bac6ce
Fix markup buglet in Doc/howto/annotations.rst (GH-29802) (GH-29805)
...
(cherry picked from commit 94daf39b2f )
Co-authored-by: Guido van Rossum <guido@python.org>
2021-12-11 01:03:55 +01:00
Miss Islington (bot)
e1e3f648ad
bpo-45822: Minor cleanups to the test_Py_CompileString test (GH-29750) (GH-29758)
...
(cherry picked from commit abfc794bbf )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-12-11 01:02:56 +01:00
Miss Islington (bot)
4b224e8729
[doc] Clarify MRO precedence in descriptor super binding section (GH-29539) (GH-29669)
...
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:16 +01:00
Serhiy Storchaka
83fa1291fd
[3.10] bpo-13236: Flush the output stream more often in unittest (GH-29864) (GH-29929)
...
It can prevent some losses when output to buffered stream..
(cherry picked from commit f42a06ba27 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-12-11 00:36:15 +01:00
Miss Islington (bot)
8f3728edcb
bpo-42114: ctypes documentation: fix winmode parameter default value (GH-29976) (GH-30037)
...
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:46 +01:00
Miss Islington (bot)
bb8d645f3a
[3.10] bpo-43749: Ensure current exe is copied when using venv on windows (GH-25216) (GH-30034)
...
Co-authored-by: Ian Norton <inorton@gmail.com>
2021-12-10 17:51:42 +00:00
Miss Islington (bot)
bb76410824
bpo-46000: Improve NetBSD curses compatibility (GH-29947)
...
(cherry picked from commit 2fb797e93c )
Co-authored-by: Thomas Klausner <tk@giga.or.at>
2021-12-10 02:29:23 -08:00
Miss Islington (bot)
64c2788f42
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:02:14 -08:00
Miss Islington (bot)
ca08655b80
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 11:37:06 -08:00
Miss Islington (bot)
934a24c641
bpo-46025: Fix a crash in the atexit module for auto-unregistering functions (GH-30002) (GH-30005)
...
(cherry picked from commit f0d290d25c )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-12-09 15:16:09 +00:00
Miss Islington (bot)
2c2ee83c4d
bpo-45391: mark UnionType as a class in documentation (GH-28757)
...
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
(cherry picked from commit e2cfc89e09 )
Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
2021-12-09 05:17:36 -08:00
Mark Shannon
99c72326d2
[3.10] bpo-46009: Do not exhaust generator when send() method raises (GH-29986). (GH-29988)
...
* [3.10] bpo-46009: Do not exhaust generator when send() method raises (GH-29986).
(cherry picked from commit 69806b9516 )
Co-authored-by: Mark Shannon <mark@hotpy.org>
* Rename variable after cherry-pick.
* Add NULL check.
2021-12-08 14:46:32 +00:00
Miss Islington (bot)
cca3004f64
doc: Add link issue 44010 (GH-29454)
...
(cherry picked from commit 3e0f13b9e4 )
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2021-12-08 03:18:33 -08:00
Miss Islington (bot)
fbdbbdb67b
Fix double-space in exception message (GH-29955)
...
(cherry picked from commit c602c1be43 )
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
2021-12-08 03:07:27 -08:00
Miss Islington (bot)
14f03ce6e8
[3.10] bpo-35821: Fix restructuredtext code formatting in logging.rst (GH-29963) (GH-29965)
...
(cherry picked from commit c7e7a4b969 )
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Automerge-Triggered-By: GH:Fidget-Spinner
2021-12-07 07:47:31 -08:00
Pablo Galindo Salgado
c521412003
[3.10] bpo-46004: Fix error location for loops with invalid targets (GH-29959). (GH-29961)
...
(cherry picked from commit 1c7a1c3be0 )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-12-07 15:23:33 +00:00
Miss Islington (bot)
f78c229b4e
[3.10] bpo-35821: Add an example to Logger.propagate documentation. (GH-29841) (GH-29957)
2021-12-07 11:45:13 +00:00
Miss Islington (bot)
15da2a2723
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:20:10 -08:00
Pablo Galindo
bf1812ef61
Post 3.10.1
2021-12-06 18:52:20 +00:00
Pablo Galindo
2cd268a3a9
Python 3.10.1
2021-12-06 18:23:39 +00:00
Miss Islington (bot)
1528d249a5
[3.10] bpo-44035: Check autoconf files thoroughly (GH-29935) (GH-29937)
...
Co-authored-by: Christian Heimes <christian@python.org>
2021-12-06 13:47:42 +01:00
Ned Deily
20801982fa
bpo-45732: Update python.org macOS installer to use Tcl/Tk 8.6.12. (GH-29932)
2021-12-06 02:39:11 -05:00
Miss Islington (bot)
cb68c0a3a4
bpo-45664: Fix resolve_bases() and new_class() for GenericAlias instance as a base (GH-29298)
...
(cherry picked from commit 2b318ce1c9 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-12-05 13:26:37 -08:00
Miss Islington (bot)
abceb66c7e
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:04:29 -08:00
Miss Islington (bot)
f1dd5ed1f3
bpo-45662: Fix the repr of InitVar with a type alias to the built-in class (GH-29291)
...
For example, InitVar[list[int]].
(cherry picked from commit 1fd4de5bdd )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-12-05 13:02:47 -08:00
Miss Islington (bot)
beb834292d
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:52 -08:00
Miss Islington (bot)
f6648e229e
bpo-45916: Use HTTPS link for The Perils of Floating Point (GH-29896)
...
(cherry picked from commit 9f2f7e4226 )
Co-authored-by: Zachary Ware <zach@python.org>
2021-12-02 12:45:09 -08:00
Miss Islington (bot)
eac07e5ab0
docs: Improve example for urlparse() (GH-29816) (GH-29888)
...
(cherry picked from commit 226d22ff2d )
Co-authored-by: Christian Clauss <cclauss@me.com>
2021-12-02 12:25:13 +02:00
Miss Islington (bot)
e99c5e039b
bpo-45896: Fix docs default asyncio event loop on Windows (GH-29857) (GH-29877)
...
(cherry picked from commit f27bef3043 )
Co-authored-by: Rob <r4226@pm.me>
2021-12-01 17:44:09 +02:00
Miss Islington (bot)
39751420b3
bpo-33381: [doc] strftime's %f option may pad zeros on the left or the right (GH-29801) (GH-29862)
...
(cherry picked from commit f97ec09baf )
Co-authored-by: Vishal Pandey <vishalpandeyviptsk@gmail.com>
2021-11-30 11:49:59 +00:00
Miss Islington (bot)
5a6d9ed700
bpo-45931: Prevent Directory.Build.props/targets from leaking from directories above the repo when building on Windows (GH-29854)
...
(cherry picked from commit 734ed35383 )
Co-authored-by: David Federman <david.federman@outlook.com>
2021-11-29 15:08:33 -08:00
Miss Islington (bot)
32f1491a97
bpo-43905: Expand dataclasses.astuple() and asdict() docs (GH-26154)
...
Expanded ``astuple()`` docs, warning about deepcopy being applied
and providing a workaround.
Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit c1f93f0d37 )
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-11-29 10:32:56 -08:00
Miss Islington (bot)
af39cfa6ca
[3.10] bpo-44391: Remove unused argument from a varargs call. (GH-29843) (GH-29849)
2021-11-29 18:00:31 +00:00
Miss Islington (bot)
efe2a2306b
[3.10] [Doc] Add info to logging cookbook about running logging socket listeners i… (GH-29838) (GH-29839)
2021-11-29 13:28:05 +00:00
Miss Islington (bot)
4b11d71185
bpo-43498: Fix dictionary iteration error in _ExecutorManagerThread (GH-24868)
...
(cherry picked from commit 7431448b81 )
Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
2021-11-29 04:24:08 -08:00
Irit Katriel
4d2cc3ed46
bpo-45614: Fix traceback display for exceptions with invalid module name (GH-29726) (GH-29826)
...
(cherry picked from commit 4dfae6f38e )
2021-11-29 10:07:24 +00:00
Miss Islington (bot)
305236e03a
bpo-37658: Actually return result in race condition (GH-29202)
...
(cherry picked from commit 934a826237 )
Co-authored-by: Sam Bull <aa6bs0@sambull.org>
2021-11-29 00:37:34 -08:00
Pablo Galindo Salgado
8d1a580064
[3.10] bpo-42268: Fail the configure step if the selected compiler doesn't support memory sanitizer (GH-29806) (GH-29815)
...
(cherry picked from commit e71c12efcd )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-11-28 21:23:39 +00:00
Miss Islington (bot)
2c398a5acf
[3.10] bpo-19460: Add test for MIMENonMultipart (GH-29817) (GH-29818)
...
Co-authored-by: 180909 <wjh180909@gmail.com>
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2021-11-28 12:57:10 +02:00
Christian Heimes
545aebd2ec
[3.10] bpo-45881: Use CC from env first for cross building (GH-29752). (GH-29753)
...
Co-authored-by: Christian Heimes <christian@python.org>
2021-11-27 21:14:05 +01:00