[Python-Dev] ',' precedence in documentation

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 15 03:38:58 CEST 2008


Martin v. Löwis wrote:

> Even if it isn't a keyword, the compiler could still special-case it,
> and add a run-time check to determine whether assert is still bound to
> the built-in assert.

Then we would have something that looks exactly like
an ordinary function call but actually isn't. I'm
not sure that's a good idea.

Also there are issues such as what happens if you
shadow it.

-- 
Greg


More information about the Python-Dev mailing list