4 ms·
"Python Scope is still broken[0] btw" Yes, it's working as designed, and I see how it can be considered broken, but it's not due to a scope issue. The "except
by dalke 11y ago
"Python Scope is still broken[0] btw"
Yes, it's working as designed, and I see how it can be considered broken, but it's not due to a scope issue. The "except X as x" is specified (with Python 3.x and PEP 3110 at https://www.python.org/dev/peps/pep-3110/ https://www.python.org/dev/peps/pep-3110/ ) as doing a "del x" at the end of the except clause, and that was done for garbage collection reasons.