Message307089
Your are reading the documentation wrong. For linesep, it says "The string to be used to terminate lines in serialized output." The key word there is "output". email operates in "universal newline mode" when parsing messages, turning all line endings into python's internal \n format. What the linesep policy controls is the *output* line separator.
Note that the python2 behavior for decode=True is arguably a bug, but not one we are going to fix for backward compatibility reasons. |
|
Date |
User |
Action |
Args |
2017-11-27 21:54:53 | r.david.murray | set | recipients:
+ r.david.murray, barry, msapiro, maxking |
2017-11-27 21:54:53 | r.david.murray | set | messageid: <1511819693.64.0.213398074469.issue32144@psf.upfronthosting.co.za> |
2017-11-27 21:54:53 | r.david.murray | link | issue32144 messages |
2017-11-27 21:54:53 | r.david.murray | create | |
|