[New-bugs-announce] [issue35799] fix or remove smtpd.PureProxy

Samuel Colvin report at bugs.python.org
Mon Jan 21 12:25:15 EST 2019

New submission from Samuel Colvin <samcolvin at gmail.com>:

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.

components: email
messages: 334156
nosy: barry, r.david.murray, samuelcolvin
priority: normal
severity: normal
status: open
title: fix or remove smtpd.PureProxy
type: crash
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list