It's not a bug, it's an empty unpacking. Just as you can write [A,B] = [1,2] # Sets A to 1, B to 2 Best wishes Rob Cliffe On 23/09/2023 04:41, Greg Ewing via Python-list wrote: > On 23/09/23 4:51 am, Stefan Ram wrote: >> []=[] >> >> (Executes with no error.) > > ##### > []=[] > ( 1 ) > #\_/# > > (Executes with no error.) >