leonnnn/python3-simplepam — pull request #3 by minrk (2014-08-20 17:27:41+00:00)
Title: support unicode input on Python 2

py2 unicode == py3 str, and should be treated the same.

Before this patch, `authenticate(u'user', u'password')` would return False with a correct username and password.