hyb
2025-10-24 43c4449e6c9231446895ad26d169825ca7a65c9a
1
2
3
4
5
6
7
8
9
10
11
12
13
from __future__ import annotations
 
import sys
 
if sys.version_info >= (3, 12, 4):
    # Python 3.13 should support `.pth` files encoded in UTF-8
    # See discussion in https://github.com/python/cpython/issues/77102
    PTH_ENCODING: str | None = "utf-8"
else:
    from .py39 import LOCALE_ENCODING
 
    # PTH_ENCODING = "locale"
    PTH_ENCODING = LOCALE_ENCODING