PyWart: Module access syntax

Rick Johnson rantingrickjohnson at
Tue Jan 15 08:07:13 CET 2013

On Monday, January 14, 2013 11:34:56 AM UTC-6, Steven D'Aprano wrote:

> Since both os and path are modules, you here say that they need a colon 
> between them. This contradicts the above when you say the syntax for 
> os.path won't change.

But you forgot the rule about accessing module members with the dot :)

> If even you don't understand your own proposal, how do you expect anyone 
> else to understand it?
> Perhaps you should start by explaining, unambiguously and IN FULL, under 
> what circumstances the programmer will need to use your : syntax.

I will admit i may have confused a few of you (and myself) since i overused the word "module" when i really meant "package".


More information about the Python-list mailing list