Staging
v0.8.1
Revision c6e32824cf038386174fe2b9e7273e4779c9958c authored by Abhilash Raj on 25 June 2019, 18:38:48 UTC, committed by Miss Islington (bot) on 25 June 2019, 18:38:48 UTC


When certain malformed messages have content-type set to 'mulitpart/*' but
still have a single part body, iter_attachments can raise AttributeError. This
patch fixes it by returning a None value instead when the body is single part.
(cherry picked from commit 02257012f6d3821d816cb6a7e8461a88a05b9a08)

Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>



https://bugs.python.org/issue33972
1 parent 12d174b
History
File Mode Size
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 7.7 KB
README.rst -rw-r--r-- 4.6 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.7 KB
conf.py -rw-r--r-- 6.7 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 52.1 KB
license.rst -rw-r--r-- 45.2 KB
make.bat -rw-r--r-- 5.5 KB

README.rst

back to top