mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
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:
parent
8a33034d82
commit
8abfaba5a6
6 changed files with 179 additions and 34 deletions
|
|
@ -1148,6 +1148,11 @@ Deprecated
|
|||
or *sequence* as keyword arguments is now deprecated.
|
||||
(Contributed by Kirill Podoprigora in :gh:`121676`.)
|
||||
|
||||
* :mod:`!nturl2path`: This module is now deprecated. Call
|
||||
:func:`urllib.request.url2pathname` and :func:`~urllib.request.pathname2url`
|
||||
instead.
|
||||
(Contributed by Barney Gale in :gh:`125866`.)
|
||||
|
||||
* :mod:`os`:
|
||||
:term:`Soft deprecate <soft deprecated>` :func:`os.popen` and
|
||||
:func:`os.spawn* <os.spawnl>` functions. They should no longer be used to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue