Re: The code that could not be...

2006-06-22 Thread Alex A. Naanou
Steven Bethard wrote: > Alex A. Naanou wrote: > > The object's __dict__ can only be a dict derivative and at that none of > > the Python's mapping API will be used (the dict is accessed directly). > [snip] > > I wrote a patch some time back, it appears rather

Re: The code that could not be...

2006-06-22 Thread Alex A. Naanou
Fredrik Lundh wrote: > Alex A. Naanou wrote: > > > To mention several tasks that can be made trivial using this technique > > are, for instance zope-like acquisitions, various ACLs, interfaces and > > other namespace manipulation patterns. > > eh ? why not use P

The code that could not be...

2006-06-21 Thread Alex A. Naanou
Though Python is the language I use the most, there are several things that I still hate, mostly about the implementation (CPython)... The good thing is that some of these warts are now resolved, like the exec dict issue. Here is another one: The object's __dict__ can only be a dict derivative an