summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-11-04 00:54:05 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-11-04 00:54:05 (GMT)
commitbd90d09dd0203c7a277d4c973c136063e90f04f0 (patch)
tree9c6f57e16496b8b8df5c952058e0798da6460f2f /Misc
parented4500fb66fd17ba3f28434772a3e8fc1f021866 (diff)
downloadcpython-bd90d09dd0203c7a277d4c973c136063e90f04f0.zip
cpython-bd90d09dd0203c7a277d4c973c136063e90f04f0.tar.gz
cpython-bd90d09dd0203c7a277d4c973c136063e90f04f0.tar.bz2
#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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8d32371..13f6b70 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -31,6 +31,10 @@ Core and Builtins
Library
-------
+- Issue #18678: Corrected spwd struct member names in spwd module:
+ sp_nam->sp_namp, and sp_pwd->sp_pwdp. The old names are kept as extra
+ structseq members, for backward compatibility.
+
- Issue #6157: Fixed tkinter.Text.debug(). tkinter.Text.bbox() now raises
TypeError instead of TclError on wrong number of arguments. Original patch
by Guilherme Polo.