It&#x27;s a lot easier to work with in 3.0, though.<p>For example, xmlrpclib in 2.x will return either <i>str</i> or <i>unicode</i> depending on whether the particular piece of data it&#x27;s returning happens to contain non-ASCII characters. In 3.x it always returns a unicode string.