Commit 16b9fa8d authored by Guido van Rossum's avatar Guido van Rossum

- The pwd module incorrectly advertised its struct type as

  struct_pwent; this has been renamed to struct_passwd.  (The old name
  is still supported for backwards compatibility.)
parent 50a25709
......@@ -47,6 +47,10 @@ Core and builtins
Extension modules
-----------------
- The pwd module incorrectly advertised its struct type as
struct_pwent; this has been renamed to struct_passwd. (The old name
is still supported for backwards compatibility.)
- The xml.parsers.expat module now provides Expat 1.95.7.
- socket.IPPROTO_IPV6 was added.
......
......@@ -184,5 +184,7 @@ initpwd(void)
PyStructSequence_InitType(&StructPwdType, &struct_pwd_type_desc);
Py_INCREF((PyObject *) &StructPwdType);
PyModule_AddObject(m, "struct_passwd", (PyObject *) &StructPwdType);
/* And for b/w compatibility (this was defined by mistake): */
PyModule_AddObject(m, "struct_pwent", (PyObject *) &StructPwdType);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment