8000 Add several missing stdlib functions by not-my-profile · Pull Request #7397 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Add several missing stdlib functions #7397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 6, 2022
Prev Previous commit
Next Next commit
stdlib: Add sys._enablelegacywindowsfsencoding()
  • Loading branch information
not-my-profile committed Mar 2, 2022
commit ef0c69624550944b68135c4f5618ba7a7abebcb7
4 changes: 4 additions & 0 deletions stdlib/sys.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,10 @@ class _asyncgen_hooks(structseq[_AsyncgenHook], tuple[_AsyncgenHook, _AsyncgenHo
def get_asyncgen_hooks() -> _asyncgen_hooks: ...
def set_asyncgen_hooks(firstiter: _AsyncgenHook = ..., finalizer: _AsyncgenHook = ...) -> None: ...

if sys.version_info >= (3, 6):
if sys.platform == "win32":
def _enablelegacywindowsfsencoding() -> None: ...

if sys.version_info >= (3, 7):
def get_coroutine_origin_tracking_depth() -> int: ...
def set_coroutine_origin_tracking_depth(depth: int) -> None: ...
0