Re: on "Namespaces"

2009-11-10 Thread Ben Finney
Steven D'Aprano writes: > Modules are namespaces. So are packages. > > Classes and class instances are namespaces. > > Even function scopes are namespaces. Steven implies it with his wording, but to make it explicit: When you have a module, package, class, or instance-of-a-class object, those o

Re: on "Namespaces"

2009-11-09 Thread Steven D'Aprano
On Sun, 08 Nov 2009 13:20:23 -0800, webtourist wrote: > New bie Question: > in "Zen of Python" - what exactly does the last one mean ? - Namespaces > are one honking great idea -- let's do more of those! > > I mean why the emphasis ? Is it like saying "put modules into packages" > in other progra

Re: on "Namespaces"

2009-11-09 Thread Rhodri James
On Sun, 08 Nov 2009 21:20:23 -, webtourist wrote: New bie Question: in "Zen of Python" - what exactly does the last one mean ? - Namespaces are one honking great idea -- let's do more of those! I mean why the emphasis ? Is it like saying "put modules into packages" in other programming

on "Namespaces"

2009-11-08 Thread webtourist
New bie Question: in "Zen of Python" - what exactly does the last one mean ? - Namespaces are one honking great idea -- let's do more of those! I mean why the emphasis ? Is it like saying "put modules into packages" in other programming paradigm s ? thanks -- http://mail.python.org/mailman/list