8000 os.PathLike is missing __slots__ · Issue #104898 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
os.PathLike is missing __slots__ #104898
Closed
Closed
@barneygale

Description

@barneygale

Per @AlexWaygood:

All the ABCs in collections.abc deliberately define __slots__ for this very reason: so that other classes can subclass those ABCs and still be able to use the __slots__ machinery to block the creation of instance dictionaries.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixestype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions