Path

Latest version: v17.0.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 16 of 16

3.2

---

- Issue 22: ``__enter__`` now returns self.

3.1

---

- Issue 20: `relpath` now supports a "start" parameter to match the
signature of `os.path.relpath`.

3.0

---

- Minimum Python version is now 2.5.

2.6

---

- Issue 5: Implemented `path.tempdir`, which returns a path object which is
a temporary directory and context manager for cleaning up the directory.
- Issue 12: One can now construct path objects from a list of strings by
simply using path.joinpath. For example::

path.joinpath('a', 'b', 'c') or
path.joinpath(*path_elements)

2.5

---

- Issue 7: Add the ability to do chaining of operations that formerly only
returned None.
- Issue 4: Raise a TypeError when constructed from None.

Page 16 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.