If the precision is available via OS APIs, this is mostly an issue+PR away from being implemented by someone who cares.
FAT32 has a two billion nanosecond resolution IIRC. :P -gps On Mon, Dec 7, 2020 at 8:22 AM David Mertz <[email protected]> wrote: > Are there any filesystems that can actually record a meaningful ns > modification time? I find discussions claiming this: > > > - XFS and EXT3: second precision > - EXT4: millisecond precision > - NTFS: 100ns precision > - APFS: 1 ns precision > > > But also notes that the precision is likely to exceed the accuracy by many > times on real systems. > > On Mon, Dec 7, 2020 at 2:34 PM Mats Wichmann <[email protected]> wrote: > >> >> there are stat fields now for ns precision, e.g. st_mtime now has an >> analogue st_mtime_ns. But os.path didn't grow corresponding methods - >> there's an os.path.getmtime but not _ms. Was that intentional? The >> wrappers in genericpath.py are trivial and arguably aren't particularly >> needed, but still curious... >> _______________________________________________ >> Python-Dev mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> https://mail.python.org/mailman3/lists/python-dev.python.org/ >> Message archived at >> https://mail.python.org/archives/list/[email protected]/message/CK3S2DYI3PKZ7VGRFEO4PKVLZCPUTR6N/ >> Code of Conduct: http://python.org/psf/codeofconduct/ >> > > > -- > The dead increasingly dominate and strangle both the living and the > not-yet born. Vampiric capital and undead corporate persons abuse > the lives and control the thoughts of homo faber. Ideas, once born, > become abortifacients against new conceptions. > _______________________________________________ > Python-Dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/ZAPQSEQHL3KO7AALG7NQTIA2BPG753AN/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/WJU7EMOTVCYA36CFBBEPR3DOIX4KV77R/ Code of Conduct: http://python.org/psf/codeofconduct/
