]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
#18678: Correct names of spwd struct members.
authorR David Murray <rdmurray@bitdance.com>
Mon, 4 Nov 2013 00:54:05 +0000 (19:54 -0500)
committerR David Murray <rdmurray@bitdance.com>
Mon, 4 Nov 2013 00:54:05 +0000 (19:54 -0500)
commitbd90d09dd0203c7a277d4c973c136063e90f04f0
tree9c6f57e16496b8b8df5c952058e0798da6460f2f
parented4500fb66fd17ba3f28434772a3e8fc1f021866
#18678: Correct names of spwd struct members.

The old names (sp_nam and sp_pwd) are kept for backward compatibility.  Since
this is a long standing bug that hasn't caused any real-world problems, I'm
not backporting it.  However, it is worth fixing because the corrected names
match the documentation, and more importantly now match the C struct, just
like the other struct members.

Patch by Vajrasky Kok.
Doc/library/spwd.rst
Misc/NEWS
Modules/spwdmodule.c