mirror of https://github.com/python/cpython
1fcb39ea64
* Rewrite imghdr inlining for clarity and completeness * Move MIMEImage class back closer to the top of the file since it's the important thing. * Use a decorate to mark a given rule function and simplify the rule function names for clarity. * Copy over all the imghdr test data files into the email package's test data directory. This way when imghdr is actually removed, it won't affect the MIMEImage guessing tests. * Rewrite and extend the MIMEImage tests to test for all supported auto-detected MIME image subtypes. * Remove the now redundant PyBanner048.gif data file. * See https://github.com/python/cpython/pull/91461#discussion_r850313336 Co-authored-by: Oleg Iarygin <dralife@yandex.ru> Co-authored-by: Oleg Iarygin <dralife@yandex.ru> |
||
---|---|---|
.. | ||
sqlite3 | ||
custom.c | ||
custom2.c | ||
custom3.c | ||
custom4.c | ||
dbpickle.py | ||
email-alternative.py | ||
email-dir.py | ||
email-headers.py | ||
email-mime.py | ||
email-read-alternative.py | ||
email-simple.py | ||
email-unpack.py | ||
minidom-example.py | ||
mp_newtype.py | ||
mp_pool.py | ||
mp_workers.py | ||
run-func.c | ||
setup.py | ||
sublist.c | ||
test.py | ||
turtle-star.py | ||
typestruct.h | ||
tzinfo_examples.py |