Message 56326 - Python tracker
The patch removes the basestring type from Python 3.0. PyString and PyUnicode are subclasses of PyBaseObject_Type. Each occurrence of basestring was replaces with str, mostly isinstance(egg, basestring) with a few exceptions. PyObject_TypeCheck(args, &PyBaseString_Type) is replaced with a check for PyUnicode and PyString.