Vajrasky Kok added the comment: Yes, this issue bothers me. Currently _sha1.sha1 constructor will use NULL (not None) value if used without parameters: _sha1.sha1()
_sha1.sha1(None) will throw error while _sha1.sha1() won't. So for NULL (not None) default value, the generated signature _sha1.sha1(string=None) is kinda misleading. I am not sure what is the correct signature should be without changing behaviour. ---------- nosy: +vajrasky _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20232> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com