[New-bugs-announce] [issue32657] Mutable Objects in SMTP send_message Signature

Kenny Trytek report at bugs.python.org
Wed Jan 24 17:44:57 EST 2018


New submission from Kenny Trytek <kenny.trytek at workiva.com>:

Mutable arguments in signature of send_message:
https://github.com/python/cpython/blob/master/Lib/smtplib.py#L892-L893

More Information:
http://docs.python-guide.org/en/latest/writing/gotchas/#mutable-default-arguments

----------
components: Library (Lib)
messages: 310641
nosy: Kenny Trytek
priority: normal
severity: normal
status: open
title: Mutable Objects in SMTP send_message Signature
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32657>
_______________________________________


More information about the New-bugs-announce mailing list