Post

Another day, another blown mind courtesy of Python. I just realized in Memphis, None or {} was returning True. In Python, None or {} returns {}. I hadn't realized boolean operators in Python aren't required to return a bool, they just return whichever value short-circuits first. FUN!

0 reposts0 likes

No replies yet.