[Python-ideas] Crazy idea: allow keywords as names in certain positions

Greg Ewing greg.ewing at canterbury.ac.nz
Sun May 13 21:00:55 EDT 2018

Guido van Rossum wrote:
> Of course this would still not help for names of functions that might be 
> imported directly (do people write 'from numpy import where'?).

Maybe things could be rigged so that if you use a reserved word
as a name in an import statement, it's treated as a name everywhere
else in that module. Then "from numpy import where" would Just Work.


More information about the Python-ideas mailing list