This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author maxking
Recipients barry, maxking, msapiro, r.david.murray
Date 2017-11-30.03:16:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512011775.41.0.213398074469.issue32144@psf.upfronthosting.co.za>
In-reply-to
Content
Well, I myself missed the "serialization" part, so it probably was my mistake. Maybe a :note: saying line endings are only added in serialized outputs like the one obtained from `as_string()` or `as_bytes()` but not for other methods that return the body like `get_content()` or `get_payload()` might be helpful.

I stumbled upon it while porting some code from Python 2 to Python 3 and decided to use the new API. But, given the behavior of Python 2's get_content(decode=True), I would say it might just be clearer if docs mentioned this change in behavior (even though the new one is the "correct" one).

I can send in a pull request with modifications if you'd like.
History
Date User Action Args
2017-11-30 03:16:15maxkingsetrecipients: + maxking, barry, msapiro, r.david.murray
2017-11-30 03:16:15maxkingsetmessageid: <1512011775.41.0.213398074469.issue32144@psf.upfronthosting.co.za>
2017-11-30 03:16:15maxkinglinkissue32144 messages
2017-11-30 03:16:14maxkingcreate