New submission from wh1te r4bb1t :
Here is a code highlighting a very strange behavior. This has been noticed in
python 3.7, 3.8 and 3.9.0a2
def function(input_list, a='x'):
[input_list[i].append(a) for i in range(len(input_list))]
return input_list
list1 = [[0], [0],
Change by wh1te r4bb1t :
--
versions: +Python 3.9 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue39403>
___
___
Python-bugs-list mailing list
Unsub
Change by wh1te r4bb1t :
--
versions: +Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue39403>
___
___
Python-bugs-list mailing list
Unsub