GH-125866: Deprecate nturl2path module (#131432)

Deprecate the `nturl2path` module. Its functionality is merged into
`urllib.request`.

Add `tests.test_nturl2path` to exercise `nturl2path`, as it's no longer
covered by `test_urllib`.
This commit is contained in:
Barney Gale 2025-03-19 19:33:01 +00:00 committed by GitHub
parent 8a33034d82
commit 8abfaba5a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 179 additions and 34 deletions

View file

@ -0,0 +1,3 @@
Deprecate the :mod:`!nturl2path` module. Call
:func:`urllib.request.url2pathname` and :func:`~urllib.request.pathname2url`
instead.