Senf

Latest version: v1.5.0

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

Scan your dependencies

Page 2 of 3

1.3.1

------------------

* Fixed missing normalization with :func:`path2fsn` on Linux + Python 3

1.3.0

------------------

* New :func:`supports_ansi_escape_codes`
* New :func:`fsn2norm` (+ all API now returns normalized fsnative)
* :func:`fsn2uri`: various fixes

1.2.2

------------------

* `uri2fsn`: improve error handling on unescaped URIs :bug:`4`

1.2.1

------------------

* ``isinstance(path, fsnative)`` now checks the value as well. If True
passing the instance to `path2fsn` will never fail.

1.2.0

------------------

* `fsnative`: safeguard against containing null bytes. All operations
converting to `fsnative` will now fail if the result would contain null
bytes. This means passing `fsnative` to functions like :func:`open` is now
always safe.

1.1.0

------------------

* :func:`print_`: Don't ignore ``flush`` in Windows redirect mode
* :obj:`argv`: Forwards changes to `sys.argv` :bug:`2`
* :obj:`environ`: Forwards changes to `os.environ` :bug:`2`
* :obj:`environ`: Handle case insensitive env vars on Windows
* :func:`fsn2text`: Add a ``strict`` mode
* :func:`fsn2uri`: Always return `text`
* :func:`fsn2bytes`: Merge surrogate pairs under Python 3 + Windows
* :func:`fsn2bytes`: Support ``utf-16-be`` under Python 2.7/3.3

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.