Path-py

Latest version: v11.0.1

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

Scan your dependencies

Page 5 of 8

7.4

---

- 93: chown now appears in docs and raises NotImplementedError if
``os.chown`` isn't present.
- 92: Added compatibility support for ``.samefile`` on platforms without
``os.samefile``.

7.3

---

- 91: Releases now include a universal wheel.

7.2

---

- In chmod, added support for multiple symbolic masks (separated by commas).
- In chmod, fixed issue in setting of symbolic mask with '=' where
unreferenced permissions were cleared.

7.1

---

- 23: Added support for symbolic masks to ``.chmod``.

7.0

---

- The ``open`` method now uses ``io.open`` and supports all of the
parameters to that function. ``open`` will always raise an ``OSError``
on failure, even on Python 2.
- Updated ``write_text`` to support additional newline patterns.
- The ``text`` method now always returns text (never bytes), and thus
requires an encoding parameter be supplied if the default encoding is not
sufficient to decode the content of the file.

6.2

---

- ``path`` class renamed to ``Path``. The ``path`` name remains as an alias
for compatibility.

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.