Python 3.6 email library

(Quality behind the chiller)

Since 3.6, the implementation of the email package has been significantly expanded and the associated documentation has changed significantly. It ’s not a secret, it ’s written clearly.

The email package itself has been relatively nice (I think) for some time, but the documentation was still old up to 3.5. For example, regarding RFC, I was pointing to an obsolete person (for example, RFC 2822 instead of RFC 5322) (conversely, other than that, there shouldn't be much difference, but at the beginning of the document, I'm curious. RFC 5322 is from 2008). The 3.6 documentation is generally up-to-date.

3.6 is still in a new category and is not available as standard on major Linux distros. It's almost like Python 2 or 3.4, 3.5. A quick check revealed that CentOS 7 (but epel) was 3.4 and Ubuntu 16.04 was 3.5. I don't know SUSE (Asobi Taiyo). Of course, if you rely on pyenv or Anaconda, you can use 3.6 series (as of May 2017)

When developing in the old Python3 environment, it is better to specify the version and read the 3.6 document without reading it. Of course, that's generally the case, but when it comes to minor updates, the Python documentation tends to kindly write diffs as "added from version xx", so I tend to cut corners.

However, the email package is almost "rewritten", so you need to "care" more. If you look directly at a document such as EmailMessage (For example), it looks like "No". (There is "New in 3.6" at the beginning of the page, but if you try to look at the documentation about the class directly, you may miss it).

The one called Legacy API is 3.5 or earlier. If you're using 3.5 or earlier, it's only natural to rely on older manuals.

Recommended Posts

Python 3.6 email library
Python ast library
[Python] Send email
[Python] Send email
Python Library notes
python algorithmic trading library
Install python external library
Python optimization library Pulp
Validate E-Mail with Python
Send email with Python
Aim python library master (48) autopep8
Aim python library master (36) json2html
Aim python library master (49) psidialogs
Aim python library master (26) easyxml
Aim python library master (29) table_printer
Python evolutionary computation library Deap
Aim python library master (55) namespaces
Aim python library master (46) browserplus
Send Japanese email with Python3
Python Evolutionary Computation Library Deap (3)
Aim python library master (30) chronyk
Aim python library master (3) workalendar
Aim python library master (42) speedrecorder
Aim python library master (37) slimurl
Recommendation of binpacking library of python
Aim python library master (44) pynetviz
Python
Aim python library master (8) rolex
Aim python library master (52) marktime
Aim python library master (7) numparser
Aim python library master (21) hy
Aim python library master (18) requests
Windows10: Install python dlib library
Aim python library master (13) easydev
Aim python library master (20) pyyaml
Aim python library master (34) concurrent
Aim python library master (40) wordsegmentation
Aim python library master (43) cpmoptimize
Aim python library master (68) pazudorasolver
Aim python library master (58) faker
Aim python library master (11) nlist
Aim python library master (38) beautiful_print
Aim python library master (65) geopy
Aim python library master (2) vincenty
Aim python library master (59) logbook
Aim python library master (51) pyautogui
Aim python library master (10) timeit
[Python] Frequently used library code
Aim python library master (0) Links
Aim python library master (66) youtube-dl
Overriding library functions in Python
Aim python library master (53) psutil
Aim python library master (22) htmltag
Send email in Python (Outlook)
Aim python library master (67) httpie
Aim python library master (45) xlsxwriter
Aim python library master (9) WebHelpers
Aim python library master (32) sql
Aim python library master (60) colourettu
Aim python library master (64) pretty_cron
Aim python library master (56) colorthief