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 steven.daprano
Recipients eric.smith, rosadenderon, steven.daprano
Date 2020-11-16.21:22:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605561754.97.0.0191597594792.issue42379@roundup.psfhosted.org>
In-reply-to
Content
Hi Rose, this is a FAQ:

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

although it's also a feature that does cause beginners some trouble, see for example my comment here for more information:

https://bugs.python.org/msg361451
History
Date User Action Args
2020-11-16 21:22:35steven.dapranosetrecipients: + steven.daprano, eric.smith, rosadenderon
2020-11-16 21:22:34steven.dapranosetmessageid: <1605561754.97.0.0191597594792.issue42379@roundup.psfhosted.org>
2020-11-16 21:22:34steven.dapranolinkissue42379 messages
2020-11-16 21:22:34steven.dapranocreate