diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-29 20:43:24 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-29 20:43:24 (GMT) |
commit | 8c740c4d1980d811ff5614fa3b538fce499a725b (patch) | |
tree | 9d64c77c7e0ff6e2125b6e6841be2f8fc902e2c2 /Doc/whatsnew/3.6.rst | |
parent | ea083fafd55ecfe718df72ac42c5063910e089c6 (diff) | |
download | cpython-8c740c4d1980d811ff5614fa3b538fce499a725b.zip cpython-8c740c4d1980d811ff5614fa3b538fce499a725b.tar.gz cpython-8c740c4d1980d811ff5614fa3b538fce499a725b.tar.bz2 |
Improved docs for issue27033. Based on comments by R. David Murray.
Diffstat (limited to 'Doc/whatsnew/3.6.rst')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 3b1aee4..adbde91 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -640,6 +640,14 @@ Changes in the Python API an error (e.g. EBADF) was reported by the underlying system call. See :issue:`26685`. +* The *decode_data* argument for :class:`smtpd.SMTPChannel` and + :class:`smtpd.SMTPServer` constructors is now ``False`` by default. + This means that the argument passed to + :meth:`~smtpd.SMTPServer.process_message` is now a bytes object by + default, and ``process_message()`` will be passed keyword arguments. + Code that has already been updated in accordance with the deprecation + warning generated by 3.5 will not be affected. + Changes in the C API -------------------- |