--- Lib/distutils/command/register.py.old 2006-08-23 16:41:17.000000000 +0200 +++ Lib/distutils/command/register.py 2006-08-23 16:41:33.000000000 +0200 @@ -245,7 +245,7 @@ body = StringIO.StringIO() for key, value in data.items(): # handle multiple entries for the same name - if type(value) != type([]): + if not isinstance(value, (list, tuple)): value = [value] for value in value: value = unicode(value).encode("utf-8")