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 eric.smith
Recipients eric.smith, rosadenderon
Date 2020-11-16.20:55:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605560151.51.0.0717355889739.issue42379@roundup.psfhosted.org>
In-reply-to
Content
This is defined behavior in the language, so it's not a bug. The "pythonic" way to deal with this is usually:

def funct(self, array = None):
    if array is None:
         array = []
History
Date User Action Args
2020-11-16 20:55:51eric.smithsetrecipients: + eric.smith, rosadenderon
2020-11-16 20:55:51eric.smithsetmessageid: <1605560151.51.0.0717355889739.issue42379@roundup.psfhosted.org>
2020-11-16 20:55:51eric.smithlinkissue42379 messages
2020-11-16 20:55:51eric.smithcreate