summaryrefslogtreecommitdiffstats
path: root/Doc/includes/email-mime.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-91520: Rewrite imghdr inlining for clarity and completeness (#91521)Barry Warsaw2022-04-151-5/+5
| | | | | | | | | | | | | | | | | | | | * 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>
* gh-91217: deprecate imghdr (#91461)Brett Cannon2022-04-131-4/+1
| | | | | | | | | | | | | | * Deprecate imghdr Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Update Doc/whatsnew/3.11.rst Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Inline `imghdr` into `email.mime.image` Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Barry Warsaw <barry@python.org>
* bpo-36261: Improve example of the preamble field in email docs (GH-14751)Carl Bordum Hansen2019-07-141-1/+1
|
* #24277: The new email API is no longer provisional.R David Murray2016-09-081-15/+14
| | | | | | | This is a wholesale reorganization and editing of the email documentation to make the new API the standard one, and the old API the 'legacy' one. The default is still the compat32 policy, for backward compatibility. We will change that eventually.
* Issue #23511: Port email-simple.py to Python 3.Berker Peksag2015-02-251-3/+2
| | | | | | Also, update email examples to use the context manager version of open(). Patch by Baptiste Mispelon.
* Merge #11883: fix email examples by adding 'localhost' to SMTP constructor callsR David Murray2011-04-301-1/+1
|\
| * #11883: fix email examples by adding 'localhost' to SMTP constructor callsR David Murray2011-04-301-1/+1
| |
* | Fix email doc update I overlooked (thanks, Éric)R. David Murray2010-11-201-1/+1
| |
* | #10321: Add support for sending binary DATA and Message objects to smtplibR. David Murray2010-11-081-1/+1
|/
* Merged revisions 71874,71882,71890 via svnmerge fromJeroen Ruigrok van der Werven2009-04-261-2/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71874 | jeroen.ruigrok | 2009-04-25 13:59:09 +0200 (za, 25 apr 2009) | 2 lines First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT. ........ r71882 | jeroen.ruigrok | 2009-04-25 14:49:10 +0200 (za, 25 apr 2009) | 3 lines Issue #4239: adjust email examples not to use connect() and terminate with quit() and not close(). ........ r71890 | jeroen.ruigrok | 2009-04-25 15:07:40 +0200 (za, 25 apr 2009) | 3 lines Rewrite a sentence to be more in line with the rest of the documentation with regard to person and audience. ........
* Move the 3k reST doc tree in place.Georg Brandl2007-08-151-0/+32