PyWart: Module access syntax
Ian Kelly
ian.g.kelly at gmail.com
Mon Jan 14 14:04:37 EST 2013
On Mon, Jan 14, 2013 at 11:51 AM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
>> Because modules and objects are not the same and someone who is reading the source code NEEDS to know which "path members" are /modules/ and which "path members" are /objects/. And he needs to know that very important information WITHOUT opening source files to find out.
What's more, if the purpose of the syntax is to distinguish modules
from non-modules, then the syntax "os.path" (which you have stated
would not change) would be misleading, because the "path" part is in
fact a module. Your proposed syntax fails to even achieve its stated
goal.
More information about the Python-list
mailing list