how do you get the name of a dictionary?

Simon Brunning simon at brunningonline.net
Wed Aug 23 12:37:26 EDT 2006


On 23 Aug 2006 09:29:40 -0700, jojoba <jojoba12 at hotmail.com> wrote:
> And what im saying is that isnt it silly that we need pass an entire
> namespace, when a much simpler notion would be to have each object know
> its own name(s) (even if that name doesnt exist).
> Now, here's where everyone tells me this isnt possible, and how my
> statement implies that i have no idea whatsoever of how python
> works....

It's not inconcevable that Python could behave that way, it's just
that it would impose an overhead on the 99.999% of Python users who
would have no use for the feature. It's a price not worth paying.

-- 
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/



More information about the Python-list mailing list