Skip to content

Commit 087c1a6

Browse files
authored
gh-104773: PEP 594: Remove the xdrlib module (#104900)
pickle documentation no longer mentions the XDR format.
1 parent 17e1fe0 commit 087c1a6

File tree

13 files changed

+8
-615
lines changed

13 files changed

+8
-615
lines changed

Doc/library/array.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,6 @@ Examples::
260260
Module :mod:`struct`
261261
Packing and unpacking of heterogeneous binary data.
262262

263-
Module :mod:`xdrlib`
264-
Packing and unpacking of External Data Representation (XDR) data as used in some
265-
remote procedure call systems.
266-
267263
`NumPy <https://numpy.org/>`_
268264
The NumPy package defines another array type.
269265

Doc/library/pickle.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Data stream format
125125

126126
The data format used by :mod:`pickle` is Python-specific. This has the
127127
advantage that there are no restrictions imposed by external standards such as
128-
JSON or XDR (which can't represent pointer sharing); however it means that
128+
JSON (which can't represent pointer sharing); however it means that
129129
non-Python programs may not be able to reconstruct pickled Python objects.
130130

131131
By default, the :mod:`pickle` data format uses a relatively compact binary

Doc/library/superseded.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ backwards compatibility. They have been superseded by other modules.
1818
msilib.rst
1919
optparse.rst
2020
uu.rst
21-
xdrlib.rst

Doc/library/xdrlib.rst

Lines changed: 0 additions & 283 deletions
This file was deleted.

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ Doc/library/webbrowser.rst
237237
Doc/library/winreg.rst
238238
Doc/library/winsound.rst
239239
Doc/library/wsgiref.rst
240-
Doc/library/xdrlib.rst
241240
Doc/library/xml.dom.minidom.rst
242241
Doc/library/xml.dom.pulldom.rst
243242
Doc/library/xml.dom.rst

Doc/whatsnew/3.11.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1735,7 +1735,7 @@ Modules
17351735
+---------------------+---------------------+---------------------+---------------------+---------------------+
17361736
| :mod:`audioop` | :mod:`crypt` | :mod:`!nis` | :mod:`!sndhdr` | :mod:`uu` |
17371737
+---------------------+---------------------+---------------------+---------------------+---------------------+
1738-
| :mod:`!cgi` | :mod:`imghdr` | :mod:`!nntplib` | :mod:`!spwd` | :mod:`xdrlib` |
1738+
| :mod:`!cgi` | :mod:`imghdr` | :mod:`!nntplib` | :mod:`!spwd` | :mod:`!xdrlib` |
17391739
+---------------------+---------------------+---------------------+---------------------+---------------------+
17401740
| :mod:`!cgitb` | :mod:`!mailcap` | :mod:`!ossaudiodev` | :mod:`!sunau` | |
17411741
+---------------------+---------------------+---------------------+---------------------+---------------------+

Doc/whatsnew/3.12.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ Modules (see :pep:`594`):
904904
* :mod:`!sunau`
905905
* :mod:`!telnetlib`
906906
* :mod:`uu`
907-
* :mod:`xdrlib`
907+
* :mod:`!xdrlib`
908908

909909
APIs:
910910

Doc/whatsnew/3.13.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ Removed
195195
* :pep:`594`: Remove the :mod:`!nis` module, deprecated in Python 3.11.
196196
(Contributed by Victor Stinner in :gh:`104773`.)
197197

198+
* :pep:`594`: Remove the :mod:`!xdrlib` module, deprecated in Python 3.11.
199+
(Contributed by Victor Stinner in :gh:`104773`.)
200+
198201

199202
Porting to Python 3.13
200203
======================

0 commit comments

Comments
 (0)