Steven D'Aprano <[email protected]> added the comment:
Oh, I forgot to mention that this is discussed in one of the FAQs: https://docs.python.org/3/faq/programming.html#why-are-default-values-shared-between-objects ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue38451> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
