While you're at it, it would be nice to fix this ugly asymmetry I found in
descriptors. It seems that descriptor's __get__ is called even when
accessed from a class rather than instance, but __set__ is only invoked from
instances, never from classes:
class Descr(object):
def __get__(self, ob
Hi Eyal,
On Sun, Jun 10, 2007 at 04:13:38AM +0300, Eyal Lotem wrote:
> I must be missing something, as I really see no reason to keep the
> existing semantics other than backwards compatibility (which can be
> achieved by introducing a __fastattr__ or such).
>
> Can you explain under which situat
It was very succesful, around +300 people assisted, and there were a lot of
interesting talks (two introductory talks, Turbogears, PyWeek, Zope 3,
security, creating 3D games, Plone, automatic security testings, concurrency,
and programming the OLPC).
I want to thanks the PSF for the received s
Eyal Lotem wrote:
> My question is specifically regarding the transition back from
> lookdict_string (the initial value) to the general lookdict.
>
> Currently, when a string-only dict is trying to look up any
> non-string, it reverts back to a general lookdict.
>
> Wouldn't it be better (especia