[Python-Dev] ',' precedence in documentation (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 15 03:38:58 CEST 2008
- Previous message: [Python-Dev] ',' precedence in documentation
- Next message: [Python-Dev] ',' precedence in documentation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] ',' precedence in documentation
- Next message: [Python-Dev] ',' precedence in documentation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]