3 ms·
I wasted recently plenty of time debugging that one - and I ended it by removing default arguments. And I was sure that it was cause by a bug in my code, thank
by matkoniecz 6y ago
I wasted recently plenty of time debugging that one - and I ended it by removing default arguments.
And I was sure that it was cause by a bug in my code, thanks for pointing this out - now I know what caused this
https://github.com/satwikkansal/wtfpython#-beware-of-default-mutable-arguments https://github.com/satwikkansal/wtfpython#-beware-of-default...