Lucas Lemmens wrote: > Why isn't the result of the first function-lookup cached so that following > function calls don't need to do the function-lookup at all? > > And if the context changes (an import-statement say) reset the > cached 'function-lookups'.
import isn't the only way for the "context" to change. how many other ways can you think of ? > This way any function would only need to be looked up once. you haven't really thought this over, have you? </F> -- http://mail.python.org/mailman/listinfo/python-list