New submission from Leslie P. Polzer:

process_message needs to have access to the channel state since it needs to 
make decisions based on the authentication or transport associated with the 
channel. It should be either the first or the last arg.

I can provide a patch for this. Should backwards compatibility be achieved by 
using the inspect module to check the signature of process_message and call it 
accordingly?

----------
components: Library (Lib), email
messages: 203609
nosy: barry, lpolzer, r.david.murray
priority: normal
severity: normal
status: open
title: smtpd.py: channel should be passed to process_message
type: enhancement
versions: Python 3.4

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

Reply via email to