13 Jun 2008 13 Jun '08
On Thu, Jun 12, 2008 at 2:42 PM, Phillip J. Eby firstname.lastname@example.org 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/)