RDFLib/rdflib-sparql — pull request #5 by gjhiggins (2012-12-28 04:08:44+00:00)
Title: py3compat work

I'm hesitant to just commit this because the uninvited PEP8 formatting is a bit presumptuous. However, I've found that even automatically-applied PEP-8 formatting has contributed to improving the quality of the rdflib codebase and this code is slated to be integrated into core rdflib.

I've adjusted the code for Python 3 compatibility. Tests reveal a few additional issues with py3

Cheers.