• Home
  • Raw
  • Download

Lines Matching +full:backward +full:- +full:compatibility

24 Shadow password database entries are reported as 9-tuples of type struct_spwd,\n\
42 {"sp_expire", "#days since 1970-01-01 when account expires"},
44 {"sp_nam", "login name; deprecated"}, /* Backward compatibility */
45 {"sp_pwd", "encrypted password; deprecated"}, /* Backward compatibility */
51 This object may be accessed either as a 9-tuple of\n\
91 PyObject *v = PyStructSequence_New(get_spwd_state(module)->StructSpwdType); in mkspent()
98 SETS(setIndex++, p->sp_namp); in mkspent()
99 SETS(setIndex++, p->sp_pwdp); in mkspent()
100 SETI(setIndex++, p->sp_lstchg); in mkspent()
101 SETI(setIndex++, p->sp_min); in mkspent()
102 SETI(setIndex++, p->sp_max); in mkspent()
103 SETI(setIndex++, p->sp_warn); in mkspent()
104 SETI(setIndex++, p->sp_inact); in mkspent()
105 SETI(setIndex++, p->sp_expire); in mkspent()
106 SETI(setIndex++, p->sp_flag); in mkspent()
107 SETS(setIndex++, p->sp_namp); /* Backward compatibility for sp_nam */ in mkspent()
108 SETS(setIndex++, p->sp_pwdp); /* Backward compatibility for sp_pwd */ in mkspent()
148 if (PyBytes_AsStringAndSize(bytes, &name, NULL) == -1) in spwd_getspnam_impl()
215 state->StructSpwdType = PyStructSequence_NewType(&struct_spwd_type_desc); in spwdmodule_exec()
216 if (state->StructSpwdType == NULL) { in spwdmodule_exec()
217 return -1; in spwdmodule_exec()
219 if (PyModule_AddType(module, state->StructSpwdType) < 0) { in spwdmodule_exec()
220 return -1; in spwdmodule_exec()
231 Py_VISIT(get_spwd_state(m)->StructSpwdType); in spwdmodule_traverse()
236 Py_CLEAR(get_spwd_state(m)->StructSpwdType); in spwdmodule_clear()