fix potential errors on Python 3
Merge branch 'azure' into azure-1.1

Conflicts:
	sql_server/pyodbc/base.py