Fix _stat for 3.13 (#12383)

This commit is contained in:
Max Muoto
2024-07-20 23:25:55 -05:00
committed by GitHub
parent ab55971e5f
commit e82f130693
3 changed files with 3 additions and 10 deletions

View File

@@ -1,7 +1,3 @@
# TODO: triage these (new in py313)
_stat.SF_SUPPORTED
_stat.SF_SYNTHETIC
mmap.MAP_NORESERVE
posixpath.splitroot
stat.SF_SUPPORTED
stat.SF_SYNTHETIC

View File

@@ -1,7 +1,5 @@
# New in py313 (triage these!)
_msi
_stat.SF_SUPPORTED
_stat.SF_SYNTHETIC
_winapi.BatchedWaitForMultipleObjects
_winapi.CreateEventW
_winapi.CreateMutexW
@@ -35,8 +33,6 @@ os.fchmod
os.lchmod
os.path.exists
os.path.lexists
stat.SF_SUPPORTED
stat.SF_SYNTHETIC
subprocess.__all__
subprocess.STARTF_FORCEOFFFEEDBACK
subprocess.STARTF_FORCEONFEEDBACK

View File

@@ -110,8 +110,9 @@ if sys.version_info >= (3, 13):
SF_FIRMLINK: Final = 0x00800000
SF_DATALESS: Final = 0x40000000
SF_SUPPORTED: Final = 0x9F0000
SF_SYNTHETIC: Final = 0xC0000000
if sys.platform == "darwin":
SF_SUPPORTED: Final = 0x9F0000
SF_SYNTHETIC: Final = 0xC0000000
UF_TRACKED: Final = 0x00000040
UF_DATAVAULT: Final = 0x00000080