some new features

This commit is contained in:
ilgazca
2025-07-30 17:09:11 +03:00
parent db5d46760a
commit 8019bd3b7c
20616 changed files with 4375466 additions and 8 deletions

View File

@ -0,0 +1,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