d4f7fd Make the Python 3 API actually usable (#1693751)

Authored and Committed by Panu Matilainen 5 years ago
    Make the Python 3 API actually usable (#1693751)
    
    All string data from rpm is now returned as surrogate-escaped utf-8
    string objects. 99.999% of that data IS utf-8 encoded to begin with,
    returning bytes is plain broken.
    
    As a temporary crutch,  monkey-patch a .decode() method to returned strings
    to give users time to migrate from the long-standing broken behavior.
    
        
file modified
+14 -2