Skip to content

Commit 0ba818e

Browse files
authored
Update sys for 3.14 (#14086)
1 parent 0125fe2 commit 0ba818e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

stdlib/@tests/stubtest_allowlists/py314.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ sre_compile.CH_NEGATE
9191
sre_constants.CH_NEGATE
9292
sre_parse.CH_NEGATE
9393
string.Template.flags
94-
sys.is_remote_debug_enabled
95-
sys.remote_exec
9694
tarfile.TarFile.zstopen
9795
tkinter.Event.__class_getitem__
9896
turtle.__all__

stdlib/sys/__init__.pyi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import sys
2-
from _typeshed import MaybeNone, OptExcInfo, ProfileFunction, TraceFunction, structseq
2+
from _typeshed import MaybeNone, OptExcInfo, ProfileFunction, StrOrBytesPath, TraceFunction, structseq
33
from _typeshed.importlib import MetaPathFinderProtocol, PathEntryFinderProtocol
44
from builtins import object as _object
55
from collections.abc import AsyncGenerator, Callable, Sequence
@@ -470,3 +470,7 @@ if sys.version_info >= (3, 12):
470470
from . import _monitoring
471471

472472
monitoring = _monitoring
473+
474+
if sys.version_info >= (3, 14):
475+
def is_remote_debug_enabled() -> bool: ...
476+
def remote_exec(pid: int, script: StrOrBytesPath) -> None: ...

0 commit comments

Comments
 (0)