Skip to content

os.getCreationTime is incorrect/impossible on Posix systems #1058

@Varriount

Description

@Varriount

The value that os.getCreationTime returns on posix systems is derived from stat.st_ctime, which is the time a files attributes were last changed.

On Linux and Mac OSX, stat.st_birthtimespec (or depending on age, just st_birthtime) is available.

Either this should be fixed, a warning should be put in the documentation concerning this, a deprecation notice be put in place, or both.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions