PyMySQL/PyMySQL — pull request #204 by bruth (2013-12-30 14:42:11+00:00)
Title: Ensure client password defaults to empty string

In case the a None value is passed during initialization, this ensures the password defaults to an empty string. This prevents receiving a "'NoneType' object has no attribute 'encode'" when preparing the connection.