[Python-Dev] bug or a feature? (original) (raw)

Guido van Rossum guido at python.org
Fri Jun 13 00:07:37 CEST 2008


On Thu, Jun 12, 2008 at 2:42 PM, Phillip J. Eby <pje at telecommunity.com> wrote:

At 12:46 PM 6/12/2008 -0700, Guido van Rossum wrote:

The intention was for these dicts to be used as namespaces. By "these" do you mean type object dict attributes, or all dict attributes?

Hadn't thought of that one! Since dict is widely advertised as being, well, a dict, it may be harder to enforce this for dict instances of other objects. I'd like to tighten the rules here too, but only if it actually helps Python implementations other than CPython.

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



More information about the Python-Dev mailing list