Optimize Python with Closures – Tech at Magnetic