Re: [Python-Dev] bug or a feature?

12 Jun
2008
12 Jun
'08
9:42 p.m.
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?

12 Jun
12 Jun
10:07 p.m.
New subject: bug or a feature?
On Thu, Jun 12, 2008 at 2:42 PM, Phillip J. Eby pje@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/)
5657
Age (days ago)
5657
Last active (days ago)
1 comments
2 participants
participants (2)
-
Guido van Rossum
-
Phillip J. Eby