New submission from Erik Quaeghebeur <pyt...@equaeghe.nospammail.net>:

>From Python 3.6 onwards, get/set_payload methods are deprecated on the basic 
>email message class, email.message.EmailMessage (changed from 
>email.message.Message). The get/set_content methods are suggested instead. 
>However, with get/set_payload one can ‘transplant’ whole MIME subtrees, while 
>get/set_content cannot deal with multipart parts.

I would like to suggest to not remove get/set_payload until its functionality 
is present in other methods. Perhaps they should even be un-deprecated.

----------
components: email
messages: 375696
nosy: barry, equaeghe, r.david.murray
priority: normal
severity: normal
status: open
title: get/set_payload deprecated, but get_set_content do not provide full 
replacement functionality
type: behavior
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41599>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to