mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Fix _stat for 3.13 (#12383)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user