[issue10284] NNTP should accept bytestrings for username and password

R. David Murray report at bugs.python.org
Wed Nov 3 20:32:24 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

What I meant by saying that the spec was broken is that the user is going to be typing the password at a keyboard.  The keyboard will generate scan codes.  Those scan codes will get interpreted through a system-specific chain of processes until some bytes or some unicode characters are generated.  What's to say that the password typed on the keyboard where the password is set up is going to be a binary match for the password entered on the keyboard used for authentication?

Which doesn't change the fact that if the spec calls for binary, nttplib should support binary.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10284>
_______________________________________


More information about the Python-bugs-list mailing list