Tarek Ziadé <ziade.ta...@gmail.com> added the comment: I've simplified the code accordinglyhttp://bugs.python.org/issue49...@ok_message=issue%204972%20files%20edited%20ok&@template=item
about the name of the vars. while I agree with you, I have use those names (errcode, errmsg) because they are used in getreply() so I thought it was more homogeneous. about the return code , i am wondering if it would be good to add in ftplib all the constantes (http://www.ftpplanet.com/ftpresources/ftp_codes.htm) so things are clearer Added file: http://bugs.python.org/file12823/smtplib.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4972> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com