Removed all uses of the out-of-favor __safe_for_unpickling__ magic

attr, and copy_reg.safe_constructors.
This commit is contained in:
Tim Peters 2003-02-01 02:16:37 +00:00
parent 371935fc06
commit 1f1b2d2e68
5 changed files with 5 additions and 79 deletions

View file

@ -392,5 +392,4 @@ PyStructSequence_InitType(PyTypeObject *type, PyStructSequence_Desc *desc)
PyInt_FromLong((long) n_members));
PyDict_SetItemString(dict, unnamed_fields_key,
PyInt_FromLong((long) n_unnamed_members));
PyDict_SetItemString(dict, "__safe_for_unpickling__", Py_True);
}