>>>> 4. Am I missing a more correct/obvious technique? (There is no need to >>>> support classic classes.) >>> >>> Hum, I can't think of one, I'm afraid. >>> >>> There has been some vague talk of having a tp_lookup slot in >>> typeobjects, so >>> >>> PyDict_GetItem(t->tp_dict, x); >>> >>> would become >>> >>> t->tp_lookup(x); >>> >>> (well, ish, it might make more sense to only do that if the dict >>> lookup fails). >> >> That would be perfect. I can't Google any reference to a discussion - >> can >> you point me at something? > > Well, most of the discussion so far has been in my head :) > > There was a little talk of it in the thread "can we stop pretending > _PyType_Lookup is internal" here and possibly on pyobjc-dev around the > same time. > > I'm not that likely to work on it soon -- I have enough moderately > complex patches to core Python I'm persuading people to think about > :-/.
Anything I can do to help push it along? Phil _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com