This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: fix or remove smtpd.PureProxy
Type: crash Stage: resolved
Components: email Versions: Python 3.8, Python 3.7, Python 3.6, Python 3.5
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: barry, hitbox, iritkatriel, r.david.murray, samuelcolvin
Priority: normal Keywords:

Created on 2019-01-21 17:25 by samuelcolvin, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg334156 - (view) Author: Samuel Colvin (samuelcolvin) * Date: 2019-01-21 17:25
smtpd.PureProxy.process_message is defined to not receive the extra kwargs which it is called with.

It also expects "data" to be str when it's actually bytes.

PureProxy should either be removed for fixed. 

Personally, I think it should be fixed as the fix is pretty simple and PureProxy can be very useful.

Created from https://bugs.python.org/issue35788

Happy to create a PR if this is agreed.
msg334532 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2019-01-29 16:59
I'm neutral on fixing versus removing philosophically. Since fixing is actually the least effort in this case, I think practically I favor fixing.
msg404163 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-10-18 08:47
The whole smtpd is now deprecated for removal in 3.12.
History
Date User Action Args
2022-04-11 14:59:10adminsetgithub: 79980
2021-10-18 08:47:20iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg404163

resolution: out of date
stage: resolved
2020-02-05 11:09:20hitboxsetnosy: + hitbox
2019-01-29 16:59:55r.david.murraysetmessages: + msg334532
2019-01-29 16:58:28r.david.murraylinkissue35837 superseder
2019-01-21 17:25:15samuelcolvincreate