PEP 679: New assert statement syntax with parentheses

From prior discussion, PEP 679 -- Allow parentheses in assert statements, I’m inferring this is being reintroduced now because Python 3.9 is end of life next month?

I think it’s a bad idea because assert is not a function and trying to protect newbies from a mistake muddles that distinction.

3 Likes