Does python throw away unused expressions? In pyhon3.10, I can run this code snippet without raising any errors: