Skip to content

Inherit from PathBase instead of Path #193

@ap--

Description

@ap--

This will be the next big change in UPath.

In the near future we will derive from pathlib_abc.PathBase:

from pathlib_abc import PathBase

class UPath(PathBase):
    ...

We will have to consider a few things before this is possible:

  • a clean deprecation mechanism for code that checks isinstance(p, Path)
  • how do WindowsUPath and PosixUPath change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions