On Tue, Apr 06, 2004 at 07:18:39PM -0500, Martin Maney wrote: > But I think this is much saner than piling magic special cases on > _q_exports. Should be easy to add _q_map (if it exists) prior to > trying the old _q_exports to allow for an easy transition, then a quiet > obsolescence (assuming there's agreement that the _q_map equivalent of > _q_exports is simple enough to allow that). 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. One worry: mutating _q_map could lead to confusion. Python doesn't have an immutable dictionary type (unless Raymond Hettinger went and added one). --amk