We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_enablelegacywindowsfsencoding
1 parent 7beac25 commit 78faddcCopy full SHA for 78faddc
1 file changed
stdlib/sys/__init__.pyi
@@ -454,7 +454,14 @@ def get_asyncgen_hooks() -> _asyncgen_hooks: ...
454
def set_asyncgen_hooks(firstiter: _AsyncgenHook = ..., finalizer: _AsyncgenHook = ...) -> None: ...
455
456
if sys.platform == "win32":
457
- def _enablelegacywindowsfsencoding() -> None: ...
+ if sys.version_info >= (3, 13):
458
+ @deprecated(
459
+ "Deprecated since Python 3.13; will be removed in Python 3.16. "
460
+ "Use the `PYTHONLEGACYWINDOWSFSENCODING` environment variable instead."
461
+ )
462
+ def _enablelegacywindowsfsencoding() -> None: ...
463
+ else:
464
465
466
def get_coroutine_origin_tracking_depth() -> int: ...
467
def set_coroutine_origin_tracking_depth(depth: int) -> None: ...
0 commit comments