Use six's xrange for Python3 compatibility

Signed-off-by: Dan Scott <dan@coffeecode.net>
Use six's iteritems for Python3 compatibility

Signed-off-by: Dan Scott <dan@coffeecode.net>
Use six's unichr for Python3 compatibility

Signed-off-by: Dan Scott <dan@coffeecode.net>
Python3 compatibility for sparqlstore

Expand tuples outside of method signatures, and use six.moves.http_client for
compatibility with Python3.

Signed-off-by: Dan Scott <dan@coffeecode.net>
test_dawg Python3 compatibility

Basics: use print method, assign exceptions to an object using
the "as" keyword

Signed-off-by: Dan Scott <dan@coffeecode.net>
Use six's u method to support Python3 unicode() compatibility

Signed-off-by: Dan Scott <dan@coffeecode.net>
Exception handling with as clause

Signed-off-by: Dan Scott <dan@coffeecode.net>
Use six's StringIO for Python3 compatibility

Signed-off-by: Dan Scott <dan@coffeecode.net>
Add relative import support for Python3

Mixed in in some cases with iteritems / StringIO / BytesIO imports from six.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Use six.moves.html_entities for Python3 name2codepoint support

Signed-off-by: Dan Scott <dan@coffeecode.net>
Use six.moves for BaseHTTPServer, thread Python3 support

Signed-off-by: Dan Scott <dan@coffeecode.net>
Use six.moves for ConfigParser support

Signed-off-by: Dan Scott <dan@coffeecode.net>
Use six.integer_types for Python3 long support

Signed-off-by: Dan Scott <dan@coffeecode.net>
Use six for range, iteritems Python3 compatibility

Also convert some map objects to lists to preserve previous semantics.
There are probably more efficient ways to achieve this.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Fix relative imports for Python3 compatibility

Signed-off-by: Dan Scott <dan@coffeecode.net>
Use six's unichr() for Python3 compatibility

Signed-off-by: Dan Scott <dan@coffeecode.net>