On Mon, Apr 05, 2004 at 04:32:09PM -0500, Jason E. Sibre wrote: > Another idea for modifying the _q_exports handling... Trying to > have least performance impact, least code changes to code that's > already stable: The performance impact should be negligible. Instead of 'component in container._q_exports', we would have: for val in exports: if val == name: result = name break elif type(val) is types.TupleType: if val[0] == name: result = val[1] break else: result = None For a reasonably short exports list my workstation can do that about 300000 times a second. Thank you AMD. :-) Neil