Skip to content

Context.stat() and File.fstat() Should Return os.stat_result #35

@ldo

Description

@ldo

The following patch ldo-stat-result.patch.txt reworks Context.stat() and File.fstat() to return the same type of namedtuples as os.stat() does. This allows for symbolic names to refer to the fields, while remaining backward-compatible with existing code that expects a regular tuple.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions