Programming Languages
Bug Report
Python mutable default argument leaked checkout warnings between customers
Customers started seeing checkout warnings that belonged to other people's orders. The cause was a list used as a default argument, created once per worker process and appended to on every request. Here is how we traced it and made it impossible to reintroduce.