>>>> 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4