Commit 5c65834
Release the GIL while performing isatty() system calls on arbitrary
file descriptors. In particular, this affects os.isatty(),
os.device_encoding() and io.TextIOWrapper. By extension,
io.open() in text mode is also affected.
(cherry picked from commit 06148b1)
Co-authored-by: Vincent Michel <vxgmichel@gmail.com>
1 parent dc2e11e commit 5c65834
File tree
3 files changed
+20
-2
lines changed- Misc/NEWS.d/next/Core and Builtins
- Modules
- Python
3 files changed
+20
-2
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10058 | 10058 | | |
10059 | 10059 | | |
10060 | 10060 | | |
| 10061 | + | |
10061 | 10062 | | |
10062 | 10063 | | |
10063 | 10064 | | |
| 10065 | + | |
10064 | 10066 | | |
10065 | 10067 | | |
10066 | 10068 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
1737 | 1739 | | |
1738 | 1740 | | |
1739 | 1741 | | |
1740 | | - | |
| 1742 | + | |
1741 | 1743 | | |
1742 | 1744 | | |
1743 | 1745 | | |
1744 | 1746 | | |
1745 | | - | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
1746 | 1758 | | |
1747 | 1759 | | |
1748 | 1760 | | |
| |||
0 commit comments