Pathlib2

Latest version: v2.3.7.post1

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

Scan your dependencies

Page 3 of 4

2.2.0

^^^^^^^^^^^^^

- Sync with upstream pathlib from CPython 3.5.2 and 3.6.0: fix various
exceptions, empty glob pattern, scandir, __fspath__.

- Support unicode strings to be used to construct paths in Python 2
(reported by native-api, see issue 13 and pull request 15).

2.1.0

^^^^^^^^^^^^^

- Sync with upstream pathlib from CPython 3.5.0: gethomedir, home,
expanduser.

2.0.1

^^^^^^^^^^^^^

- Fix TypeError exceptions in write_bytes and write_text (contributed
by Emanuele Gaifas, see pull request 2).

2.0

^^^^^^^^^^^

- Sync with upstream pathlib from CPython: read_text, write_text,
read_bytes, write_bytes, __enter__, __exit__, samefile.
- Use travis and appveyor for continuous integration.
- Fixed some bugs in test code.

1.0.1

^^^^^^^^^^^^^

- Pull request 4: Python 2.6 compatibility by eevee.

1.0

^^^^^^^^^^^

This version brings ``pathlib`` up to date with the official Python 3.4
release, and also fixes a couple of 2.7-specific issues.

- Python issue 20765: Add missing documentation for PurePath.with_name()
and PurePath.with_suffix().
- Fix test_mkdir_parents when the working directory has additional bits
set (such as the setgid or sticky bits).
- Python issue 20111: pathlib.Path.with_suffix() now sanity checks the
given suffix.
- Python issue 19918: Fix PurePath.relative_to() under Windows.
- Python issue 19921: When Path.mkdir() is called with parents=True, any
missing parent is created with the default permissions, ignoring the mode
argument (mimicking the POSIX "mkdir -p" command).
- Python issue 19887: Improve the Path.resolve() algorithm to support
certain symlink chains.
- Make pathlib usable under Python 2.7 with unicode pathnames (only pure
ASCII, though).
- Issue 21: fix TypeError under Python 2.7 when using new division.
- Add tox support for easier testing.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.