[Python-Dev] Re: Relative import (original) (raw)

Guido van Rossum guido at python.org
Mon Dec 22 15:15:44 EST 2003


The biggest "clarity" issue I have with the dot notation is that there's no obvious keyword to look up when you want to find out what's going on. The best you could do is look up the "import" section of the manual. Heaven help you if you want to use Google. (Has anyone tried to get any meaningful information from Google on Microsoft's two technologies, COM and .NET? You'd almost think they'd done it deliberately...

Seriously, the "what do I search for?" factor bugs me every time I hit it.

There's no deep reason why the language reference couldn't contain non-alphanumeric characters, although this won't help for Google. But in this case, "from" would be the thing to look up, so I'm not sure I see it as such a serious problem.

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list