[issue1672568] silent error in email.message.Message.get_payload

Daniel Diniz report at bugs.python.org
Mon Apr 6 03:40:24 CEST 2009


Daniel Diniz <ajaksu at gmail.com> added the comment:

Hmm, ISTM that a change that breaks existing code that relies on
documented behavior has a negligible chance of being accepted.

However, I agree that the current behavior isn't developer-friendly. I
think adding an alternative behavior to get_payload (add a new
parameter?), allowing callers to log errors and/or displaying warnings
could have a better chance of being accepted, while still providing the
control you want.

Barry?

----------
keywords: +patch
type: behavior -> feature request
versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1672568>
_______________________________________


More information about the Python-bugs-list mailing list