Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1665514

Browse filesBrowse files
committed
Update _curses module for 3.14
1 parent 0b1ee93 commit 1665514
Copy full SHA for 1665514

File tree

Expand file treeCollapse file tree

3 files changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-2
lines changed

‎stdlib/@tests/stubtest_allowlists/darwin-py314.txt

Copy file name to clipboardExpand all lines: stdlib/@tests/stubtest_allowlists/darwin-py314.txt
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# TODO: New errors in Python 3.14 that need to be fixed or moved below
33
# ====================================================================
44

5-
_curses.assume_default_colors
65
_posixsubprocess.fork_exec
76
asyncio.tools
87
asyncio.unix_events.__all__

‎stdlib/@tests/stubtest_allowlists/linux-py314.txt

Copy file name to clipboardExpand all lines: stdlib/@tests/stubtest_allowlists/linux-py314.txt
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# TODO: New errors in Python 3.14 that need to be fixed or moved below
33
# ====================================================================
44

5-
_curses.assume_default_colors
65
_posixsubprocess.fork_exec
76
asyncio.tools
87
asyncio.unix_events.__all__

‎stdlib/_curses.pyi

Copy file name to clipboardExpand all lines: stdlib/_curses.pyi
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@ def has_colors() -> bool: ...
304304
if sys.version_info >= (3, 10):
305305
def has_extended_color_support() -> bool: ...
306306

307+
if sys.version_info >= (3, 14):
308+
def assume_default_colros(fg: int, bg: int, /) -> None: ...
309+
307310
def has_ic() -> bool: ...
308311
def has_il() -> bool: ...
309312
def has_key(key: int, /) -> bool: ...

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.