diff options
author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2021-12-09 21:33:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-12 11:27:24 +0000 |
commit | 2faf8fe58480b2e5909a51966e356609abe3f8f8 (patch) | |
tree | e0de7199670f2e678a1721dc0f709f2538d69aae /meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch | |
parent | 9fc8c38658f123ab2ebd8cc764ed4418b959467f (diff) | |
download | poky-2faf8fe58480b2e5909a51966e356609abe3f8f8.tar.gz |
python3: udpate to 3.10.1
Refreshed patches.
(From OE-Core rev: b82ea986a492791716c3da07a7d728edd17654c9)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch b/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch index d6aa9501a7..df5179e877 100644 --- a/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch +++ b/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From d8521ee967937184eadc59fff1a30740ad181a98 Mon Sep 17 00:00:00 2001 | 1 | From 86061629f4a179e740a17e53dd2c98ab47af2fe2 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex@linutronix.de> | 2 | From: Alexander Kanavin <alex@linutronix.de> |
3 | Date: Thu, 16 Sep 2021 16:35:37 +0200 | 3 | Date: Thu, 16 Sep 2021 16:35:37 +0200 |
4 | Subject: [PATCH] Lib/pty.py: handle stdin I/O errors same way as master I/O | 4 | Subject: [PATCH] Lib/pty.py: handle stdin I/O errors same way as master I/O |
@@ -24,12 +24,13 @@ So let's treat both channels the same. | |||
24 | 24 | ||
25 | Upstream-Status: Submitted [https://github.com/python/cpython/pull/28388] | 25 | Upstream-Status: Submitted [https://github.com/python/cpython/pull/28388] |
26 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | 26 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> |
27 | |||
27 | --- | 28 | --- |
28 | Lib/pty.py | 5 ++++- | 29 | Lib/pty.py | 5 ++++- |
29 | 1 file changed, 4 insertions(+), 1 deletion(-) | 30 | 1 file changed, 4 insertions(+), 1 deletion(-) |
30 | 31 | ||
31 | diff --git a/Lib/pty.py b/Lib/pty.py | 32 | diff --git a/Lib/pty.py b/Lib/pty.py |
32 | index 8d8ce40df5..35439c6b96 100644 | 33 | index 8d8ce40..35439c6 100644 |
33 | --- a/Lib/pty.py | 34 | --- a/Lib/pty.py |
34 | +++ b/Lib/pty.py | 35 | +++ b/Lib/pty.py |
35 | @@ -154,7 +154,10 @@ def _copy(master_fd, master_read=_read, stdin_read=_read): | 36 | @@ -154,7 +154,10 @@ def _copy(master_fd, master_read=_read, stdin_read=_read): |
@@ -44,6 +45,3 @@ index 8d8ce40df5..35439c6b96 100644 | |||
44 | if not data: | 45 | if not data: |
45 | fds.remove(STDIN_FILENO) | 46 | fds.remove(STDIN_FILENO) |
46 | else: | 47 | else: |
47 | -- | ||
48 | 2.20.1 | ||
49 | |||