Eric V. Smith <e...@trueblade.com> added the comment:

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 = []

----------
components: +Interpreter Core -ctypes
nosy: +eric.smith
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42379>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to