[issue33703] Object deletion and re-creation points to same attribute if attribute is a dictionary.

Benjamin Peterson report at bugs.python.org
Thu May 31 00:36:35 EDT 2018


Benjamin Peterson <benjamin at python.org> added the comment:

Please see https://docs.python.org/3/faq/programming.html#why-are-default-values-shared-between-objects

----------
nosy: +benjamin.peterson
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list