Skip to content

Commit bbc22c4

Browse files
committed
pythongh-92613: Add deprecation note for uuencode payloads to email.message
1 parent de59610 commit bbc22c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/email.compat32-message.rst

+4
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ Here are the methods of the :class:`Message` class:
227227
replaced by :meth:`~email.message.EmailMessage.get_content` and
228228
:meth:`~email.message.EmailMessage.iter_parts`.
229229

230+
.. deprecated-removed:: 3.11 3.13
231+
Decoding legacy uuencode payloads (with ``decode=True``) is deprecated
232+
(see :pep:`PEP 594 <594#uu-and-the-uu-encoding>` for details).
233+
230234

231235
.. method:: set_payload(payload, charset=None)
232236

0 commit comments

Comments
 (0)