>>>>> "Raymond" == Raymond Hettinger <[EMAIL PROTECTED]> writes:
Steven> complex atomicity test). I also have the feeling that any Steven> complicated atomictiy test is more than a simple and-ing Steven> of several tests... Raymond> "Ville Vainio" >> I also have the feeling that if the atomicity criterion was any >> more complex in the API, the proposal would be shot down >> immediately on the grounds of not being fundamental enough as >> concept. Raymond> Would this meet your needs? Raymond> def flatten(iterable, atomic_iterable_types=(basestring,)): Yes, completely. -- Ville Vainio http://tinyurl.com/2prnb -- http://mail.python.org/mailman/listinfo/python-list