On Wed, Apr 07, 2004 at 12:26:18PM -0400, Neil Schemenauer wrote: > On Tue, Apr 06, 2004 at 09:58:40PM -0400, A.M. Kuchling wrote: > > Possible solution: _q_map is automatically created the first time you > > traverse through an object. If the object already has a _q_map, the > > contents of _q_exports are merged into _q_map. So you could include one, > > the other, or both as you see fit. > > Ugh. That's supposed to be cleaner? I must agree. I had been thinking that _q_map would be checked (if it exists) separately. I guess I may have been assuming that _q_map could easily subsume the function of _q_exports if that seemed desirable, but not by something as creatively peculiar as AMK's invention. OTOH, since I've been deep in a discussion about adding this in one form or another, I'd like to make it clear that my own first choice would be something like Graham's recent sketch with an explicit dictionary accessed through _q_lookup (apparently _q_resolve would be more complicated than has been suggested). martin, trying to pull his other leg out of the counterfactualsand and finding it hard going