Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

> I notice that your logging test code doesn't override create_socket.  Is that 
> no longer needed?

I removed that code from test_logging, but the code in the BitBucket repo shows 
how I'd like smtpd to be changed.

I would of course prefer to avoid copying stuff from SMTPChannel, as the 
docstring for TestSMTPChannel indicates. If you could take a look at the 
suggested changes in

https://bitbucket.org/vinay.sajip/cpython-smtpd/compare/default..mirror/cpython

and let me have your comments, that'd be great. The code in that repo does 
redefine create_socket.

----------

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

Reply via email to