Python 3.11: “Zero cost” exception handling
They weren't zero cost before? In a language where idiomatic control flow uses exceptions? That's crazy!I've felt weird using exceptions like that but I always assumed that CPython was optimized to minimize overhead of exceptions and exception handlers.