Author uis
Recipients ezio.melotti, python-dev, uis, vstinner, wosc
Date 2012-05-22.14:26:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The change set committed for 2.7 introduces another problem. At the beginning of, there is an explicit test for the availability of unicode:

except NameError:
    unicode = None # unicode support not available

In case unicode was set to None, a TypeError:
isinstance() arg 2 must be a class, type, or tuple of classes and types

will be raised by the code introduced to ServerProxy:

if isinstance(uri, unicode):
    uri = uri.encode('ISO-8859-1')
Date User Action Args
2012-05-22 14:26:02uissetrecipients: + uis, vstinner, ezio.melotti, wosc, python-dev
2012-05-22 14:26:01uissetmessageid: <>
2012-05-22 14:26:01uislinkissue12931 messages
2012-05-22 14:26:01uiscreate